Reapply r143177 and r143179 (reverting r143188), with scheduler
fixes: Use a separate register, instead of SP, as the calling-convention resource, to avoid spurious conflicts with actual uses of SP. Also, fix unscheduling of calling sequences, which can be triggered by pseudo-two-address dependencies. llvm-svn: 143206
Showing
- llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp 257 additions, 515 deletionsllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
- llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp 0 additions, 1 deletionllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
- llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp 163 additions, 2 deletionsllvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp 16 additions, 0 deletionsllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
- llvm/lib/Target/ARM/ARMISelLowering.cpp 16 additions, 3 deletionsllvm/lib/Target/ARM/ARMISelLowering.cpp
- llvm/lib/Target/X86/X86ISelDAGToDAG.cpp 3 additions, 1 deletionllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
- llvm/lib/Target/X86/X86ISelLowering.cpp 184 additions, 10 deletionsllvm/lib/Target/X86/X86ISelLowering.cpp
- llvm/lib/Target/XCore/XCoreISelLowering.cpp 9 additions, 0 deletionsllvm/lib/Target/XCore/XCoreISelLowering.cpp
- llvm/test/CodeGen/CellSPU/and_ops.ll 3 additions, 0 deletionsllvm/test/CodeGen/CellSPU/and_ops.ll
- llvm/test/CodeGen/CellSPU/call_indirect.ll 3 additions, 0 deletionsllvm/test/CodeGen/CellSPU/call_indirect.ll
- llvm/test/CodeGen/CellSPU/nand.ll 4 additions, 0 deletionsllvm/test/CodeGen/CellSPU/nand.ll
- llvm/test/CodeGen/CellSPU/or_ops.ll 3 additions, 0 deletionsllvm/test/CodeGen/CellSPU/or_ops.ll
- llvm/test/CodeGen/CellSPU/select_bits.ll 3 additions, 0 deletionsllvm/test/CodeGen/CellSPU/select_bits.ll
- llvm/test/CodeGen/CellSPU/struct_1.ll 3 additions, 0 deletionsllvm/test/CodeGen/CellSPU/struct_1.ll
- llvm/test/CodeGen/Mips/cprestore.ll 1 addition, 5 deletionsllvm/test/CodeGen/Mips/cprestore.ll
- llvm/test/CodeGen/Mips/largeimmprinting.ll 1 addition, 5 deletionsllvm/test/CodeGen/Mips/largeimmprinting.ll
- llvm/test/CodeGen/Thumb/2011-05-11-DAGLegalizer.ll 1 addition, 5 deletionsllvm/test/CodeGen/Thumb/2011-05-11-DAGLegalizer.ll
- llvm/test/CodeGen/X86/legalize-libcalls.ll 19 additions, 0 deletionsllvm/test/CodeGen/X86/legalize-libcalls.ll
- llvm/test/CodeGen/X86/sse3.ll 10 additions, 14 deletionsllvm/test/CodeGen/X86/sse3.ll
Loading
Please register or sign in to comment