llvm-6502/lib/Target/NVPTX
Chandler Carruth ece6c6bb63 Revert the series of commits starting with r166578 which introduced the
getIntPtrType support for multiple address spaces via a pointer type,
and also introduced a crasher bug in the constant folder reported in
PR14233.

These commits also contained several problems that should really be
addressed before they are re-committed. I have avoided reverting various
cleanups to the DataLayout APIs that are reasonable to have moving
forward in order to reduce the amount of churn, and minimize the number
of commits that were reverted. I've also manually updated merge
conflicts and manually arranged for the getIntPtrType function to stay
in DataLayout and to be defined in a plausible way after this revert.

Thanks to Duncan for working through this exact strategy with me, and
Nick Lewycky for tracking down the really annoying crasher this
triggered. (Test case to follow in its own commit.)

After discussing with Duncan extensively, and based on a note from
Micah, I'm going to continue to back out some more of the more
problematic patches in this series in order to ensure we go into the
LLVM 3.2 branch with a reasonable story here. I'll send a note to
llvmdev explaining what's going on and why.

Summary of reverted revisions:

r166634: Fix a compiler warning with an unused variable.
r166607: Add some cleanup to the DataLayout changes requested by
         Chandler.
r166596: Revert "Back out r166591, not sure why this made it through
         since I cancelled the command. Bleh, sorry about this!
r166591: Delete a directory that wasn't supposed to be checked in yet.
r166578: Add in support for getIntPtrType to get the pointer type based
         on the address space.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167221 91177308-0d34-0410-b5e6-96231b3b80d8
2012-11-01 08:07:29 +00:00
..
InstPrinter
MCTargetDesc
TargetInfo
cl_common_defines.h
CMakeLists.txt llvm/lib: [CMake] Add explicit dependency to intrinsics_gen. 2012-06-24 13:32:01 +00:00
gen-register-defs.py
LLVMBuild.txt
Makefile
ManagedStringPool.h
NVPTX.h Fix header file include order in NVPTX backend NV_CONTRIB 2012-06-05 19:06:13 +00:00
NVPTX.td
NVPTXAllocaHoisting.cpp Fix typos 2012-05-31 17:11:25 +00:00
NVPTXAllocaHoisting.h Move TargetData to DataLayout. 2012-10-08 16:38:25 +00:00
NVPTXAsmPrinter.cpp Revert the series of commits starting with r166578 which introduced the 2012-11-01 08:07:29 +00:00
NVPTXAsmPrinter.h Convert assert(0) to llvm_unreachable. 2012-05-24 07:02:50 +00:00
NVPTXFrameLowering.cpp
NVPTXFrameLowering.h
NVPTXInstrFormats.td
NVPTXInstrInfo.cpp Convert assert(0) to llvm_unreachable. 2012-05-24 07:02:50 +00:00
NVPTXInstrInfo.h
NVPTXInstrInfo.td Fix typos found by http://github.com/lyda/misspell-check 2012-06-02 10:20:22 +00:00
NVPTXIntrinsics.td
NVPTXISelDAGToDAG.cpp NVPTX: Initialize the UseF32FTZ flag. 2012-05-05 11:22:02 +00:00
NVPTXISelDAGToDAG.h
NVPTXISelLowering.cpp Create enums for the different attributes. 2012-10-09 07:45:08 +00:00
NVPTXISelLowering.h Change interface for TargetLowering::LowerCallTo and TargetLowering::LowerCall 2012-05-25 16:35:28 +00:00
NVPTXLowerAggrCopies.cpp Move TargetData to DataLayout. 2012-10-08 16:38:25 +00:00
NVPTXLowerAggrCopies.h Move TargetData to DataLayout. 2012-10-08 16:38:25 +00:00
NVPTXNumRegisters.h
NVPTXRegisterInfo.cpp Round 2 of dead private variable removal. 2012-06-06 19:47:08 +00:00
NVPTXRegisterInfo.h Round 2 of dead private variable removal. 2012-06-06 19:47:08 +00:00
NVPTXRegisterInfo.td Shrink. 2012-05-24 22:17:44 +00:00
NVPTXSection.h Remove extraneous ';'. 2012-05-15 00:41:56 +00:00
NVPTXSplitBBatBar.cpp
NVPTXSplitBBatBar.h
NVPTXSubtarget.cpp
NVPTXSubtarget.h
NVPTXTargetMachine.cpp Implement a basic VectorTargetTransformInfo interface to be used by the loop and bb vectorizers for modeling the cost of instructions. 2012-10-24 17:22:41 +00:00
NVPTXTargetMachine.h Reapply the TargerTransformInfo changes, minus the changes to LSR and Lowerinvoke. 2012-10-18 23:22:48 +00:00
NVPTXTargetObjectFile.h Remove excess semi-colons to quiet warnings. 2012-05-08 20:45:04 +00:00
NVPTXutil.cpp Fix warnings in release build. 2012-05-04 22:34:16 +00:00
NVPTXutil.h
NVPTXUtilities.cpp
NVPTXUtilities.h
NVPTXVector.td
VectorElementize.cpp Convert assert(0) to llvm_unreachable. 2012-05-24 07:02:50 +00:00