[llvm] [VPlan] Populate and use VPIRFlags from initial VPInstruction (NFC) (PR #168450)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 18 03:29:06 PST 2025
================
@@ -255,13 +255,14 @@ void PlainCFGBuilder::createVPInstructionsForVPBB(VPBasicBlock *VPBB,
if (auto *CI = dyn_cast<CastInst>(Inst)) {
NewR = VPIRBuilder.createScalarCast(CI->getOpcode(), VPOperands[0],
CI->getType(), CI->getDebugLoc(),
- {}, MD);
+ VPIRFlags(*CI), MD);
----------------
fhahn wrote:
It should be NFC w.r.t. to the generated IR, but it impacts the debug output. I removed NFC.
https://github.com/llvm/llvm-project/pull/168450
More information about the llvm-commits
mailing list