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

Side by Side Diff: test/Transforms/NaCl/expand-ctors-empty.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 unified diff | Download patch
« no previous file with comments | « test/Transforms/NaCl/expand-ctors.ll ('k') | test/Transforms/NaCl/expand-ctors-zeroinit.ll » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ; Currently we do not define __{init,fini}_array_end as named aliases. 1 ; Currently we do not define __{init,fini}_array_end as named aliases.
2 ; RUN: opt < %s -nacl-expand-ctors -S | not grep __init_array_end 2 ; RUN: opt < %s -nacl-expand-ctors -S | FileCheck %s -check-prefix=NO_CTORS
3 ; RUN: opt < %s -nacl-expand-ctors -S | not grep __fini_array_end 3 ; NO_CTORS-NOT: __init_array_end
4 ; NO_CTORS-NOT: __fini_array_end
4 5
5 ; RUN: opt < %s -nacl-expand-ctors -S | FileCheck %s 6 ; RUN: opt < %s -nacl-expand-ctors -S | FileCheck %s
6 7
7 ; If llvm.global_ctors is not present, it is treated as if it is an 8 ; If llvm.global_ctors is not present, it is treated as if it is an
8 ; empty array, and __{init,fini}_array_start are defined anyway. 9 ; empty array, and __{init,fini}_array_start are defined anyway.
9 10
10 ; CHECK: @__init_array_start = internal constant [0 x void ()*] zeroinitializer 11 ; CHECK: @__init_array_start = internal constant [0 x void ()*] zeroinitializer
11 ; CHECK: @__fini_array_start = internal constant [0 x void ()*] zeroinitializer 12 ; CHECK: @__fini_array_start = internal constant [0 x void ()*] zeroinitializer
OLDNEW
« no previous file with comments | « test/Transforms/NaCl/expand-ctors.ll ('k') | test/Transforms/NaCl/expand-ctors-zeroinit.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698