llvm-project/llvm/lib/CodeGen/GlobalISel
Quentin Colombet 1b01677e61 [RegisterBankInfo] Change the default mapping for Copy and PHI.
Instead of producing a mapping for all the operands, we only generate a
mapping for the definition. Indeed, the other operands are not
constrained by the instruction and thus, we should leave the choice to
the actual definition to do the right thing.

In pratice this is almost NFC, but with one advantage. We will have only
one instance of OperandsMapping for each copy and phi that map to one
register bank instead of one different instance for each different
number of operands for each copy and phi.

llvm-svn: 282756
2016-09-29 19:51:46 +00:00
..
CMakeLists.txt GlobalISel: rework CallLowering so that it can be used for libcalls too. 2016-08-29 19:07:08 +00:00
CallLowering.cpp GlobalISel: produce correct code for signext/zeroext ABI flags. 2016-09-21 12:57:45 +00:00
GlobalISel.cpp [GlobalISel] Introduce an instruction selector. 2016-07-27 14:31:55 +00:00
IRTranslator.cpp GlobalISel: pass Function to lowerFormalArguments directly (NFC). 2016-09-21 12:57:35 +00:00
InstructionSelect.cpp GlobalISel: move type information to MachineRegisterInfo. 2016-09-09 11:46:34 +00:00
InstructionSelector.cpp [AArch64][GlobalISel] Select G_MUL. 2016-08-16 14:37:46 +00:00
LLVMBuild.txt GlobalISel is always built since r260566, reflect it in LLVMBuild.txt 2016-02-12 18:43:14 +00:00
MachineIRBuilder.cpp GlobalISel: handle stack-based parameters on AArch64. 2016-09-22 13:49:25 +00:00
MachineLegalizeHelper.cpp GlobalISel: produce correct code for signext/zeroext ABI flags. 2016-09-21 12:57:45 +00:00
MachineLegalizePass.cpp GlobalISel: move type information to MachineRegisterInfo. 2016-09-09 11:46:34 +00:00
MachineLegalizer.cpp GlobalISel: remove G_TYPE and G_PHI 2016-09-09 11:47:31 +00:00
RegBankSelect.cpp [RegisterBankInfo] Change the default mapping for Copy and PHI. 2016-09-29 19:51:46 +00:00
RegisterBank.cpp [RegisterBank] Mark the dump method with LLVM_DUMP_METHOD. 2016-09-23 17:50:03 +00:00
RegisterBankInfo.cpp [RegisterBankInfo] Change the default mapping for Copy and PHI. 2016-09-29 19:51:46 +00:00