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 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
