[clang] [HIP][SPIRV] Enable the SPIRV backend instead of the translator through an experimental flag. (PR #162282)
Alex Voicu via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 10 08:30:48 PDT 2025
================
@@ -0,0 +1,12 @@
+// This test case validates the behavior of -use-experimental-spirv-backend
+
+// Test that -use-experimental-spirv-backend calls clang -cc1 with the SPIRV triple.
----------------
AlexVlx wrote:
We need special handling because we do not invoke the BE in its default state, with its default flags. The vanilla target working "as you would expect" is not quite surprising, given that it's meant to work with said defaults.
https://github.com/llvm/llvm-project/pull/162282
More information about the cfe-commits
mailing list