Add a MachineFunction pass, which runs post register allocation, that turns subreg...
authorChristopher Lamb <christopher.lamb@gmail.com>
Thu, 26 Jul 2007 08:18:32 +0000 (08:18 +0000)
committerChristopher Lamb <christopher.lamb@gmail.com>
Thu, 26 Jul 2007 08:18:32 +0000 (08:18 +0000)
commitbab2474b64e81be0ed4fc35d16cdfac65f283361
tree1d40ee8087365cadd4070d9bd6c73984c3bd8a0a
parente24f8f1ec9277dc80ebf38f0d914053f8c31caf1
Add a MachineFunction pass, which runs post register allocation, that turns subreg insert/extract instruction into register copies. This ensures correct code gen if the coalescer isn't able to remove all subreg instructions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40521 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/Passes.h
lib/CodeGen/LLVMTargetMachine.cpp
lib/CodeGen/LowerSubregs.cpp [new file with mode: 0644]