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 /lib/VMCore/AutoUpgrade.cpp | |
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 'lib/VMCore/AutoUpgrade.cpp')
-rw-r--r-- | lib/VMCore/AutoUpgrade.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/VMCore/AutoUpgrade.cpp b/lib/VMCore/AutoUpgrade.cpp index a46138a..343a4b6 100644 --- a/lib/VMCore/AutoUpgrade.cpp +++ b/lib/VMCore/AutoUpgrade.cpp @@ -122,8 +122,7 @@ static bool UpgradeIntrinsicFunction1(Function *F, Function *&NewFn) { if (Name.compare(5,10,"x86.mmx.ps",10) == 0 && (Name.compare(13,4,"psll", 4) == 0 || Name.compare(13,4,"psra", 4) == 0 || - Name.compare(13,4,"psrl", 4) == 0) && - Name[17] != 'i') { + Name.compare(13,4,"psrl", 4) == 0)) { const llvm::Type *VT = VectorType::get(IntegerType::get(64), 1); |