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

Unified Diff: tests_lit/llvm2ice_tests/unnamed.ll

Issue 624663002: Introduce model of global initializers in Subzero. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix nits. Created 6 years, 2 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 | « tests_lit/llvm2ice_tests/global.ll ('k') | tests_lit/reader_tests/globalrelocs.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests_lit/llvm2ice_tests/unnamed.ll
diff --git a/tests_lit/llvm2ice_tests/unnamed.ll b/tests_lit/llvm2ice_tests/unnamed.ll
deleted file mode 100644
index e6ed5e3b3f004e32c38deed084df3f1179cb5f6a..0000000000000000000000000000000000000000
--- a/tests_lit/llvm2ice_tests/unnamed.ll
+++ /dev/null
@@ -1,50 +0,0 @@
-; Tests that we name unnamed global addresses.
-
-; RUN: %p2i -i %s --insts | FileCheck %s
-
-; RUN: %p2i -i %s --insts --args -default-function-prefix=h \
-; RUN: -default-global-prefix=g | FileCheck --check-prefix=BAD %s
-
-@0 = internal global [4 x i8] zeroinitializer, align 4
-
-; CHECK: @Global = internal global [4 x i8] zeroinitializer, align 4
-
-@1 = internal constant [10 x i8] c"Some stuff", align 1
-
-; CHECK-NEXT: @Global1 = internal constant [10 x i8] c"Some stuff", align 1
-
-@g = internal global [4 x i8] zeroinitializer, align 4
-
-; BAD: Warning: Default global prefix 'g' conflicts with name 'g'.
-
-; CHECK-NEXT: @g = internal global [4 x i8] zeroinitializer, align 4
-
-define i32 @2(i32 %v) {
- ret i32 %v
-}
-
-; CHECK-NEXT: define i32 @Function(i32 %v) {
-; CHECK-NEXT: __0:
-; CHECK-NEXT: ret i32 %v
-; CHECK-NEXT: }
-
-define void @hg() {
- ret void
-}
-
-; BAD: Warning: Default function prefix 'h' conflicts with name 'hg'.
-
-; CHECK-NEXT: define void @hg() {
-; CHECK-NEXT: __0:
-; CHECK-NEXT: ret void
-; CHECK-NEXT: }
-
-define void @3() {
- ret void
-}
-
-; CHECK-NEXT: define void @Function1() {
-; CHECK-NEXT: __0:
-; CHECK-NEXT: ret void
-; CHECK-NEXT: }
-
« no previous file with comments | « tests_lit/llvm2ice_tests/global.ll ('k') | tests_lit/reader_tests/globalrelocs.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698