[llvm] [Verifier][AMDGPU] No store to const addrspace (PR #109181)
Shilei Tian via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 18 21:27:49 PDT 2024
================
@@ -4224,6 +4224,33 @@ void Verifier::visitLoadInst(LoadInst &LI) {
visitInstruction(LI);
}
+static bool isConstantAddressSpace(unsigned AS) {
----------------
shiltian wrote:
constant address space is not an AMD only thing. I'm thinking probably we can split this function into target dependent (for example, to query whether an AS is a constant AS) and independent part.
https://github.com/llvm/llvm-project/pull/109181
More information about the llvm-commits
mailing list