From fb96574fca53631bb643307c4f1fa8f808d45fc1 Mon Sep 17 00:00:00 2001 From: Jakob Stoklund Olesen Date: Sun, 25 Sep 2011 16:46:00 +0000 Subject: [PATCH] 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 --- lib/CodeGen/CMakeLists.txt | 2 +- lib/CodeGen/{LowerSubregs.cpp => ExpandPostRAPseudos.cpp} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename lib/CodeGen/{LowerSubregs.cpp => ExpandPostRAPseudos.cpp} (100%) diff --git a/lib/CodeGen/CMakeLists.txt b/lib/CodeGen/CMakeLists.txt index 06fc3f32771..bddf16eebbc 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 similarity index 100% rename from lib/CodeGen/LowerSubregs.cpp rename to lib/CodeGen/ExpandPostRAPseudos.cpp