mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-03 14:08:57 +00:00
PTX: add PTX 2.3 setting in PTX sub-target.
Patch by Wei-Ren Chen git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131123 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
40a7dbbeff
commit
0d10970789
@ -36,6 +36,8 @@ def SupportsPTX21 : Predicate<"getSubtarget().supportsPTX21()">;
|
||||
def DoesNotSupportPTX21 : Predicate<"!getSubtarget().supportsPTX21()">;
|
||||
def SupportsPTX22 : Predicate<"getSubtarget().supportsPTX22()">;
|
||||
def DoesNotSupportPTX22 : Predicate<"!getSubtarget().supportsPTX22()">;
|
||||
def SupportsPTX23 : Predicate<"getSubtarget().supportsPTX23()">;
|
||||
def DoesNotSupportPTX23 : Predicate<"!getSubtarget().supportsPTX23()">;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Instruction Pattern Stuff
|
||||
|
@ -72,6 +72,8 @@ namespace llvm {
|
||||
|
||||
bool supportsPTX22() const { return PTXVersion >= PTX_VERSION_2_2; }
|
||||
|
||||
bool supportsPTX23() const { return PTXVersion >= PTX_VERSION_2_3; }
|
||||
|
||||
std::string ParseSubtargetFeatures(const std::string &FS,
|
||||
const std::string &CPU);
|
||||
}; // class PTXSubtarget
|
||||
|
Loading…
Reference in New Issue
Block a user