[llvm] [VPlan] Separate out logic to manage IR flags to VPIRFlags (NFC). (PR #140621)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Wed May 21 03:51:36 PDT 2025
================
@@ -1113,8 +1074,9 @@ class VPInstructionWithType : public VPInstruction {
VPInstruction *clone() override {
SmallVector<VPValue *, 2> Operands(operands());
- auto *New = new VPInstructionWithType(
- getOpcode(), Operands, getResultType(), getDebugLoc(), getName());
+ auto *New =
+ new VPInstructionWithType(getOpcode(), Operands, getResultType(), *this,
----------------
lukel97 wrote:
I guess we previously forgot to copy over the FMFs? Is it possible to write a test case which shows this?
https://github.com/llvm/llvm-project/pull/140621
More information about the llvm-commits
mailing list