[llvm] [NVPTX] Improve modeling of inline PTX (PR #130675)
    Alex MacLean via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Mar 13 13:11:03 PDT 2025
    
    
  
================
@@ -36,6 +36,12 @@ class NVPTXAAResult : public AAResultBase {
 
   ModRefInfo getModRefInfoMask(const MemoryLocation &Loc, AAQueryInfo &AAQI,
                                bool IgnoreLocals);
+
+  MemoryEffects getMemoryEffects(const CallBase *Call, AAQueryInfo &AAQI);
+
+  MemoryEffects getMemoryEffects(const Function *F) {
+    return MemoryEffects::unknown();
+  }
----------------
AlexMaclean wrote:
This is needed for C++ subclassing reasons, I don't remember (understand) the specifics. Without it there is a build error. 
https://github.com/llvm/llvm-project/pull/130675
    
    
More information about the llvm-commits
mailing list