hanchenye-llvm-project/llvm/lib/Target/NVPTX
Michael Liao 6af16fc3b7 Fix PR10475
- ISD::SHL/SRL/SRA must have either both scalar or both vector operands
  but TLI.getShiftAmountTy() so far only return scalar type. As a
  result, backend logic assuming that breaks.
- Rename the original TLI.getShiftAmountTy() to
  TLI.getScalarShiftAmountTy() and re-define TLI.getShiftAmountTy() to
  return target-specificed scalar type or the same vector type as the
  1st operand.
- Fix most TICG logic assuming TLI.getShiftAmountTy() a simple scalar
  type.

llvm-svn: 176364
2013-03-01 18:40:30 +00:00
..
InstPrinter
MCTargetDesc Clean up assignment of CalleeSaveStackSlotSize: get rid of the default and explicitly set this in every target that needs to change it from the default. 2013-01-23 16:22:04 +00:00
TargetInfo Move all of the header files which are involved in modelling the LLVM IR 2013-01-02 11:36:10 +00:00
CMakeLists.txt [NVPTX] Disable vector registers 2013-02-12 14:18:49 +00:00
LLVMBuild.txt
Makefile
ManagedStringPool.h
NVPTX.h [NVPTX] Disable vector registers 2013-02-12 14:18:49 +00:00
NVPTX.td [NVPTX] Add more precise PTX/SM target attributes 2012-11-12 03:16:43 +00:00
NVPTXAllocaHoisting.cpp Move all of the header files which are involved in modelling the LLVM IR 2013-01-02 11:36:10 +00:00
NVPTXAllocaHoisting.h Move all of the header files which are involved in modelling the LLVM IR 2013-01-02 11:36:10 +00:00
NVPTXAsmPrinter.cpp [NVPTX] Disable vector registers 2013-02-12 14:18:49 +00:00
NVPTXAsmPrinter.h Move all of the header files which are involved in modelling the LLVM IR 2013-01-02 11:36:10 +00:00
NVPTXFrameLowering.cpp Move the eliminateCallFramePseudoInstr method from TargetRegisterInfo 2013-02-21 20:05:00 +00:00
NVPTXFrameLowering.h Move the eliminateCallFramePseudoInstr method from TargetRegisterInfo 2013-02-21 20:05:00 +00:00
NVPTXISelDAGToDAG.cpp [NVPTX] Disable vector registers 2013-02-12 14:18:49 +00:00
NVPTXISelDAGToDAG.h [NVPTX] Disable vector registers 2013-02-12 14:18:49 +00:00
NVPTXISelLowering.cpp Update TargetLowering ivars for name policy. 2013-02-20 21:13:59 +00:00
NVPTXISelLowering.h Fix PR10475 2013-03-01 18:40:30 +00:00
NVPTXInstrFormats.td
NVPTXInstrInfo.cpp [NVPTX] Disable vector registers 2013-02-12 14:18:49 +00:00
NVPTXInstrInfo.h
NVPTXInstrInfo.td [NVPTX] Disable vector registers 2013-02-12 14:18:49 +00:00
NVPTXIntrinsics.td [NVPTX] Disable vector registers 2013-02-12 14:18:49 +00:00
NVPTXLowerAggrCopies.cpp Move all of the header files which are involved in modelling the LLVM IR 2013-01-02 11:36:10 +00:00
NVPTXLowerAggrCopies.h Move all of the header files which are involved in modelling the LLVM IR 2013-01-02 11:36:10 +00:00
NVPTXNumRegisters.h
NVPTXRegisterInfo.cpp Move the eliminateCallFramePseudoInstr method from TargetRegisterInfo 2013-02-21 20:05:00 +00:00
NVPTXRegisterInfo.h Move the eliminateCallFramePseudoInstr method from TargetRegisterInfo 2013-02-21 20:05:00 +00:00
NVPTXRegisterInfo.td [NVPTX] Disable vector registers 2013-02-12 14:18:49 +00:00
NVPTXSection.h Move all of the header files which are involved in modelling the LLVM IR 2013-01-02 11:36:10 +00:00
NVPTXSplitBBatBar.cpp Move all of the header files which are involved in modelling the LLVM IR 2013-01-02 11:36:10 +00:00
NVPTXSplitBBatBar.h Sort includes for all of the .h files under the 'lib' tree. These were 2012-12-04 07:12:27 +00:00
NVPTXSubtarget.cpp [NVPTX] Add more precise PTX/SM target attributes 2012-11-12 03:16:43 +00:00
NVPTXSubtarget.h [NVPTX] Disable vector registers 2013-02-12 14:18:49 +00:00
NVPTXTargetMachine.cpp [NVPTX] Disable vector registers 2013-02-12 14:18:49 +00:00
NVPTXTargetMachine.h Switch TargetTransformInfo from an immutable analysis pass that requires 2013-01-07 01:37:14 +00:00
NVPTXTargetObjectFile.h Remove excess semi-colons to quiet warnings. 2012-05-08 20:45:04 +00:00
NVPTXUtilities.cpp Move all of the header files which are involved in modelling the LLVM IR 2013-01-02 11:36:10 +00:00
NVPTXUtilities.h Move all of the header files which are involved in modelling the LLVM IR 2013-01-02 11:36:10 +00:00
NVPTXVector.td
NVPTXutil.cpp Fix warnings in release build. 2012-05-04 22:34:16 +00:00
NVPTXutil.h
cl_common_defines.h