[llvm] r217450 - Make this input file pass the verifier.
Rafael Espindola
rafael.espindola at gmail.com
Tue Sep 9 08:40:12 PDT 2014
Author: rafael
Date: Tue Sep 9 10:40:12 2014
New Revision: 217450
URL: http://llvm.org/viewvc/llvm-project?rev=217450&view=rev
Log:
Make this input file pass the verifier.
This was not noticed before because llvm-link only runs the verifier on the
result and these globals were not present in the result.
Modified:
llvm/trunk/test/Linker/unnamed-addr1-b.ll
Modified: llvm/trunk/test/Linker/unnamed-addr1-b.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Linker/unnamed-addr1-b.ll?rev=217450&r1=217449&r2=217450&view=diff
==============================================================================
--- llvm/trunk/test/Linker/unnamed-addr1-b.ll (original)
+++ llvm/trunk/test/Linker/unnamed-addr1-b.ll Tue Sep 9 10:40:12 2014
@@ -1,7 +1,7 @@
; This file is for use with unnamed-addr1-a.ll
; RUN: true
- at global-c = common unnamed_addr global i32 42
+ at global-c = common unnamed_addr global i32 0
@global-d = unnamed_addr global i32 42
@global-e = unnamed_addr global i32 42
@global-f = unnamed_addr global i32 42
@@ -13,7 +13,7 @@ define weak void @func-c() unnamed_addr
define weak void @func-d() unnamed_addr { ret void }
define weak void @func-e() unnamed_addr { ret void }
- at global-g = common global i32 42
+ at global-g = common global i32 0
@global-h = global i32 42
@global-i = global i32 42
@global-j = global i32 42
More information about the llvm-commits
mailing list