We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9ab434 commit 0b09326Copy full SHA for 0b09326
llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
@@ -1459,8 +1459,7 @@ InstCombinerImpl::foldShuffledIntrinsicOperands(IntrinsicInst *II) {
1459
/// If all arguments of the intrinsic are reverses, try to pull the reverse
1460
/// after the intrinsic.
1461
Value *InstCombinerImpl::foldReversedIntrinsicOperands(IntrinsicInst *II) {
1462
- if (!isTriviallyVectorizable(II->getIntrinsicID()) ||
1463
- !II->getCalledFunction()->isSpeculatable())
+ if (!isTriviallyVectorizable(II->getIntrinsicID()))
1464
return nullptr;
1465
1466
// At least 1 operand must be a reverse with 1 use because we are creating 2
0 commit comments