diff options
author | Che-Liang Chiou <clchiou@gmail.com> | 2011-03-02 07:36:48 +0000 |
---|---|---|
committer | Che-Liang Chiou <clchiou@gmail.com> | 2011-03-02 07:36:48 +0000 |
commit | f48817cbf98472c4007e38ff7dad57126531a6e0 (patch) | |
tree | 38fce9a67e8b3d03581fd6aa8cc9b7c64bb46499 /lib/Target/PTX/PTXTargetMachine.h | |
parent | 38c4e535493363b96eac47af9e7c056530137bea (diff) | |
download | external_llvm-f48817cbf98472c4007e38ff7dad57126531a6e0.zip external_llvm-f48817cbf98472c4007e38ff7dad57126531a6e0.tar.gz external_llvm-f48817cbf98472c4007e38ff7dad57126531a6e0.tar.bz2 |
Add 64-bit addressing to PTX backend
- Add '64bit' sub-target option.
- Select 32-bit/64-bit loads/stores based on '64bit' option.
- Fix function parameter order.
Patch by Justin Holewinski
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126837 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PTX/PTXTargetMachine.h')
-rw-r--r-- | lib/Target/PTX/PTXTargetMachine.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/PTX/PTXTargetMachine.h b/lib/Target/PTX/PTXTargetMachine.h index 728e36f..2add713 100644 --- a/lib/Target/PTX/PTXTargetMachine.h +++ b/lib/Target/PTX/PTXTargetMachine.h @@ -25,11 +25,11 @@ namespace llvm { class PTXTargetMachine : public LLVMTargetMachine { private: - const TargetData DataLayout; - PTXFrameLowering FrameLowering; - PTXInstrInfo InstrInfo; + const TargetData DataLayout; + PTXFrameLowering FrameLowering; + PTXInstrInfo InstrInfo; PTXTargetLowering TLInfo; - PTXSubtarget Subtarget; + PTXSubtarget Subtarget; public: PTXTargetMachine(const Target &T, const std::string &TT, |