[llvm] AMDGPU/SILowerI1Copies process phi incomings in specific order (PR #72124)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 14 03:16:51 PST 2023
================
@@ -581,10 +587,24 @@ bool SILowerI1Copies::lowerPhis() {
assert(IncomingDef->isPHI() || PhiRegisters.count(IncomingReg));
}
- IncomingBlocks.push_back(IncomingMBB);
- IncomingRegs.push_back(IncomingReg);
+ Incomings.push_back({IncomingReg, IncomingMBB, Register{}});
----------------
jayfoad wrote:
Maybe emplace_back instead?
https://github.com/llvm/llvm-project/pull/72124
More information about the llvm-commits
mailing list