summaryrefslogtreecommitdiffstats
path: root/llvm/test/Regression/Transforms/SimplifyCFG/switch_formation.ll
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
commit0e43e15fc99897fe844cc22c4cf88cb2021b251a (patch)
tree0ff1240dd93a0af820fca1737b50f3efed479e47 /llvm/test/Regression/Transforms/SimplifyCFG/switch_formation.ll
parent09b7e4d3ab012ad8272ba4a926acbcee064757a2 (diff)
downloadbcm5719-llvm-0e43e15fc99897fe844cc22c4cf88cb2021b251a.tar.gz
bcm5719-llvm-0e43e15fc99897fe844cc22c4cf88cb2021b251a.zip
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. llvm-svn: 31896
Diffstat (limited to 'llvm/test/Regression/Transforms/SimplifyCFG/switch_formation.ll')
-rw-r--r--llvm/test/Regression/Transforms/SimplifyCFG/switch_formation.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Regression/Transforms/SimplifyCFG/switch_formation.ll b/llvm/test/Regression/Transforms/SimplifyCFG/switch_formation.ll
index f225e8dd0de..60169fe92d5 100644
--- a/llvm/test/Regression/Transforms/SimplifyCFG/switch_formation.ll
+++ b/llvm/test/Regression/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
OpenPOWER on IntegriCloud