Skip to content

Commit 90e765c

Browse files
Konstantin Vladimirovigcbot
authored andcommitted
Adding includes for string macros
1 parent 1f9dbd1 commit 90e765c

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

IGC/AdaptorOCL/ocl_igc_interface/impl/fcl_ocl_translation_ctx_impl.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2424
2525
======================= end_copyright_notice ==================================*/
2626

27+
#include "common/StringMacros.hpp"
2728
#include "ocl_igc_interface/fcl_ocl_translation_ctx.h"
2829
#include "ocl_igc_interface/impl/fcl_ocl_translation_ctx_impl.h"
2930
#include "ocl_igc_interface/impl/platform_impl.h"

IGC/VectorCompiler/lib/GenXCodeGen/GenXSubtarget.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2929
//===----------------------------------------------------------------------===//
3030

3131
#include "GenXSubtarget.h"
32+
#include "common/StringMacros.hpp"
3233
#include "llvm/CodeGen/MachineFunction.h"
3334
#include "llvm/IR/Attributes.h"
3435
#include "llvm/IR/Function.h"
@@ -83,6 +84,7 @@ void GenXSubtarget::resetSubtargetFeatures(StringRef CPU, StringRef FS) {
8384
.Case("TGLLP", GENX_TGLLP)
8485
.Default(GENX_SKL);
8586

87+
8688
std::string CPUName(CPU);
8789
if (CPUName.empty())
8890
CPUName = "generic";

0 commit comments

Comments
 (0)