diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-09-25 16:46:00 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-09-25 16:46:00 +0000 |
commit | f152df1e6b39b987602d54a1c7aa2a5cb27bfc5b (patch) | |
tree | 6fb55c6d54c91a91f9edf1bdc893f3ce936dc23c /llvm/lib/CodeGen | |
parent | 9d229f3eb10bb7c7c6dea143af72263640cbea56 (diff) | |
download | bcm5719-llvm-f152df1e6b39b987602d54a1c7aa2a5cb27bfc5b.tar.gz bcm5719-llvm-f152df1e6b39b987602d54a1c7aa2a5cb27bfc5b.zip |
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.
llvm-svn: 140469
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/CMakeLists.txt | 2 | ||||
-rw-r--r-- | llvm/lib/CodeGen/ExpandPostRAPseudos.cpp (renamed from llvm/lib/CodeGen/LowerSubregs.cpp) | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/CMakeLists.txt b/llvm/lib/CodeGen/CMakeLists.txt index 06fc3f32771..bddf16eebbc 100644 --- a/llvm/lib/CodeGen/CMakeLists.txt +++ b/llvm/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/llvm/lib/CodeGen/LowerSubregs.cpp b/llvm/lib/CodeGen/ExpandPostRAPseudos.cpp index 7871ba9c17e..7871ba9c17e 100644 --- a/llvm/lib/CodeGen/LowerSubregs.cpp +++ b/llvm/lib/CodeGen/ExpandPostRAPseudos.cpp |