[llvm] [CodeGen] Add MachineRegisterClassInfo analysis pass (PR #120690)

Pengcheng Wang via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 13 00:49:42 PST 2025


================
@@ -345,9 +347,11 @@
 ; GCN-O1-NEXT:        Slot index numbering
 ; GCN-O1-NEXT:        Live Interval Analysis
 ; GCN-O1-NEXT:        Machine Natural Loop Construction
+; GCN-O1-NEXT:        Machine Register Class Info Analysis
 ; GCN-O1-NEXT:        Register Coalescer
 ; GCN-O1-NEXT:        Rename Disconnected Subregister Components
 ; GCN-O1-NEXT:        Rewrite Partial Register Uses
+; GCN-O1-NEXT:        Machine Register Class Info Analysis
----------------
wangpc-pp wrote:

And also other passes like `Machine Block Frequency Analysis` will be re-computed several times even if they are untouched.
I am not familiar with pass manager but it seems to be not intuitive.

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


More information about the llvm-commits mailing list