mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 07:31:28 +00:00
parent
04b1276ad3
commit
74f4daef04
@ -1424,7 +1424,7 @@ bool EarlyCSE::processNode(DomTreeNode *Node) {
|
||||
|
||||
// If this is a simple instruction that we can value number, process it.
|
||||
if (SimpleValue::canHandle(&Inst)) {
|
||||
if (auto *CI = dyn_cast<ConstrainedFPIntrinsic>(&Inst)) {
|
||||
if ([[maybe_unused]] auto *CI = dyn_cast<ConstrainedFPIntrinsic>(&Inst)) {
|
||||
assert(CI->getExceptionBehavior() != fp::ebStrict &&
|
||||
"Unexpected ebStrict from SimpleValue::canHandle()");
|
||||
assert((!CI->getRoundingMode() ||
|
||||
|
@ -730,7 +730,8 @@ bool ScalarizerVisitor::splitCall(CallInst &CI) {
|
||||
// vector type, which is true for all current intrinsics.
|
||||
for (unsigned I = 0; I != NumArgs; ++I) {
|
||||
Value *OpI = CI.getOperand(I);
|
||||
if (auto *OpVecTy = dyn_cast<FixedVectorType>(OpI->getType())) {
|
||||
if ([[maybe_unused]] auto *OpVecTy =
|
||||
dyn_cast<FixedVectorType>(OpI->getType())) {
|
||||
assert(OpVecTy->getNumElements() == VS->VecTy->getNumElements());
|
||||
std::optional<VectorSplit> OpVS = getVectorSplit(OpI->getType());
|
||||
if (!OpVS || OpVS->NumPacked != VS->NumPacked) {
|
||||
|
Loading…
Reference in New Issue
Block a user