[llvm] [CodeGen] Minor refactor of CSRSavedLocation struct [nfc] (PR #170721)

Philip Reames via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 4 14:14:06 PST 2025


================
@@ -267,11 +278,11 @@ void CFIInstrInserter::calculateOutgoingCFAInfo(MBBCFAInfo &MBBInfo) {
         break;
       }
       if (CSRReg || CSROffset) {
+        CSRSavedLocation Loc(CSRReg, CSROffset);
         auto It = CSRLocMap.find(CFI.getRegister());
----------------
preames wrote:

See https://github.com/llvm/llvm-project/pull/170760

https://github.com/llvm/llvm-project/pull/170721


More information about the llvm-commits mailing list