[llvm] [ValueTracking] Treat phi as underlying obj when not decomposing further (PR #84339)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 11 14:14:22 PDT 2024


================
@@ -7,8 +7,13 @@ target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"
 define void @indirect_ptr_recurrences_read_write(ptr %A, ptr %B) {
 ; CHECK-LABEL: 'indirect_ptr_recurrences_read_write'
 ; CHECK-NEXT:    loop:
-; CHECK-NEXT:      Memory dependences are safe
+; CHECK-NEXT:      Report: unsafe dependent memory operations in loop. Use #pragma clang loop distribute(enable) to allow loop distribution to attempt to isolate the offending operations into a separate loop
+; CHECK-NEXT:  Unsafe indirect dependence.
 ; CHECK-NEXT:      Dependences:
+; CHECK-NEXT:        IndidrectUnsafe:
----------------
nikic wrote:

Unrelated, but there's a typo here...

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


More information about the llvm-commits mailing list