[NFC] Make a test more neat

llvm-svn: 337379
This commit is contained in:
Max Kazantsev 2018-07-18 11:03:40 +00:00
parent ef7e76afcf
commit 29fa9d81d4

View File

@ -1,11 +1,14 @@
; RUN: opt < %s -analyze -scalar-evolution
; RUN: opt < %s -passes='print<scalar-evolution>'
; RUN: opt < %s -analyze -scalar-evolution 2>&1 | FileCheck %s
; RUN: opt < %s -passes='print<scalar-evolution>' -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