[llvm] AMDGPU: Use LiveIntervals in SIOptimizeVGPRLiveRange when available (PR #222385)

Carl Ritson via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 15 04:55:01 PDT 2026


================
@@ -713,7 +709,6 @@ SIOptimizeVGPRLiveRangePass::run(MachineFunction &MF,
 
   auto PA = getMachineFunctionPassPreservedAnalyses();
   PA.preserve<LiveIntervalsAnalysis>();
-  PA.preserve<LiveVariablesAnalysis>();
----------------
perlfu wrote:

This could be conditional? `if (!LIS) ...`

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


More information about the llvm-commits mailing list