Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Unified Diff: test/Transforms/NaCl/expand-tls.ll

Issue 15042009: Update tests to use FileCheck instead of grep (which is deprecated in the LLVM regression suite) (Closed) Base URL: http://git.chromium.org/native_client/pnacl-llvm.git@master
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/Transforms/NaCl/expand-ctors-zeroinit.ll ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/Transforms/NaCl/expand-tls.ll
diff --git a/test/Transforms/NaCl/expand-tls.ll b/test/Transforms/NaCl/expand-tls.ll
index ec572ffa2c888a7b4f0b5ef604a1a6a1e9d991ab..b824ec074ec9958ce7ffa6b2158f6798041a5497 100644
--- a/test/Transforms/NaCl/expand-tls.ll
+++ b/test/Transforms/NaCl/expand-tls.ll
@@ -1,8 +1,9 @@
; RUN: opt < %s -nacl-expand-tls -S | FileCheck %s
; All thread-local variables should be removed
-; RUN: opt < %s -nacl-expand-tls -S | not grep thread_local
+; RUN: opt < %s -nacl-expand-tls -S | FileCheck %s -check-prefix=NO_TLS
+; NO_TLS-NOT: thread_local
@tvar1 = thread_local global i64 123
@tvar2 = thread_local global i32 456
@@ -73,7 +74,7 @@ define i32 @test_get_tp_tls_offset(i32 %tls_size) {
; Uses of the intrinsic are replaced with uses of a regular function.
; CHECK: define i32 @test_get_tp_tls_offset
; CHECK: call i32 @nacl_tp_tls_offset
-; RUN: opt < %s -nacl-expand-tls -S | not grep llvm.nacl.tp.tls.offset
+; NO_TLS-NOT: llvm.nacl.tp.tls.offset
define i32 @test_get_tp_tdb_offset(i32 %tdb_size) {
%offset = call i32 @llvm.nacl.tp.tdb.offset(i32 %tdb_size)
@@ -82,4 +83,4 @@ define i32 @test_get_tp_tdb_offset(i32 %tdb_size) {
; Uses of the intrinsic are replaced with uses of a regular function.
; CHECK: define i32 @test_get_tp_tdb_offset
; CHECK: call i32 @nacl_tp_tdb_offset
-; RUN: opt < %s -nacl-expand-tls -S | not grep llvm.nacl.tp.tdb.offset
+; NO_TLS-NOT: llvm.nacl.tp.tdb.offset
« no previous file with comments | « test/Transforms/NaCl/expand-ctors-zeroinit.ll ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698