Skip to content

Commit 50aed17

Browse files
harshaduntwalesys_zuul
authored andcommitted
Mad round Dependency check
Change-Id: I3e20f6f5afc1752d2a0b455ab747f1312c63b971
1 parent fe8090e commit 50aed17

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

IGC/Compiler/CISACodeGen/DriverInfo.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ class CDriverInfo
256256
virtual bool PreventMadforRound() const { return false; }
257257

258258

259+
259260
};
260261

261262
}//namespace IGC

IGC/Compiler/CISACodeGen/PatternMatchPass.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1808,6 +1808,7 @@ bool CodeGenPatternMatch::MatchMad( llvm::BinaryOperator& I )
18081808
{
18091809
return false;
18101810
}
1811+
18111812
bool preventMadForRound = false;
18121813
if (IGC_IS_FLAG_ENABLED(EnableMadRoundDepCheck) || m_ctx->m_DriverInfo.PreventMadforRound())
18131814
{

0 commit comments

Comments
 (0)