@@ -114,13 +114,13 @@ def NotifyPatOffsetOnly_A64 :
114
114
Requires<[HasAddr64, HasAtomics]>;
115
115
116
116
def NotifyPatGlobalAddrOffOnly_A32 :
117
- Pat<(i32 (int_wasm_memory_atomic_notify (WebAssemblywrapper tglobaladdr:$off),
117
+ Pat<(i32 (int_wasm_memory_atomic_notify (WebAssemblyWrapper tglobaladdr:$off),
118
118
I32:$count)),
119
119
(MEMORY_ATOMIC_NOTIFY_A32 0, tglobaladdr:$off, (CONST_I32 0), I32:$count)
120
120
>,
121
121
Requires<[HasAddr32, HasAtomics, IsNotPIC]>;
122
122
def NotifyPatGlobalAddrOffOnly_A64 :
123
- Pat<(i32 (int_wasm_memory_atomic_notify (WebAssemblywrapper tglobaladdr:$off),
123
+ Pat<(i32 (int_wasm_memory_atomic_notify (WebAssemblyWrapper tglobaladdr:$off),
124
124
I32:$count)),
125
125
(MEMORY_ATOMIC_NOTIFY_A64 0, tglobaladdr:$off, (CONST_I64 0), I32:$count)
126
126
>,
@@ -185,12 +185,12 @@ defm : WaitPatOffsetOnly<i64, int_wasm_memory_atomic_wait64,
185
185
"MEMORY_ATOMIC_WAIT64">;
186
186
187
187
multiclass WaitPatGlobalAddrOffOnly<ValueType ty, Intrinsic kind, string inst> {
188
- def : Pat<(i32 (kind (WebAssemblywrapper tglobaladdr:$off), ty:$exp,
188
+ def : Pat<(i32 (kind (WebAssemblyWrapper tglobaladdr:$off), ty:$exp,
189
189
I64:$timeout)),
190
190
(!cast<NI>(inst#_A32) 0, tglobaladdr:$off, (CONST_I32 0), ty:$exp,
191
191
I64:$timeout)>,
192
192
Requires<[HasAddr32, HasAtomics, IsNotPIC]>;
193
- def : Pat<(i32 (kind (WebAssemblywrapper tglobaladdr:$off), ty:$exp,
193
+ def : Pat<(i32 (kind (WebAssemblyWrapper tglobaladdr:$off), ty:$exp,
194
194
I64:$timeout)),
195
195
(!cast<NI>(inst#_A64) 0, tglobaladdr:$off, (CONST_I64 0), ty:$exp,
196
196
I64:$timeout)>,
@@ -390,10 +390,10 @@ defm : AStorePatOffsetOnly<i32, atomic_store_32, "ATOMIC_STORE_I32">;
390
390
defm : AStorePatOffsetOnly<i64, atomic_store_64, "ATOMIC_STORE_I64">;
391
391
392
392
multiclass AStorePatGlobalAddrOffOnly<ValueType ty, PatFrag kind, string inst> {
393
- def : Pat<(kind (WebAssemblywrapper tglobaladdr:$off), ty:$val),
393
+ def : Pat<(kind (WebAssemblyWrapper tglobaladdr:$off), ty:$val),
394
394
(!cast<NI>(inst#_A32) 0, tglobaladdr:$off, (CONST_I32 0), ty:$val)>,
395
395
Requires<[HasAddr32, HasAtomics, IsNotPIC]>;
396
- def : Pat<(kind (WebAssemblywrapper tglobaladdr:$off), ty:$val),
396
+ def : Pat<(kind (WebAssemblyWrapper tglobaladdr:$off), ty:$val),
397
397
(!cast<NI>(inst#_A64) 0, tglobaladdr:$off, (CONST_I64 0), ty:$val)>,
398
398
Requires<[HasAddr64, HasAtomics, IsNotPIC]>;
399
399
}
@@ -592,10 +592,10 @@ multiclass BinRMWPatOffsetOnly<ValueType ty, PatFrag kind, string inst> {
592
592
}
593
593
594
594
multiclass BinRMWPatGlobalAddrOffOnly<ValueType ty, PatFrag kind, string inst> {
595
- def : Pat<(ty (kind (WebAssemblywrapper tglobaladdr:$off), ty:$val)),
595
+ def : Pat<(ty (kind (WebAssemblyWrapper tglobaladdr:$off), ty:$val)),
596
596
(!cast<NI>(inst#_A32) 0, tglobaladdr:$off, (CONST_I32 0), ty:$val)>,
597
597
Requires<[HasAddr32, HasAtomics, IsNotPIC]>;
598
- def : Pat<(ty (kind (WebAssemblywrapper tglobaladdr:$off), ty:$val)),
598
+ def : Pat<(ty (kind (WebAssemblyWrapper tglobaladdr:$off), ty:$val)),
599
599
(!cast<NI>(inst#_A64) 0, tglobaladdr:$off, (CONST_I64 0), ty:$val)>,
600
600
Requires<[HasAddr64, HasAtomics, IsNotPIC]>;
601
601
}
@@ -826,11 +826,11 @@ multiclass TerRMWPatOffsetOnly<ValueType ty, PatFrag kind, string inst> {
826
826
}
827
827
828
828
multiclass TerRMWPatGlobalAddrOffOnly<ValueType ty, PatFrag kind, string inst> {
829
- def : Pat<(ty (kind (WebAssemblywrapper tglobaladdr:$off), ty:$exp, ty:$new)),
829
+ def : Pat<(ty (kind (WebAssemblyWrapper tglobaladdr:$off), ty:$exp, ty:$new)),
830
830
(!cast<NI>(inst#_A32) 0, tglobaladdr:$off, (CONST_I32 0), ty:$exp,
831
831
ty:$new)>,
832
832
Requires<[HasAddr32, HasAtomics, IsNotPIC]>;
833
- def : Pat<(ty (kind (WebAssemblywrapper tglobaladdr:$off), ty:$exp, ty:$new)),
833
+ def : Pat<(ty (kind (WebAssemblyWrapper tglobaladdr:$off), ty:$exp, ty:$new)),
834
834
(!cast<NI>(inst#_A64) 0, tglobaladdr:$off, (CONST_I64 0), ty:$exp,
835
835
ty:$new)>,
836
836
Requires<[HasAddr64, HasAtomics, IsNotPIC]>;
0 commit comments