summaryrefslogtreecommitdiffstats
path: root/test/Analysis
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-04-29 20:27:52 +0000
committerDan Gohman <gohman@apple.com>2009-04-29 20:27:52 +0000
commit36b8e53fe069862627cd06d82767a4253e24638d (patch)
tree47f01cc8bd18b9b648ca0d3173dda216d418c5ed /test/Analysis
parenta641575828192c741531d431fbf191e6c1ba17c5 (diff)
downloadexternal_llvm-36b8e53fe069862627cd06d82767a4253e24638d.zip
external_llvm-36b8e53fe069862627cd06d82767a4253e24638d.tar.gz
external_llvm-36b8e53fe069862627cd06d82767a4253e24638d.tar.bz2
Include the source type in SCEV cast expression debug output, and
print sext, zext, and trunc, instead of signextend, zeroextend, and truncate, respectively, for consistency with the main IR. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70405 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis')
-rw-r--r--test/Analysis/ScalarEvolution/sext-inreg.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/Analysis/ScalarEvolution/sext-inreg.ll b/test/Analysis/ScalarEvolution/sext-inreg.ll
index c482fe6..8a88f0f 100644
--- a/test/Analysis/ScalarEvolution/sext-inreg.ll
+++ b/test/Analysis/ScalarEvolution/sext-inreg.ll
@@ -1,5 +1,6 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \
-; RUN: | grep {signextend \{0,+,199\}<bb> to i64} | count 2
+; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output > %t
+; RUN: grep {sext i57 \{0,+,199\}<bb> to i64} %t | count 1
+; RUN: grep {sext i59 \{0,+,199\}<bb> to i64} %t | count 1
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
target triple = "i386-apple-darwin9.6"