aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/PTX/PTX.td
diff options
context:
space:
mode:
authorChe-Liang Chiou <clchiou@gmail.com>2011-03-02 07:36:48 +0000
committerChe-Liang Chiou <clchiou@gmail.com>2011-03-02 07:36:48 +0000
commitf48817cbf98472c4007e38ff7dad57126531a6e0 (patch)
tree38fce9a67e8b3d03581fd6aa8cc9b7c64bb46499 /lib/Target/PTX/PTX.td
parent38c4e535493363b96eac47af9e7c056530137bea (diff)
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/PTX.td')
-rw-r--r--lib/Target/PTX/PTX.td3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/PTX/PTX.td b/lib/Target/PTX/PTX.td
index 9f62aa16f8..12febcb13d 100644
--- a/lib/Target/PTX/PTX.td
+++ b/lib/Target/PTX/PTX.td
@@ -24,6 +24,9 @@ include "llvm/Target/Target.td"
def FeatureDouble : SubtargetFeature<"double", "SupportsDouble", "true",
"Do not demote .f64 to .f32">;
+def Feature64Bit : SubtargetFeature<"64bit", "Use64BitAddresses", "true",
+ "Use 64-bit integer types for addresses.">;
+
//===- PTX Version --------------------------------------------------------===//
def FeaturePTX14 : SubtargetFeature<"ptx14", "PTXVersion", "PTX_VERSION_1_4",