File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -81,10 +81,12 @@ class NVPTXSubtarget : public NVPTXGenSubtargetInfo {
81
81
bool hasFMAF32 () const { return SmVersion >= 20 ; }
82
82
bool hasFMAF64 () const { return SmVersion >= 13 ; }
83
83
bool hasLDG () const { return SmVersion >= 32 ; }
84
- bool hasLDU () const { return SmVersion >= 20 ; }
84
+ bool hasLDU () const { return (( SmVersion >= 20 ) && (SmVersion < 30 )) ; }
85
85
bool hasGenericLdSt () const { return SmVersion >= 20 ; }
86
- inline bool hasHWROT32 () const { return false ; }
87
- inline bool hasSWROT32 () const { return true ; }
86
+ inline bool hasHWROT32 () const { return SmVersion >= 32 ; }
87
+ inline bool hasSWROT32 () const {
88
+ return ((SmVersion >= 20 ) && (SmVersion < 32 ));
89
+ }
88
90
inline bool hasROT32 () const { return hasHWROT32 () || hasSWROT32 (); }
89
91
inline bool hasROT64 () const { return SmVersion >= 20 ; }
90
92
You can’t perform that action at this time.
0 commit comments