[PATCH] D111445: [OpenMP] Use AAAssumptionInfo to get assumptions in OpenMPOpt
    Johannes Doerfert via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Nov  9 08:04:24 PST 2021
    
    
  
jdoerfert added a comment.
Can we have a test where the attribute is not directly attached but propagated?
================
Comment at: llvm/lib/Transforms/IPO/OpenMPOpt.cpp:4401
+        A.getOrCreateAAFor<AAAssumptionInfo>(
+            IRPosition::callsite_function(*CB));
       if (auto *LI = dyn_cast<LoadInst>(&I)) {
----------------
Do we need these? The `getAAFor` code should create all AAs we need on demand, no?
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D111445/new/
https://reviews.llvm.org/D111445
    
    
More information about the llvm-commits
mailing list