summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorEli Bendersky <eliben@google.com>2013-04-08 19:51:36 +0000
committerEli Bendersky <eliben@google.com>2013-04-08 19:51:36 +0000
commited61b06fa815fe7a31e92f3eed7e67f5c514fa9a (patch)
tree039edfb9ec68e05e4ea760746f527687d1995751 /llvm
parentca6dfd845a1152e5a5ed643c34640c87455bfaee (diff)
downloadbcm5719-llvm-ed61b06fa815fe7a31e92f3eed7e67f5c514fa9a.tar.gz
bcm5719-llvm-ed61b06fa815fe7a31e92f3eed7e67f5c514fa9a.zip
Rewrite test/ExecutionEngine tests to use FileCheck instead of grep
llvm-svn: 179043
Diffstat (limited to 'llvm')
-rw-r--r--llvm/test/ExecutionEngine/2008-06-05-APInt-OverAShr.ll3
-rw-r--r--llvm/test/ExecutionEngine/MCJIT/2008-06-05-APInt-OverAShr.ll3
-rw-r--r--llvm/test/ExecutionEngine/MCJIT/fpbitcast.ll5
-rw-r--r--llvm/test/ExecutionEngine/fpbitcast.ll5
4 files changed, 10 insertions, 6 deletions
diff --git a/llvm/test/ExecutionEngine/2008-06-05-APInt-OverAShr.ll b/llvm/test/ExecutionEngine/2008-06-05-APInt-OverAShr.ll
index 0ab02747ba1..349db69e4c6 100644
--- a/llvm/test/ExecutionEngine/2008-06-05-APInt-OverAShr.ll
+++ b/llvm/test/ExecutionEngine/2008-06-05-APInt-OverAShr.ll
@@ -1,4 +1,5 @@
-; RUN: %lli -force-interpreter=true %s | grep 1
+; RUN: %lli -force-interpreter=true %s | FileCheck %s
+; CHECK: 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:32:32"
target triple = "i686-pc-linux-gnu"
diff --git a/llvm/test/ExecutionEngine/MCJIT/2008-06-05-APInt-OverAShr.ll b/llvm/test/ExecutionEngine/MCJIT/2008-06-05-APInt-OverAShr.ll
index 0912897c05f..9897602250a 100644
--- a/llvm/test/ExecutionEngine/MCJIT/2008-06-05-APInt-OverAShr.ll
+++ b/llvm/test/ExecutionEngine/MCJIT/2008-06-05-APInt-OverAShr.ll
@@ -1,4 +1,5 @@
-; RUN: %lli_mcjit -force-interpreter=true %s | grep 1
+; RUN: %lli_mcjit -force-interpreter=true %s | FileCheck %s
+; CHECK: 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:32:32"
target triple = "i686-pc-linux-gnu"
diff --git a/llvm/test/ExecutionEngine/MCJIT/fpbitcast.ll b/llvm/test/ExecutionEngine/MCJIT/fpbitcast.ll
index fb5ab6f2421..ea39617547a 100644
--- a/llvm/test/ExecutionEngine/MCJIT/fpbitcast.ll
+++ b/llvm/test/ExecutionEngine/MCJIT/fpbitcast.ll
@@ -1,5 +1,6 @@
-; RUN: %lli_mcjit -force-interpreter=true %s | grep 40091eb8
-;
+; RUN: %lli_mcjit -force-interpreter=true %s | FileCheck %s
+; CHECK: 40091eb8
+
define i32 @test(double %x) {
entry:
%x46.i = bitcast double %x to i64
diff --git a/llvm/test/ExecutionEngine/fpbitcast.ll b/llvm/test/ExecutionEngine/fpbitcast.ll
index fa84be44101..e6d06f83db4 100644
--- a/llvm/test/ExecutionEngine/fpbitcast.ll
+++ b/llvm/test/ExecutionEngine/fpbitcast.ll
@@ -1,5 +1,6 @@
-; RUN: %lli -force-interpreter=true %s | grep 40091eb8
-;
+; RUN: %lli -force-interpreter=true %s | FileCheck %s
+; CHECK: 40091eb8
+
define i32 @test(double %x) {
entry:
%x46.i = bitcast double %x to i64
OpenPOWER on IntegriCloud