File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2323,7 +2323,7 @@ void EmitPass::emitVMESendSIC2(GenIntrinsicInst* inst)
23232323 // when either fwdRefImg or bwdRefImg is presented.
23242324 if (srcImgBTI->GetImmediateValue() != fwdRefImgBTI->GetImmediateValue())
23252325 {
2326- IGC_ASSERT_MESSAGE(srcImgBTI->GetImmediateValue() + 1 == fwdRefImgBTI->GetImmediateValue(),& "srcImg BTI and refImg BTI are not consecutive!");
2326+ IGC_ASSERT_MESSAGE(srcImgBTI->GetImmediateValue() + 1 == fwdRefImgBTI->GetImmediateValue(), "srcImg BTI and refImg BTI are not consecutive!");
23272327
23282328 if (fwdRefImgBTI->GetImmediateValue() != bwdRefImgBTI->GetImmediateValue())
23292329 {
Original file line number Diff line number Diff line change @@ -33,6 +33,8 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
3333
3434#define IGC_ASSERT assert
3535
36+ #define IGC_ASSERT_MESSAGE (x , m ) IGC_ASSERT(x)
37+
3638#define IGC_ASSERT_EXIT (x ) \
3739 do \
3840 { \
@@ -43,9 +45,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
4345 } \
4446 } while(0)
4547
48+ #define IGC_ASSERT_EXIT_MESSAGE (x , m ) IGC_ASSERT_EXIT(x)
4649
47- #define IGC_ASSERT_MESSAGE (x , m ) IGC_ASSERT((x) && (m))
48-
49- #define IGC_ASSERT_EXIT_MESSAGE (x , m ) IGC_ASSERT_EXIT((x) && (m))
5050
5151#endif // IGC_PROBE_ASSERTION_H
You can’t perform that action at this time.
0 commit comments