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 | 92b4488202ac9f758ea887315e3a1303060e1e94 (patch) | |
tree | 51ef79a7376aa543cd118ceff5c600413360ccdd /llvm/lib/VMCore/AutoUpgrade.cpp | |
parent | 29b20edfd6092b3e04a95217be290bf03e6fbd7b (diff) | |
download | bcm5719-llvm-92b4488202ac9f758ea887315e3a1303060e1e94.tar.gz bcm5719-llvm-92b4488202ac9f758ea887315e3a1303060e1e94.zip |
Undo 48570. Correctly match mmx shift instructions with an immediate operand.
llvm-svn: 48627
Diffstat (limited to 'llvm/lib/VMCore/AutoUpgrade.cpp')
-rw-r--r-- | llvm/lib/VMCore/AutoUpgrade.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/VMCore/AutoUpgrade.cpp b/llvm/lib/VMCore/AutoUpgrade.cpp index a46138a612b..343a4b6431b 100644 --- a/llvm/lib/VMCore/AutoUpgrade.cpp +++ b/llvm/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); |