1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 13:11:39 +01:00

Added duplicate constant expressions to test uniqueness support.

llvm-svn: 2908
This commit is contained in:
Vikram S. Adve 2002-07-15 18:18:45 +00:00
parent 1b99c09b2c
commit dea5af5ec6

View 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