[llvm-commits] [llvm] r57597 - in /llvm/trunk/test/Linker: 2008-07-06-AliasWeakDest.ll 2008-07-06-AliasWeakDest2.ll
Anton Korobeynikov
asl at math.spbu.ru
Wed Oct 15 13:22:47 PDT 2008
Author: asl
Date: Wed Oct 15 15:22:44 2008
New Revision: 57597
URL: http://llvm.org/viewvc/llvm-project?rev=57597&view=rev
Log:
Add global variable to test for consistency
Modified:
llvm/trunk/test/Linker/2008-07-06-AliasWeakDest.ll
llvm/trunk/test/Linker/2008-07-06-AliasWeakDest2.ll
Modified: llvm/trunk/test/Linker/2008-07-06-AliasWeakDest.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Linker/2008-07-06-AliasWeakDest.ll?rev=57597&r1=57596&r2=57597&view=diff
==============================================================================
--- llvm/trunk/test/Linker/2008-07-06-AliasWeakDest.ll (original)
+++ llvm/trunk/test/Linker/2008-07-06-AliasWeakDest.ll Wed Oct 15 15:22:44 2008
@@ -9,6 +9,9 @@
@sched_clock = alias i64 ()* @native_sched_clock
+ at foo = alias i32* @realfoo
+ at realfoo = global i32 0
+
define i64 @native_sched_clock() nounwind {
entry:
ret i64 0
Modified: llvm/trunk/test/Linker/2008-07-06-AliasWeakDest2.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Linker/2008-07-06-AliasWeakDest2.ll?rev=57597&r1=57596&r2=57597&view=diff
==============================================================================
--- llvm/trunk/test/Linker/2008-07-06-AliasWeakDest2.ll (original)
+++ llvm/trunk/test/Linker/2008-07-06-AliasWeakDest2.ll Wed Oct 15 15:22:44 2008
@@ -4,6 +4,7 @@
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
target triple = "i386-pc-linux-gnu"
+ at foo = weak global i32 2
define i64 @sched_clock_cpu(i32 inreg %cpu) nounwind {
entry:
More information about the llvm-commits
mailing list