[PATCH] D139993: [LoopFusion] Sorting of undominated FusionCandidates crashes

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 15 13:51:02 PST 2022


fhahn added inline comments.


================
Comment at: llvm/test/Transforms/LoopFusion/undominated_loops.ll:2
+; RUN: opt -S -passes=loop-fusion -debug-only=loop-fusion -disable-output < %s 2>&1 | FileCheck %s
+
+define void @test_long_1() {
----------------
If you are checking debug output, you need to add `; REQUIRES: asserts`.


================
Comment at: llvm/test/Transforms/LoopFusion/undominated_loops.ll:42
+; uselistorder directives
+  uselistorder label %vector.body, { 1, 0 }
+  uselistorder label %for.cond.cleanup5, { 1, 0 }
----------------
are those needed?


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

https://reviews.llvm.org/D139993



More information about the llvm-commits mailing list