[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/getelementptr.ll
Chris Lattner
lattner at cs.uiuc.edu
Mon Apr 25 13:17:16 PDT 2005
Changes in directory llvm/test/Regression/Transforms/InstCombine:
getelementptr.ll updated: 1.14 -> 1.15
---
Log message:
new testcase
---
Diffs of the changes: (+8 -0)
getelementptr.ll | 8 ++++++++
1 files changed, 8 insertions(+)
Index: llvm/test/Regression/Transforms/InstCombine/getelementptr.ll
diff -u llvm/test/Regression/Transforms/InstCombine/getelementptr.ll:1.14 llvm/test/Regression/Transforms/InstCombine/getelementptr.ll:1.15
--- llvm/test/Regression/Transforms/InstCombine/getelementptr.ll:1.14 Sat Oct 16 14:44:23 2004
+++ llvm/test/Regression/Transforms/InstCombine/getelementptr.ll Mon Apr 25 15:17:00 2005
@@ -58,3 +58,11 @@
%B = cast double* %A to int
ret int %B
}
+
+bool %g({int, int} * %x, {int, int} * %y) {
+ %tmp.1 = getelementptr {int,int}* %x, int 0, uint 1
+ %tmp.3 = getelementptr {int,int}* %y, int 0, uint 1
+ %tmp.4 = seteq int* %tmp.1, %tmp.3 ;; seteq x, y
+ ret bool %tmp.4
+}
+
More information about the llvm-commits
mailing list