[llvm] 0d8f102 - [NFC][LoopUnroll] Add `-unroll-runtime-other-exit-predictable=false` in

Whitney Tsang via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 7 15:52:54 PST 2021


Author: Whitney Tsang
Date: 2021-03-07T23:51:09Z
New Revision: 0d8f102809b260d046d60a280d005362725c33e5

URL: https://github.com/llvm/llvm-project/commit/0d8f102809b260d046d60a280d005362725c33e5
DIFF: https://github.com/llvm/llvm-project/commit/0d8f102809b260d046d60a280d005362725c33e5.diff

LOG: [NFC][LoopUnroll] Add `-unroll-runtime-other-exit-predictable=false` in
`runtime-multiexit-heuristic.ll`

Added -unroll-runtime-other-exit-predictable=false in
runtime-multiexit-heuristic.ll to make it more robust.
runtime-multiexit-heuristic.ll intention is to test
-unroll-runtime-multi-exit=false, so the default value of
-unroll-runtime-other-exit-predictable should not impact the result.

Reviewed By: Meinersbur

Differential Revision: https://reviews.llvm.org/D98098

Added: 
    

Modified: 
    llvm/test/Transforms/LoopUnroll/runtime-multiexit-heuristic.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/LoopUnroll/runtime-multiexit-heuristic.ll b/llvm/test/Transforms/LoopUnroll/runtime-multiexit-heuristic.ll
index b9aa906ccdcd..413ae0dc104f 100644
--- a/llvm/test/Transforms/LoopUnroll/runtime-multiexit-heuristic.ll
+++ b/llvm/test/Transforms/LoopUnroll/runtime-multiexit-heuristic.ll
@@ -1,5 +1,5 @@
-; RUN: opt < %s -loop-unroll -unroll-runtime=true -verify-dom-info -verify-loop-info -instcombine -S | FileCheck %s
-; RUN: opt < %s -loop-unroll -unroll-runtime=true -verify-dom-info -unroll-runtime-multi-exit=false -verify-loop-info -S | FileCheck %s -check-prefix=NOUNROLL
+; RUN: opt < %s -unroll-runtime-other-exit-predictable=false -loop-unroll -unroll-runtime=true -verify-dom-info -verify-loop-info -instcombine -S | FileCheck %s
+; RUN: opt < %s -unroll-runtime-other-exit-predictable=false -loop-unroll -unroll-runtime=true -verify-dom-info -unroll-runtime-multi-exit=false -verify-loop-info -S | FileCheck %s -check-prefix=NOUNROLL
 
 ; this tests when unrolling multiple exit loop occurs by default (i.e. without specifying -unroll-runtime-multi-exit)
 


        


More information about the llvm-commits mailing list