[llvm] [LiveRegUnits] Enhanced the register liveness check (PR #66061)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 12 06:21:40 PDT 2023


================
@@ -7909,7 +7909,7 @@ AArch64InstrInfo::getOutlinableRanges(MachineBasicBlock &MBB,
       CreateNewRangeStartingAt(MI.getIterator());
       continue;
     }
-    LRAvailableEverywhere &= LRU.available(AArch64::LR);
----------------
arsenm wrote:

I think the positive is available check is more readable than having to negate most of the uses 

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


More information about the llvm-commits mailing list