@@ -40,6 +40,7 @@ class WebAssemblySubtarget final : public WebAssemblyGenSubtargetInfo {
40
40
} SIMDLevel = NoSIMD;
41
41
42
42
bool HasAtomics = false ;
43
+ bool HasBranchHinting = false ;
43
44
bool HasBulkMemory = false ;
44
45
bool HasBulkMemoryOpt = false ;
45
46
bool HasCallIndirectOverlong = false ;
@@ -54,7 +55,6 @@ class WebAssemblySubtarget final : public WebAssemblyGenSubtargetInfo {
54
55
bool HasSignExt = false ;
55
56
bool HasTailCall = false ;
56
57
bool HasWideArithmetic = false ;
57
- bool HasBranchHinting = false ;
58
58
59
59
// / What processor and OS we're targeting.
60
60
Triple TargetTriple;
@@ -97,6 +97,7 @@ class WebAssemblySubtarget final : public WebAssemblyGenSubtargetInfo {
97
97
// Predicates used by WebAssemblyInstrInfo.td.
98
98
bool hasAddr64 () const { return TargetTriple.isArch64Bit (); }
99
99
bool hasAtomics () const { return HasAtomics; }
100
+ bool hasBranchHinting () const { return HasBranchHinting; }
100
101
bool hasBulkMemory () const { return HasBulkMemory; }
101
102
bool hasBulkMemoryOpt () const { return HasBulkMemoryOpt; }
102
103
bool hasCallIndirectOverlong () const { return HasCallIndirectOverlong; }
@@ -113,7 +114,6 @@ class WebAssemblySubtarget final : public WebAssemblyGenSubtargetInfo {
113
114
bool hasSIMD128 () const { return SIMDLevel >= SIMD128; }
114
115
bool hasTailCall () const { return HasTailCall; }
115
116
bool hasWideArithmetic () const { return HasWideArithmetic; }
116
- bool hasBranchHinting () const { return HasBranchHinting; }
117
117
118
118
// / Parses features string setting specified subtarget options. Definition of
119
119
// / function is auto generated by tblgen.
0 commit comments