diff options
| author | Dan Gohman <gohman@apple.com> | 2010-06-24 14:30:44 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2010-06-24 14:30:44 +0000 |
| commit | 4e39e9da0f3a435445261d0f796bb0913f3c2bf0 (patch) | |
| tree | fccb6245a29b6688746f45b64362635721ce1f15 /test/CodeGen | |
| parent | fef8c4eb54b585b5a299910ccf5a8479f4982243 (diff) | |
| download | llvm-4e39e9da0f3a435445261d0f796bb0913f3c2bf0.tar.gz llvm-4e39e9da0f3a435445261d0f796bb0913f3c2bf0.tar.bz2 llvm-4e39e9da0f3a435445261d0f796bb0913f3c2bf0.tar.xz | |
Reapply r106634, now that the bug it exposed is fixed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106746 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
| -rw-r--r-- | test/CodeGen/X86/shift-folding.ll | 5 | ||||
| -rw-r--r-- | test/CodeGen/X86/store-narrow.ll | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/test/CodeGen/X86/shift-folding.ll b/test/CodeGen/X86/shift-folding.ll index 872817fd49..48ca36ca98 100644 --- a/test/CodeGen/X86/shift-folding.ll +++ b/test/CodeGen/X86/shift-folding.ll @@ -21,3 +21,8 @@ define i32* @test3(i32* %P, i32 %X) { ret i32* %P2 } +define fastcc i32 @test4(i32* %d) nounwind { + %tmp4 = load i32* %d + %tmp512 = lshr i32 %tmp4, 24 + ret i32 %tmp512 +} diff --git a/test/CodeGen/X86/store-narrow.ll b/test/CodeGen/X86/store-narrow.ll index b1100fa960..5682e7caf8 100644 --- a/test/CodeGen/X86/store-narrow.ll +++ b/test/CodeGen/X86/store-narrow.ll @@ -67,7 +67,7 @@ entry: ; X64: movw %si, 2(%rdi) ; X32: test4: -; X32: movzwl 8(%esp), %eax +; X32: movl 8(%esp), %eax ; X32: movw %ax, 2(%{{.*}}) } |
