diff options
author | Vikram S. Adve <vadve@cs.uiuc.edu> | 2002-07-15 18:18:45 +0000 |
---|---|---|
committer | Vikram S. Adve <vadve@cs.uiuc.edu> | 2002-07-15 18:18:45 +0000 |
commit | 0850978368ebc0271ed46ee2bbded9a5af42e27b (patch) | |
tree | 8ab040178b44c08a61a02f1f2fef27592dd63019 /test/Feature/constexpr.ll | |
parent | 5659dd1af838b787199271c5c47488c31953ac18 (diff) |
Added duplicate constant expressions to test uniqueness support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2908 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Feature/constexpr.ll')
-rw-r--r-- | test/Feature/constexpr.ll | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/Feature/constexpr.ll b/test/Feature/constexpr.ll index aef668e145..7fbb5aa244 100644 --- a/test/Feature/constexpr.ll +++ b/test/Feature/constexpr.ll @@ -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 |