Changes in directory llvm/lib/Target/X86:
README.txt updated: 1.16 -> 1.17 --- Log message: Add a missed optimization --- 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.16 llvm/lib/Target/X86/README.txt:1.17 --- llvm/lib/Target/X86/README.txt:1.16 Sun Oct 23 16:45:00 2005 +++ llvm/lib/Target/X86/README.txt Sun Nov 27 22:52:39 2005 @@ -73,3 +73,12 @@ Should support emission of the bswap instruction, probably by adding a new DAG node for byte swapping. Also useful on PPC which has byte-swapping loads. +//===---------------------------------------------------------------------===// + +Compile this: +_Bool f(_Bool a) { return a!=1; } + +into: + movzbl %dil, %eax + xorl $1, %eax + ret _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits