[llvm-commits] [llvm] r47229 - /llvm/trunk/test/Assembler/2004-12-05-LocalGlobalSymtabConflict.ll

Chris Lattner sabre at nondot.org
Sat Feb 16 16:12:03 PST 2008


Author: lattner
Date: Sat Feb 16 18:12:03 2008
New Revision: 47229

URL: http://llvm.org/viewvc/llvm-project?rev=47229&view=rev
Log:
this test isn't useful since we added @ notation for globals.

Removed:
    llvm/trunk/test/Assembler/2004-12-05-LocalGlobalSymtabConflict.ll

Removed: llvm/trunk/test/Assembler/2004-12-05-LocalGlobalSymtabConflict.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Assembler/2004-12-05-LocalGlobalSymtabConflict.ll?rev=47228&view=auto

==============================================================================
--- llvm/trunk/test/Assembler/2004-12-05-LocalGlobalSymtabConflict.ll (original)
+++ llvm/trunk/test/Assembler/2004-12-05-LocalGlobalSymtabConflict.ll (removed)
@@ -1,21 +0,0 @@
-; RUN: llvm-as < %s | opt -inline | llvm-dis | \
-; RUN:   not grep {%G = alloca int}
-
-; In this testcase, %bar stores to the global G.  Make sure that inlining does
-; not cause it to store to the G in main instead.
- at G = global i32 7               ; <i32*> [#uses=1]
-
-define i32 @main() {
-    %G = alloca i32         ; <i32*> [#uses=2]
-    store i32 0, i32* %G
-    call void @bar( )
-    %RV = load i32* %G              ; <i32> [#uses=1]
-    ret i32 %RV
-}
-
-define internal void @bar() {
-    store i32 123, i32* @G
-    ret void
-}
-
-





More information about the llvm-commits mailing list