[llvm-commits] CVS: llvm/test/Regression/Transforms/FunctionResolve/2002-08-19-ResolveGlobalVars.ll 2002-08-19-ResolveGlobalVarsEasier.ll
Chris Lattner
lattner at cs.uiuc.edu
Fri Apr 18 19:18:01 PDT 2003
Changes in directory llvm/test/Regression/Transforms/FunctionResolve:
2002-08-19-ResolveGlobalVars.ll updated: 1.3 -> 1.4
2002-08-19-ResolveGlobalVarsEasier.ll updated: 1.1 -> 1.2
---
Log message:
Update testcases to match what is currently output by the CFE
---
Diffs of the changes:
Index: llvm/test/Regression/Transforms/FunctionResolve/2002-08-19-ResolveGlobalVars.ll
diff -u llvm/test/Regression/Transforms/FunctionResolve/2002-08-19-ResolveGlobalVars.ll:1.3 llvm/test/Regression/Transforms/FunctionResolve/2002-08-19-ResolveGlobalVars.ll:1.4
--- llvm/test/Regression/Transforms/FunctionResolve/2002-08-19-ResolveGlobalVars.ll:1.3 Wed Oct 9 15:55:32 2002
+++ llvm/test/Regression/Transforms/FunctionResolve/2002-08-19-ResolveGlobalVars.ll Fri Apr 18 19:17:11 2003
@@ -12,15 +12,15 @@
; RUN: fi
;
-%X = external global int
+%X = external global [0 x int]
%X = global [4 x int] [ int 1, int 2, int 3, int 4 ]
implementation ; Functions:
int %foo(int %x) {
bb1: ;[#uses=0]
- store int 5, int* getelementptr (int* %X, long 2)
- %F = getelementptr int* %X, long 2
+ store int 5, int* getelementptr ([0 x int]* %X, long 0, long 2)
+ %F = getelementptr [0 x int]* %X, long 0, long 2
%val = load int* %F
ret int %val
}
Index: llvm/test/Regression/Transforms/FunctionResolve/2002-08-19-ResolveGlobalVarsEasier.ll
diff -u llvm/test/Regression/Transforms/FunctionResolve/2002-08-19-ResolveGlobalVarsEasier.ll:1.1 llvm/test/Regression/Transforms/FunctionResolve/2002-08-19-ResolveGlobalVarsEasier.ll:1.2
--- llvm/test/Regression/Transforms/FunctionResolve/2002-08-19-ResolveGlobalVarsEasier.ll:1.1 Wed Oct 9 15:37:13 2002
+++ llvm/test/Regression/Transforms/FunctionResolve/2002-08-19-ResolveGlobalVarsEasier.ll Fri Apr 18 19:17:11 2003
@@ -7,16 +7,16 @@
; RUN: fi
;
-%X = external global int
+%X = external global [0 x int]
%X = global [4 x int] [ int 1, int 2, int 3, int 4 ]
implementation ; Functions:
int %foo(int %x) {
bb1: ;[#uses=0]
- %G = getelementptr int* %X, long 1
+ %G = getelementptr [0 x int]* %X, long 0, long 1
store int 5, int* %G
- %F = getelementptr int* %X, long 2
+ %F = getelementptr [0 x int]* %X, long 0, long 2
%val = load int* %F
ret int %val
}
More information about the llvm-commits
mailing list