================
@@ -609,6 +617,15 @@ class SIGfx12CacheControl : public SIGfx11CacheControl {
bool setAtomicScope(const MachineBasicBlock::iterator &MI,
SIAtomicScope Scope, SIAtomicAddrSpace AddrSpace) const;
+ bool canAffectGlobalAddrSpace(SIAtomicAddrSpace AS) const override {
+ assert((!ST.hasGloballyAddressableScratch() ||
----------------
jayfoad wrote:
Can't this go in the base class implementation? Then it doesn't need to a
virtual method.
https://github.com/llvm/llvm-project/pull/160129
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits