forked from OSchip/llvm-project
Teach ValueTracking about x86 crc32 intrinsics.
llvm-svn: 131861
This commit is contained in:
parent
7c99f19d9f
commit
2a746bfe36
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue