[PATCH] D97828: [LoopInterchange] Disallow interchange when memory accesses are guarded by control flow (PR48057)

Whitney Tsang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 14 08:33:43 PDT 2021


Whitney added a comment.

Have you considered the case where the blocks guarded by control flow doesn't have memory operation, but affect memory operation through phi?

  bb1:
    br %cond, bb2, bb3
  bb2:
    br bb4
  bb3:
    br bb4
  bb4:
    %t = phi [ %t2, %bb2 ], [ %t3, %bb3 ]
    store %t, %p


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D97828/new/

https://reviews.llvm.org/D97828



More information about the llvm-commits mailing list