diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-03-21 00:40:09 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-03-21 00:40:09 +0000 |
commit | fa5a91a71ee3c62c6f0bc6cc1388175ad6f925c4 (patch) | |
tree | 1e86c751f791a2775ba7715acb5f2e6f59fa2606 /test/CodeGen/X86/mmx-shift.ll | |
parent | 2197b8092ceac6336f1e8ef8df5278f1d286f372 (diff) | |
download | external_llvm-fa5a91a71ee3c62c6f0bc6cc1388175ad6f925c4.zip external_llvm-fa5a91a71ee3c62c6f0bc6cc1388175ad6f925c4.tar.gz external_llvm-fa5a91a71ee3c62c6f0bc6cc1388175ad6f925c4.tar.bz2 |
Undo 48570. Correctly match mmx shift instructions with an immediate operand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48627 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/mmx-shift.ll')
-rw-r--r-- | test/CodeGen/X86/mmx-shift.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/mmx-shift.ll b/test/CodeGen/X86/mmx-shift.ll index 1ebc043..d68af2d 100644 --- a/test/CodeGen/X86/mmx-shift.ll +++ b/test/CodeGen/X86/mmx-shift.ll @@ -3,12 +3,12 @@ define i64 @t1(<1 x i64> %mm1) nounwind { entry: - %tmp6 = tail call <1 x i64> @llvm.x86.mmx.pslli.q( <1 x i64> %mm1, i32 32 ) ; <<1 x i64>> [#uses=1] + %tmp6 = tail call <1 x i64> @llvm.x86.mmx.psll.q( <1 x i64> %mm1, <1 x i64> <i64 32> ) ; <<1 x i64>> [#uses=1] %retval1112 = bitcast <1 x i64> %tmp6 to i64 ; <i64> [#uses=1] ret i64 %retval1112 } -declare <1 x i64> @llvm.x86.mmx.pslli.q(<1 x i64>, i32) nounwind readnone +declare <1 x i64> @llvm.x86.mmx.psll.q(<1 x i64>, <1 x i64>) nounwind readnone define i64 @t2(<2 x i32> %mm1, <2 x i32> %mm2) nounwind { entry: |