diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-05-17 19:05:31 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-05-17 19:05:31 +0000 |
commit | 4dfa85d1df07b9433c1d583139b2f79b1ccf4fe9 (patch) | |
tree | 4045842215dab4bb1277465a4662c9511dd70ee1 | |
parent | 9d62fa4d162745f8812736473e41764bb0435b42 (diff) |
Another entry
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28356 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/X86/README.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/Target/X86/README.txt b/lib/Target/X86/README.txt index 82acb64e7a..2f844cee41 100644 --- a/lib/Target/X86/README.txt +++ b/lib/Target/X86/README.txt @@ -1171,3 +1171,15 @@ _test: 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 |