aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/ConstantExprFold.llx
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-11-23 15:14:52 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-11-23 15:14:52 +0000
commite5d4efa63ec2c1296e3a1a3e70763df02cd1a7ab (patch)
tree8d911b30b965f442bda5d3372328d7c093438a6b /test/Assembler/ConstantExprFold.llx
parent565706b93e3695da49aee8d2eb67006ffdb2591f (diff)
downloadexternal_llvm-e5d4efa63ec2c1296e3a1a3e70763df02cd1a7ab.zip
external_llvm-e5d4efa63ec2c1296e3a1a3e70763df02cd1a7ab.tar.gz
external_llvm-e5d4efa63ec2c1296e3a1a3e70763df02cd1a7ab.tar.bz2
Promote GEP ubyte indices to uint. Backwards compatibility for 1.2 and
older features will be dropped soon and these test cases must not rely on the upgrade capability. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31896 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Assembler/ConstantExprFold.llx')
-rw-r--r--test/Assembler/ConstantExprFold.llx4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Assembler/ConstantExprFold.llx b/test/Assembler/ConstantExprFold.llx
index 294c77a..a0e9505 100644
--- a/test/Assembler/ConstantExprFold.llx
+++ b/test/Assembler/ConstantExprFold.llx
@@ -20,8 +20,8 @@ global long* cast (long xor (long cast (long* %A to long), long 0) to long*) ; X
global bool setlt (long* %A, long* getelementptr (long* %A, long 1)) ; true
global bool setlt (long* %A, long* getelementptr (long* %A, long 0)) ; false
-global bool setlt (int* getelementptr (%Ty* %B, long 0, ubyte 0),
- int* getelementptr (%Ty* %B, long 0, ubyte 1)) ; true
+global bool setlt (int* getelementptr (%Ty* %B, long 0, uint 0),
+ int* getelementptr (%Ty* %B, long 0, uint 1)) ; true
;global bool setne (long* %A, long* cast (%Ty* %B to long*)) ; true
global bool seteq ({ short }* cast (int 1 to { short }*), { short }* null)