================
@@ -59,6 +60,8 @@ static TargetExtType *getTargetExtType(const GlobalVariable
&GV) {
}
TargetExtType *isNamedBarrier(const GlobalVariable &GV) {
+ if (GV.getAddressSpace() != AMDGPUAS::EXECSYNC)
+ return nullptr;
----------------
Pierre-vh wrote:
Done, added a few tests for that. I also made it so it doesn't crash but
instead diagnoses + emit trap, like we do for other things.
https://github.com/llvm/llvm-project/pull/195613
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits