1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/lib/Target/NVPTX
Matt Arsenault fad94dae85 Start replacing vector_extract/vector_insert with extractelt/insertelt
These are redundant pairs of nodes defined for
INSERT_VECTOR_ELEMENT/EXTRACT_VECTOR_ELEMENT.
insertelement/extractelement are slightly closer to the corresponding
C++ node name, and has stricter type checking so prefer it.

Update targets to only use these nodes where it is trivial to do so.
AArch64, ARM, and Mips all have various type errors on simple replacement,
so they will need work to fix.

Example from AArch64:

def : Pat<(sext_inreg (vector_extract (v16i8 V128:$Rn), VectorIndexB:$idx), i8),
          (i32 (SMOVvi8to32 V128:$Rn, VectorIndexB:$idx))>;

Which is trying to do sext_inreg i8, i8.

llvm-svn: 255359
2015-12-11 19:20:16 +00:00
..
InstPrinter
MCTargetDesc
TargetInfo
cl_common_defines.h
CMakeLists.txt
LLVMBuild.txt
Makefile
ManagedStringPool.h
NVPTX.h [NVPTX] Remove dead code. 2015-10-15 14:45:41 +00:00
NVPTX.td
NVPTXAllocaHoisting.cpp
NVPTXAllocaHoisting.h
NVPTXAsmPrinter.cpp NVPTX: Remove implicit ilist iterator conversions, NFC 2015-10-20 00:54:09 +00:00
NVPTXAsmPrinter.h [NVPTX] Remove dead code. 2015-10-15 14:45:41 +00:00
NVPTXAssignValidGlobalNames.cpp
NVPTXFavorNonGenericAddrSpaces.cpp NVPTX: Remove implicit ilist iterator conversions, NFC 2015-10-20 00:54:09 +00:00
NVPTXFrameLowering.cpp
NVPTXFrameLowering.h
NVPTXGenericToNVVM.cpp Drop code after unreachable. No functionality change. 2015-10-26 09:55:45 +00:00
NVPTXImageOptimizer.cpp
NVPTXInstrFormats.td
NVPTXInstrInfo.cpp [NVPTX] Remove dead code. 2015-10-15 14:45:41 +00:00
NVPTXInstrInfo.h [NVPTX] Remove dead code. 2015-10-15 14:45:41 +00:00
NVPTXInstrInfo.td
NVPTXIntrinsics.td
NVPTXISelDAGToDAG.cpp
NVPTXISelDAGToDAG.h
NVPTXISelLowering.cpp NVPTX: Remove implicit ilist iterator conversions, NFC 2015-10-20 00:54:09 +00:00
NVPTXISelLowering.h [NVPTX] Remove dead code. 2015-10-15 14:45:41 +00:00
NVPTXLowerAggrCopies.cpp NVPTX: Remove implicit ilist iterator conversions, NFC 2015-10-20 00:54:09 +00:00
NVPTXLowerAggrCopies.h
NVPTXLowerAlloca.cpp
NVPTXLowerKernelArgs.cpp NVPTX: Remove implicit ilist iterator conversions, NFC 2015-10-20 00:54:09 +00:00
NVPTXMachineFunctionInfo.h
NVPTXMCExpr.cpp
NVPTXMCExpr.h
NVPTXPeephole.cpp
NVPTXPrologEpilogPass.cpp
NVPTXRegisterInfo.cpp
NVPTXRegisterInfo.h
NVPTXRegisterInfo.td
NVPTXReplaceImageHandles.cpp
NVPTXSection.h
NVPTXSubtarget.cpp
NVPTXSubtarget.h
NVPTXTargetMachine.cpp
NVPTXTargetMachine.h
NVPTXTargetObjectFile.h Stop producing .data.rel sections. 2015-11-18 06:02:15 +00:00
NVPTXTargetTransformInfo.cpp
NVPTXTargetTransformInfo.h
NVPTXUtilities.cpp NVPTX: Remove implicit ilist iterator conversions, NFC 2015-10-20 00:54:09 +00:00
NVPTXUtilities.h [NVPTX] Remove dead code. 2015-10-15 14:45:41 +00:00
NVPTXVector.td Start replacing vector_extract/vector_insert with extractelt/insertelt 2015-12-11 19:20:16 +00:00
NVVMReflect.cpp