llvm-6502/lib/Target/NVPTX
Michael Liao a6b20ced76 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.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176364 91177308-0d34-0410-b5e6-96231b3b80d8
2013-03-01 18:40:30 +00:00
..
InstPrinter
MCTargetDesc
TargetInfo
cl_common_defines.h
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
NVPTXAllocaHoisting.cpp
NVPTXAllocaHoisting.h
NVPTXAsmPrinter.cpp [NVPTX] Disable vector registers 2013-02-12 14:18:49 +00:00
NVPTXAsmPrinter.h
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
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
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
NVPTXLowerAggrCopies.cpp
NVPTXLowerAggrCopies.h
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
NVPTXSplitBBatBar.cpp
NVPTXSplitBBatBar.h
NVPTXSubtarget.cpp
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
NVPTXTargetObjectFile.h
NVPTXutil.cpp
NVPTXutil.h
NVPTXUtilities.cpp
NVPTXUtilities.h
NVPTXVector.td