================
@@ -1067,7 +1067,8 @@ class CodeGenModule : public CodeGenTypeCache {
bool shouldEmitRTTI(bool ForEH = false) {
return (ForEH || getLangOpts().RTTI) && !getLangOpts().CUDAIsDevice &&
!(getLangOpts().OpenMP && getLangOpts().OpenMPIsTargetDevice &&
- (getTriple().isNVPTX() || getTriple().isAMDGPU()));
+ (getTriple().isNVPTX() || getTriple().isAMDGPU() ||
+ getTriple().isSPIRV()));
----------------
sarnex wrote:
yeah, after this pr ill try to find all spots that check for the gpu offload
triples and replace them with a single helper, wasting hours tracking down bugs
because i missed one of these spots is not exactly a great use of time :)
https://github.com/llvm/llvm-project/pull/126801
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits