Changes in directory llvm/lib/Target/X86:
README.txt updated: 1.144 -> 1.145 --- Log message: it would be nice of ctlz were lowered to bsf etc. --- Diffs of the changes: (+9 -0) README.txt | 9 +++++++++ 1 files changed, 9 insertions(+) Index: llvm/lib/Target/X86/README.txt diff -u llvm/lib/Target/X86/README.txt:1.144 llvm/lib/Target/X86/README.txt:1.145 --- llvm/lib/Target/X86/README.txt:1.144 Fri Nov 10 16:03:35 2006 +++ llvm/lib/Target/X86/README.txt Tue Nov 14 02:08:46 2006 @@ -114,6 +114,15 @@ however, check that these are defined for 0 and 32. Our intrinsics are, GCC's aren't. +Another example (use predsimplify to eliminate a select): + +int foo (unsigned long j) { + if (j) + return __builtin_ffs (j) - 1; + else + return 0; +} + //===---------------------------------------------------------------------===// Use push/pop instructions in prolog/epilog sequences instead of stores off _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits