File tree Expand file tree Collapse file tree 3 files changed +2
-26
lines changed Expand file tree Collapse file tree 3 files changed +2
-26
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ namespace TC
38
38
bool enableVISAPreRAScheduler () const override { return true ; }
39
39
40
40
bool NeedWAToTransformA32MessagesToA64 () const override { return true ; }
41
- bool WALoadStorePatternMatch () const override { return true ; }
42
41
bool WADisableCustomPass () const override { return true ; }
43
42
bool WAEnableMemOpt2ForOCL () const override { return true ; }
44
43
Original file line number Diff line number Diff line change @@ -211,9 +211,6 @@ namespace IGC
211
211
// / disable mad in Vertex shader to avoid ZFigthing issues
212
212
virtual bool DisabeMatchMad () const { return false ; }
213
213
214
- // / WA bug in load store pattern match, needs to be cleaned up
215
- virtual bool WALoadStorePatternMatch () const { return false ; }
216
-
217
214
// / Some FE sends SLM pointers in DWORD units
218
215
virtual bool WASLMPointersDwordUnit () const { return false ; }
219
216
Original file line number Diff line number Diff line change @@ -1235,33 +1235,13 @@ namespace IGC
1235
1235
1236
1236
void CodeGenPatternMatch::visitStoreInst (StoreInst& I)
1237
1237
{
1238
- bool match = false ;
1239
- // we try to fold some pointer values in GFX path, not OCL path
1240
- if (m_ctx->m_DriverInfo .WALoadStorePatternMatch ())
1241
- {
1242
- match = MatchSingleInstruction (I);
1243
- }
1244
- else
1245
- {
1246
- match = MatchLoadStorePointer (I, *(I.getPointerOperand ())) ||
1247
- MatchSingleInstruction (I);
1248
- }
1238
+ bool match = MatchSingleInstruction (I);
1249
1239
IGC_ASSERT (match);
1250
1240
}
1251
1241
1252
1242
void CodeGenPatternMatch::visitLoadInst (LoadInst& I)
1253
1243
{
1254
- bool match = false ;
1255
- // we try to fold some pointer values in GFX path, not OCL path
1256
- if (m_ctx->m_DriverInfo .WALoadStorePatternMatch ())
1257
- {
1258
- match = MatchSingleInstruction (I);
1259
- }
1260
- else
1261
- {
1262
- match = MatchLoadStorePointer (I, *(I.getPointerOperand ())) ||
1263
- MatchSingleInstruction (I);
1264
- }
1244
+ bool match = MatchSingleInstruction (I);
1265
1245
IGC_ASSERT (match);
1266
1246
}
1267
1247
You can’t perform that action at this time.
0 commit comments