[PATCH] D135808: [LoopInterchange] Correcting the profitability check

Michael Kruse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 11 07:56:43 PST 2023


Meinersbur accepted this revision.
Meinersbur added a comment.

LGTM.

Sorry I didn't find time to review it.



================
Comment at: llvm/test/Transforms/LoopInterchange/perserve-lcssa.ll:172
+; CHECK-NEXT:    [[TMP31:%.*]] = phi i32 [ 0, [[INNER_PH]] ], [ [[TMP6:%.*]], [[INNER_BODY]] ]
+; CHECK-NEXT:    [[TMP5:%.*]] = load i32*, i32** undef, align 8
+; CHECK-NEXT:    [[TMP6]] = add nsw i32 [[TMP31]], 1
----------------
The test fails for me with the latest version because of opaque pointers emitted by opt.

Regeneration of the test should fix this.


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

https://reviews.llvm.org/D135808



More information about the llvm-commits mailing list