Skip to content

Commit a24431d

Browse files
trbauerigcbot
authored andcommitted
Internal refactor
Internal refactor
1 parent c3ebe82 commit a24431d

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

visa/iga/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
# ROOT
1010
cmake_minimum_required(VERSION 2.8)
1111

12+
if (NOT IGC_BUILD)
13+
enable_testing()
14+
endif()
15+
1216
project(IGA)
1317

1418
include (BuildSetup.cmake)

visa/iga/IGALibrary/Frontend/Formatter.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ class Formatter : public BasicFormatter
269269
}
270270
formatPrefixComment(i, currInstBits);
271271

272-
const bool isSend = i.getOpSpec().isSendOrSendsFamily();
272+
const bool isSend = i.is(Op::SEND); // not for sendc
273273
if (isSend) {
274274
bool sendPrinted = false;
275275
if (platform() >= Platform::XE_HPG && opts.printLdSt) {
@@ -1292,7 +1292,6 @@ void Formatter::formatInstOpts(
12921292
} // end formatInstOpts
12931293

12941294
bool Formatter::formatLoadStoreSyntax(const Instruction& i) {
1295-
// TODO: relax this, but ensure nothing breaks
12961295
if (platform() < Platform::XE_HPG) {
12971296
// We will not even try on <=XeHPG
12981297
return false;

0 commit comments

Comments
 (0)