aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-09-25 16:46:00 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-09-25 16:46:00 +0000
commitfb96574fca53631bb643307c4f1fa8f808d45fc1 (patch)
tree47ab17fa36a73430f721982d570e01de53d174cb
parentdd16400033f369a790c4b5384e7117f3cba1d1ae (diff)
downloadexternal_llvm-fb96574fca53631bb643307c4f1fa8f808d45fc1.zip
external_llvm-fb96574fca53631bb643307c4f1fa8f808d45fc1.tar.gz
external_llvm-fb96574fca53631bb643307c4f1fa8f808d45fc1.tar.bz2
Rename LowerSubregs to ExpandPostRAPseudos.
I'll fix the file contents in the next commit. This pass is currently expanding the COPY and SUBREG_TO_REG pseudos. I am going to add a hook so targets can expand more pseudo-instructions after register allocation. Many targets have pseudo-instructions that assist the register allocator. They can be expanded after register allocation, before PEI and PostRA scheduling. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140469 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/CMakeLists.txt2
-rw-r--r--lib/CodeGen/ExpandPostRAPseudos.cpp (renamed from lib/CodeGen/LowerSubregs.cpp)0
2 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CMakeLists.txt b/lib/CodeGen/CMakeLists.txt
index 06fc3f3..bddf16e 100644
--- a/lib/CodeGen/CMakeLists.txt
+++ b/lib/CodeGen/CMakeLists.txt
@@ -14,6 +14,7 @@ add_llvm_library(LLVMCodeGen
ELFCodeEmitter.cpp
ELFWriter.cpp
ExpandISelPseudos.cpp
+ ExpandPostRAPseudos.cpp
GCMetadata.cpp
GCMetadataPrinter.cpp
GCStrategy.cpp
@@ -33,7 +34,6 @@ add_llvm_library(LLVMCodeGen
LiveRangeCalc.cpp
LiveRangeEdit.cpp
LocalStackSlotAllocation.cpp
- LowerSubregs.cpp
MachineBasicBlock.cpp
MachineBlockFrequencyInfo.cpp
MachineBranchProbabilityInfo.cpp
diff --git a/lib/CodeGen/LowerSubregs.cpp b/lib/CodeGen/ExpandPostRAPseudos.cpp
index 7871ba9..7871ba9 100644
--- a/lib/CodeGen/LowerSubregs.cpp
+++ b/lib/CodeGen/ExpandPostRAPseudos.cpp