[clang] [llvm] [LV][LAA] Vectorize math lib calls with mem write-only attribute (PR #78432)

Florian Hahn via cfe-commits cfe-commits at lists.llvm.org
Tue May 14 08:11:51 PDT 2024


================
@@ -2477,6 +2493,15 @@ void LoopAccessInfo::analyzeLoop(AAResults *AA, LoopInfo *LI,
 
       // Save 'store' instructions. Abort if other instructions write to memory.
       if (I.mayWriteToMemory()) {
+        // We can safety handle math functions that have vectorized
----------------
fhahn wrote:

typo: safely

https://github.com/llvm/llvm-project/pull/78432


More information about the cfe-commits mailing list