[llvm] [NFC][MI] Tidy Up RegState enum use (2/2) (PR #177090)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 20 21:54:38 PST 2026
================
@@ -1430,7 +1430,8 @@ bool AArch64ExpandPseudo::expandMI(MachineBasicBlock &MBB,
if (MF.getSubtarget<AArch64Subtarget>().isTargetILP32()) {
auto TRI = MBB.getParent()->getSubtarget().getRegisterInfo();
unsigned Reg32 = TRI->getSubReg(DstReg, AArch64::sub_32);
- unsigned DstFlags = MI.getOperand(0).getTargetFlags();
+ RegState DstFlags =
----------------
topperc wrote:
This code seems very odd. Are we hiding information in the flags of an implicit register operand?
https://github.com/llvm/llvm-project/pull/177090
More information about the llvm-commits
mailing list