[llvm] [AArch64] Create set.fpmr intrinsic and assembly lowering (PR #114248)
Paul Walker via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 5 06:18:43 PST 2024
================
@@ -262,7 +262,7 @@ void llvm::addLiveIns(MachineBasicBlock &MBB, const LivePhysRegs &LiveRegs) {
const MachineRegisterInfo &MRI = MF.getRegInfo();
const TargetRegisterInfo &TRI = *MRI.getTargetRegisterInfo();
for (MCPhysReg Reg : LiveRegs) {
- if (MRI.isReserved(Reg))
+ if (TRI.getReservedRegs(MF).test(Reg))
----------------
paulwalker-arm wrote:
Can you explain why this change is required?
https://github.com/llvm/llvm-project/pull/114248
More information about the llvm-commits
mailing list