[llvm] [SROA] Prevent load atomic vector from being generated (PR #112432)
    Matt Arsenault via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Sun Oct 20 15:30:44 PDT 2024
    
    
  
================
@@ -252,7 +252,8 @@ class LoadInst : public UnaryInstruction {
 
   /// Returns false if this type would be invalid in the
   /// creation of a load atomic instruction.
-  static bool isValidAtomicTy(Type *Ty);
+  static bool isValidAtomicTy(Type *Ty, const DataLayout *DL = nullptr,
----------------
arsenm wrote:
DataLayout must be mandatory 
https://github.com/llvm/llvm-project/pull/112432
    
    
More information about the llvm-commits
mailing list