From: Max Kazantsev Date: Wed, 18 Jul 2018 11:03:40 +0000 (+0000) Subject: [NFC] Make a test more neat X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f1ed5421fd92ae286b515b1ca9bb860493cc0349;p=llvm [NFC] Make a test more neat git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337379 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Analysis/ScalarEvolution/truncate.ll b/test/Analysis/ScalarEvolution/truncate.ll index e9bd39d7a26..878f7b3b31b 100644 --- a/test/Analysis/ScalarEvolution/truncate.ll +++ b/test/Analysis/ScalarEvolution/truncate.ll @@ -1,11 +1,14 @@ -; RUN: opt < %s -analyze -scalar-evolution -; RUN: opt < %s -passes='print' +; RUN: opt < %s -analyze -scalar-evolution 2>&1 | FileCheck %s +; RUN: opt < %s -passes='print' -S 2>&1 | FileCheck %s ; Regression test for assert ScalarEvolution::getTruncateExpr. target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128-ni:1" target triple = "x86_64-unknown-linux-gnu" define void @snork(i8* %arg, i8 %arg1, i64 %arg2) { + +; CHECK-LABEL: Classifying expressions for: @snork + bb: br label %bb12