diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-05-03 00:52:09 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-05-03 00:52:09 +0000 |
commit | 22b942aa4df824adbd3f6eaede53abe451f616e9 (patch) | |
tree | 3a83599ec57177f92afe3b5b85963118c13fda8d /lib/VMCore | |
parent | f944c9a19ed5438ea20f20205dfb073d0f00bd9e (diff) | |
download | external_llvm-22b942aa4df824adbd3f6eaede53abe451f616e9.zip external_llvm-22b942aa4df824adbd3f6eaede53abe451f616e9.tar.gz external_llvm-22b942aa4df824adbd3f6eaede53abe451f616e9.tar.bz2 |
Add separate intrinsics for MMX / SSE shifts with i32 integer operands. This allow us to simplify the horribly complicated matching code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50601 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r-- | lib/VMCore/AutoUpgrade.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/AutoUpgrade.cpp b/lib/VMCore/AutoUpgrade.cpp index 2fb0e80..7faff56 100644 --- a/lib/VMCore/AutoUpgrade.cpp +++ b/lib/VMCore/AutoUpgrade.cpp @@ -122,7 +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.compare(13,4,"psrl", 4) == 0) && Name[17] != 'i') { const llvm::Type *VT = VectorType::get(IntegerType::get(64), 1); |