[llvm] [VPlan] Use VPInstructionWithType for uniform casts. (PR #140623)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Thu May 29 04:44:12 PDT 2025
================
@@ -1051,7 +1054,8 @@ class VPInstructionWithType : public VPInstruction {
VPInstructionWithType(unsigned Opcode, ArrayRef<VPValue *> Operands,
Type *ResultTy, const VPIRFlags &Flags, DebugLoc DL,
const Twine &Name = "")
- : VPInstruction(Opcode, Operands, Flags, DL, Name), ResultTy(ResultTy) {}
+ : VPInstruction(Opcode, Operands, Flags, DL, Name, true),
----------------
fhahn wrote:
Yep, I think due to them not really being printed at the moment it wasn't really relevant at the moment, but I updated the constructor to take it explicitly.
https://github.com/llvm/llvm-project/pull/140623
More information about the llvm-commits
mailing list