llvmbot wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-llvm-regalloc

Author: Vikram Hegde (vikramRH)

<details>
<summary>Changes</summary>

matches legacy. tests such as "CodeGen/AMDGPU/liveness.mir" and 
"CodeGen/AMDGPU/phys-partial-liveness.mir" use this.

---
Full diff: https://github.com/llvm/llvm-project/pull/173488.diff


1 Files Affected:

- (modified) llvm/lib/CodeGen/LiveIntervals.cpp (+4-2) 


``````````diff
diff --git a/llvm/lib/CodeGen/LiveIntervals.cpp 
b/llvm/lib/CodeGen/LiveIntervals.cpp
index 2e8756565c8f7..48fdb8c06a820 100644
--- a/llvm/lib/CodeGen/LiveIntervals.cpp
+++ b/llvm/lib/CodeGen/LiveIntervals.cpp
@@ -64,8 +64,10 @@ AnalysisKey LiveIntervalsAnalysis::Key;
 LiveIntervalsAnalysis::Result
 LiveIntervalsAnalysis::run(MachineFunction &MF,
                            MachineFunctionAnalysisManager &MFAM) {
-  return Result(MF, MFAM.getResult<SlotIndexesAnalysis>(MF),
-                MFAM.getResult<MachineDominatorTreeAnalysis>(MF));
+  auto Res = Result(MF, MFAM.getResult<SlotIndexesAnalysis>(MF),
+                    MFAM.getResult<MachineDominatorTreeAnalysis>(MF));
+  LLVM_DEBUG(Res.dump());
+  return Res;
 }
 
 PreservedAnalyses

``````````

</details>


https://github.com/llvm/llvm-project/pull/173488
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to