diff options
Diffstat (limited to 'test')
3 files changed, 3 insertions, 7 deletions
diff --git a/test/Transforms/IndVarSimplify/preserve-signed-wrap.ll b/test/Transforms/IndVarSimplify/preserve-signed-wrap.ll index 930721a85b48..0a91ec88064f 100644 --- a/test/Transforms/IndVarSimplify/preserve-signed-wrap.ll +++ b/test/Transforms/IndVarSimplify/preserve-signed-wrap.ll @@ -1,6 +1,5 @@ ; RUN: llvm-as < %s | opt -indvars | llvm-dis > %t -; RUN: grep sext %t | count 2 -; RUN: grep { = sext i32 %n to i64} %t +; RUN: grep sext %t | count 1 ; RUN: grep phi %t | count 1 ; RUN: grep {phi i64} %t diff --git a/test/Transforms/IndVarSimplify/promote-iv-to-eliminate-casts.ll b/test/Transforms/IndVarSimplify/promote-iv-to-eliminate-casts.ll index 9588bd30f2f6..48c060c48d22 100644 --- a/test/Transforms/IndVarSimplify/promote-iv-to-eliminate-casts.ll +++ b/test/Transforms/IndVarSimplify/promote-iv-to-eliminate-casts.ll @@ -1,7 +1,5 @@ ; RUN: llvm-as < %s | opt -indvars | llvm-dis > %t -; RUN: grep sext %t | count 2 -; RUN: grep { = sext i16 %N to i64} %t -; RUN: grep { = sext i32 %count to i64} %t +; RUN: not grep sext %t define i64 @test(i64* nocapture %first, i32 %count) nounwind readonly { entry: diff --git a/test/Transforms/IndVarSimplify/signed-trip-count.ll b/test/Transforms/IndVarSimplify/signed-trip-count.ll index cea9f8224551..cd61d11394ee 100644 --- a/test/Transforms/IndVarSimplify/signed-trip-count.ll +++ b/test/Transforms/IndVarSimplify/signed-trip-count.ll @@ -1,7 +1,6 @@ ; RUN: llvm-as < %s | opt -indvars | llvm-dis > %t -; RUN: grep { = sext i32 %n} %t +; RUN: not grep sext %t ; RUN: grep phi %t | count 1 -; RUN: not grep zext %t define void @foo(i64* nocapture %x, i32 %n) nounwind { entry: |