Author: Arthur Eubanks Date: 2020-12-07T17:37:42-08:00 New Revision: 689b8e91f256b62519042c9a118d4b0ec1553b18
URL: https://github.com/llvm/llvm-project/commit/689b8e91f256b62519042c9a118d4b0ec1553b18 DIFF: https://github.com/llvm/llvm-project/commit/689b8e91f256b62519042c9a118d4b0ec1553b18.diff LOG: [test] Fix LoopFusion tests under NewPM The legacy pass depended on -loop-simplify running. The NPM does not allow for a non-analysis pass to depend on another non-analysis pass. Added: Modified: llvm/test/Transforms/LoopFusion/cannot_fuse.ll llvm/test/Transforms/LoopFusion/simple.ll Removed: ################################################################################ diff --git a/llvm/test/Transforms/LoopFusion/cannot_fuse.ll b/llvm/test/Transforms/LoopFusion/cannot_fuse.ll index db099c990cd3..030e79c3492b 100644 --- a/llvm/test/Transforms/LoopFusion/cannot_fuse.ll +++ b/llvm/test/Transforms/LoopFusion/cannot_fuse.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -loop-fusion -debug-only=loop-fusion -disable-output < %s 2>&1 | FileCheck %s +; RUN: opt -S -loop-simplify -loop-fusion -debug-only=loop-fusion -disable-output < %s 2>&1 | FileCheck %s ; REQUIRES: asserts @B = common global [1024 x i32] zeroinitializer, align 16 diff --git a/llvm/test/Transforms/LoopFusion/simple.ll b/llvm/test/Transforms/LoopFusion/simple.ll index bb4cf17d8469..f3ccb0f919e3 100644 --- a/llvm/test/Transforms/LoopFusion/simple.ll +++ b/llvm/test/Transforms/LoopFusion/simple.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -loop-fusion < %s | FileCheck %s +; RUN: opt -S -loop-simplify -loop-fusion < %s | FileCheck %s @B = common global [1024 x i32] zeroinitializer, align 16 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits