summaryrefslogtreecommitdiff
path: root/lib/Transforms/InstCombine
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2013-10-15 05:20:47 +0000
committerCraig Topper <craig.topper@gmail.com>2013-10-15 05:20:47 +0000
commit390ff499f053771cba51a2f42651f126a7e096f7 (patch)
tree555c81227e3a4e97f20796baae36ab727295555d /lib/Transforms/InstCombine
parent51dee24ca6ba63cf021d56ca9cbae62c739d5041 (diff)
downloadllvm-390ff499f053771cba51a2f42651f126a7e096f7.tar.gz
llvm-390ff499f053771cba51a2f42651f126a7e096f7.tar.bz2
llvm-390ff499f053771cba51a2f42651f126a7e096f7.tar.xz
Remove x86_sse42_crc32_64_8 intrinsic. It has no functional difference from x86_sse42_crc32_32_8 and was not mapped to a clang builtin. I'm not even sure why this form of the instruction is even called out explicitly in the docs. Also add AutoUpgrade support to convert it into the other intrinsic with appropriate trunc and zext.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192672 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/InstCombine')
-rw-r--r--lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp b/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
index a2492d87c0..c831ddd3da 100644
--- a/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+++ b/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
@@ -808,7 +808,6 @@ Value *InstCombiner::SimplifyDemandedUseBits(Value *V, APInt DemandedMask,
// TODO: Could compute known zero/one bits based on the input.
break;
}
- case Intrinsic::x86_sse42_crc32_64_8:
case Intrinsic::x86_sse42_crc32_64_64:
KnownZero = APInt::getHighBitsSet(64, 32);
return 0;