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/X86/shift-folding.ll | |
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/X86/shift-folding.ll')
-rw-r--r-- | test/CodeGen/X86/shift-folding.ll | 5 |
1 files changed, 5 insertions, 0 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 +} |