Skip to content

Commit 028061d

Browse files
committedSep 4, 2019
[mir-canon][NFC] Move MIR vreg renaming code to separate file for better reuse.
Moving MIRCanonicalizerPass vreg renaming code to MIRVRegNamerUtils so that it can be reused in another pass (ie planing to write a standalone mir-namer pass). I'm going to write a mir-namer pass so that next time someone has to author a test in MIR, they can use it to cleanup the naming and make it more readable by having the numbered vregs swapped out with named vregs. Differential Revision: https://reviews.llvm.org/D67114 llvm-svn: 370985
1 parent c40449f commit 028061d

File tree

4 files changed

+436
-337
lines changed

4 files changed

+436
-337
lines changed
 

‎llvm/lib/CodeGen/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ add_llvm_library(LLVMCodeGen
121121
RegisterPressure.cpp
122122
RegisterScavenging.cpp
123123
RenameIndependentSubregs.cpp
124+
MIRVRegNamerUtils.cpp
124125
MIRCanonicalizerPass.cpp
125126
RegisterUsageInfo.cpp
126127
RegUsageInfoCollector.cpp

0 commit comments

Comments
 (0)
Please sign in to comment.