Skip to content

Commit b9a3c0b

Browse files
maarquitos14jsji
authored andcommitted
[SYCL][SPIRV BE] Disable SPV_KHR_float_controls2 extension.
1 parent f5d8456 commit b9a3c0b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clang/lib/Driver/ToolChains/Clang.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10451,7 +10451,8 @@ static void getSPIRVBackendOpts(const llvm::opt::ArgList &TCArgs,
1045110451
// - the list is stable, and
1045210452
// - we decide on a mapping of user requested extensions into backend's ones.
1045310453
// Meanwhile we enable all the SPIR-V backend extensions.
10454-
BackendArgs.push_back(TCArgs.MakeArgString("--spirv-ext=all"));
10454+
BackendArgs.push_back(
10455+
TCArgs.MakeArgString("--spirv-ext=all,-SPV_KHR_float_controls2"));
1045510456
// TODO:
1045610457
// - handle -Xspirv-translator option to avoid "argument unused during
1045710458
// compilation" error

0 commit comments

Comments
 (0)