[llvm] [AArch64] Create set.fpmr intrinsic and assembly lowering (PR #114248)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 5 08:21:33 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))
----------------
Lukacma wrote:
No longer required with simple MSR write. Removed.
https://github.com/llvm/llvm-project/pull/114248
More information about the llvm-commits
mailing list