[clang] [HIP][SPIRV] Enable the SPIRV backend instead of the translator through an experimental flag. (PR #162282)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 10 08:25:59 PDT 2025


================
@@ -1421,6 +1421,16 @@ def fhip_emit_relocatable : Flag<["-"], "fhip-emit-relocatable">,
   HelpText<"Compile HIP source to relocatable">;
 def fno_hip_emit_relocatable : Flag<["-"], "fno-hip-emit-relocatable">,
   HelpText<"Do not override toolchain to compile HIP source to relocatable">;
+def use_experimental_spirv_backend
----------------
jhuber6 wrote:

There should be a `defm` helper for `no` variants right?

https://github.com/llvm/llvm-project/pull/162282


More information about the cfe-commits mailing list