Teach ValueTracking about x86 crc32 intrinsics.

llvm-svn: 131861
This commit is contained in:
Evan Cheng 2011-05-22 18:25:30 +00:00
parent 7c99f19d9f
commit 2a746bfe36
1 changed files with 4 additions and 0 deletions

View File

@ -670,6 +670,10 @@ void llvm::ComputeMaskedBits(Value *V, const APInt &Mask,
KnownZero = APInt::getHighBitsSet(BitWidth, BitWidth - LowBits);
break;
}
case Intrinsic::x86_sse42_crc64_8:
case Intrinsic::x86_sse42_crc64_64:
KnownZero = APInt::getHighBitsSet(64, 32);
break;
}
}
break;