Changes in directory llvm/lib/Target/X86:
README.txt updated: 1.104 -> 1.105 --- Log message: Another entry --- Diffs of the changes: (+12 -0) README.txt | 12 ++++++++++++ 1 files changed, 12 insertions(+) Index: llvm/lib/Target/X86/README.txt diff -u llvm/lib/Target/X86/README.txt:1.104 llvm/lib/Target/X86/README.txt:1.105 --- llvm/lib/Target/X86/README.txt:1.104 Tue May 9 01:54:05 2006 +++ llvm/lib/Target/X86/README.txt Wed May 17 14:05:31 2006 @@ -1171,3 +1171,15 @@ ret or use pxor (to make a zero vector) and shuffle (to insert it). + +//===---------------------------------------------------------------------===// + +Bad codegen: + +char foo(int x) { return x; } + +_foo: + movl 4(%esp), %eax + shll $24, %eax + sarl $24, %eax + ret _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits