Added duplicate constant expressions to test uniqueness support.
authorVikram S. Adve <vadve@cs.uiuc.edu>
Mon, 15 Jul 2002 18:18:45 +0000 (18:18 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Mon, 15 Jul 2002 18:18:45 +0000 (18:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2908 91177308-0d34-0410-b5e6-96231b3b80d8

test/Feature/constexpr.ll

index aef668e14578bc3286cc546afd8f9c7c58a4874b..7fbb5aa244d258b1c9679433c5a31be23417c1aa 100644 (file)
@@ -68,5 +68,19 @@ global float 0.0
 ;; TODO: Test constant expressions for unary and binary operators
 ;;---------------------------------------------------------
 
+
+;;---------------------------------------------------
+;; Test duplicate constant expressions
+;;---------------------------------------------------
+
+%t4 = global int** cast uint** %t3
+
+%char8a = global int* cast sbyte* getelementptr([11x sbyte]* %somestr, uint 0, uint 8)
+
+%S3fld3 = global float* getelementptr (%SAType** %S3, uint 0, uint 0, ubyte 1, ubyte 0, uint 0) 
+
+
+;;---------------------------------------------------
+
 implementation