Skip to content

Commit 363fcef

Browse files
authored
[SYCL][ESIMD] Don't override target triple to genx64 (#13445)
We don't need it anymore and it causes a warning on the new `spirv64` target. I found this working on thinLTO. Signed-off-by: Sarnie, Nick <[email protected]>
1 parent b02b526 commit 363fcef

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

llvm/lib/SYCLLowerIR/ESIMD/LowerESIMD.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1513,12 +1513,6 @@ void generateKernelMetadata(Module &M) {
15131513
LLVMContext &Ctx = M.getContext();
15141514
Type *I32Ty = Type::getInt32Ty(Ctx);
15151515

1516-
std::string TargetTriple = M.getTargetTriple();
1517-
llvm::Triple T(TargetTriple);
1518-
T.setArchName("genx64");
1519-
TargetTriple = T.str();
1520-
M.setTargetTriple(TargetTriple);
1521-
15221516
enum { AK_NORMAL, AK_SAMPLER, AK_SURFACE, AK_VME };
15231517
enum { IK_NORMAL, IK_INPUT, IK_OUTPUT, IK_INPUT_OUTPUT };
15241518

0 commit comments

Comments
 (0)