[clang] [llvm] [SPIR-V] Enable variadic function lowering for the SPIR-V target (PR #175076)

Nick Sarnie via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 15 12:23:17 PST 2026


sarnex wrote:

> Is there an easy way to detect this? Like a module flag?

Maybe this?

```
if(!SPIRVTargetMachine.getSubtargetImpl()->isShader())
```

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


More information about the cfe-commits mailing list