llvm-project
b0f2bfc7 - [VPlan] Use correct non-FMF constructor in VPInstructionWithType createNaryOp (#137632)

Commit
157 days ago
[VPlan] Use correct non-FMF constructor in VPInstructionWithType createNaryOp (#137632) Currently if we try to create a VPInstructionWithType without a FMF via VPBuilder::createNaryOp we will use the constructor that asserts `assert(isFPMathOp() && "this op can't take fast-math flags");`. This fixes it by checking if FMFs have a value, similar to the other createNaryOp overloads. This is needed by #129508
Author
Parents
Loading