================
@@ -76,11 +77,21 @@ static TargetExtType *getTargetExtType(const GlobalVariable
&GV) {
}
TargetExtType *isNamedBarrier(const GlobalVariable &GV) {
----------------
ssahasra wrote:
The function name suggests it should return a boolean predicate. Should be
renamed to `getBarrierType`. Now I am wondering if `AMDGPUNamedBarrier` should
be a subclass of `GlobalVariable` that supports `isa`, `cast` etc.
https://github.com/llvm/llvm-project/pull/209746
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits