summaryrefslogtreecommitdiff
path: root/test/Transforms/SimplifyCFG
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/Transforms/SimplifyCFG
parent565706b93e3695da49aee8d2eb67006ffdb2591f (diff)
downloadllvm-e5d4efa63ec2c1296e3a1a3e70763df02cd1a7ab.tar.gz
llvm-e5d4efa63ec2c1296e3a1a3e70763df02cd1a7ab.tar.bz2
llvm-e5d4efa63ec2c1296e3a1a3e70763df02cd1a7ab.tar.xz
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/Transforms/SimplifyCFG')
-rw-r--r--test/Transforms/SimplifyCFG/switch_formation.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/SimplifyCFG/switch_formation.ll b/test/Transforms/SimplifyCFG/switch_formation.ll
index f225e8dd0d..60169fe92d 100644
--- a/test/Transforms/SimplifyCFG/switch_formation.ll
+++ b/test/Transforms/SimplifyCFG/switch_formation.ll
@@ -2,7 +2,7 @@
bool %_ZN4llvm11SetCondInst7classofEPKNS_11InstructionE({uint, uint}* %I) {
entry:
- %tmp.1.i = getelementptr {uint, uint}* %I, long 0, ubyte 1
+ %tmp.1.i = getelementptr {uint, uint}* %I, long 0, uint 1
%tmp.2.i = load uint* %tmp.1.i
%tmp.2 = seteq uint %tmp.2.i, 14
br bool %tmp.2, label %shortcirc_done.4, label %shortcirc_next.0