1 ; RUN: opt < %s -basicaa -slp-vectorizer -dce -S -mtriple=x86_64-apple-macosx10.8.0 -mcpu=corei7 2 3 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128" 4 target triple = "x86_64-apple-macosx10.8.0" 5 6 %class.btVector3.23.221.463.485.507.573.595.683.727.749.815.837.991.1585.1607.1629.1651.1849.2047.2069.2091.2113 = type { [4 x float] } 7 8 ; Function Attrs: ssp uwtable 9 define void @_ZN11HullLibrary15CleanupVerticesEjPK9btVector3jRjPS0_fRS0_(%class.btVector3.23.221.463.485.507.573.595.683.727.749.815.837.991.1585.1607.1629.1651.1849.2047.2069.2091.2113* %vertices) #0 align 2 { 10 entry: 11 br i1 undef, label %return, label %if.end 12 13 if.end: ; preds = %entry 14 br label %for.body 15 16 for.body: ; preds = %if.end22.2, %if.end 17 br i1 undef, label %if.then17.1, label %if.end22.1 18 19 for.end36: ; preds = %if.end22.2 20 br label %for.body144 21 22 for.body144: ; preds = %for.body144, %for.end36 23 br i1 undef, label %for.end227, label %for.body144 24 25 for.end227: ; preds = %for.body144 26 br i1 undef, label %for.end271, label %for.body233 27 28 for.body233: ; preds = %for.body233, %for.end227 29 br i1 undef, label %for.body233, label %for.end271 30 31 for.end271: ; preds = %for.body233, %for.end227 32 %0 = phi float [ 0x47EFFFFFE0000000, %for.end227 ], [ undef, %for.body233 ] 33 %1 = phi float [ 0x47EFFFFFE0000000, %for.end227 ], [ undef, %for.body233 ] 34 %sub275 = fsub float undef, %1 35 %sub279 = fsub float undef, %0 36 br i1 undef, label %if.then291, label %return 37 38 if.then291: ; preds = %for.end271 39 %mul292 = fmul float %sub275, 5.000000e-01 40 %add294 = fadd float %1, %mul292 41 %mul295 = fmul float %sub279, 5.000000e-01 42 %add297 = fadd float %0, %mul295 43 br i1 undef, label %if.end332, label %if.else319 44 45 if.else319: ; preds = %if.then291 46 br i1 undef, label %if.then325, label %if.end327 47 48 if.then325: ; preds = %if.else319 49 br label %if.end327 50 51 if.end327: ; preds = %if.then325, %if.else319 52 br i1 undef, label %if.then329, label %if.end332 53 54 if.then329: ; preds = %if.end327 55 br label %if.end332 56 57 if.end332: ; preds = %if.then329, %if.end327, %if.then291 58 %dx272.1 = phi float [ %sub275, %if.then329 ], [ %sub275, %if.end327 ], [ 0x3F847AE140000000, %if.then291 ] 59 %dy276.1 = phi float [ undef, %if.then329 ], [ undef, %if.end327 ], [ 0x3F847AE140000000, %if.then291 ] 60 %sub334 = fsub float %add294, %dx272.1 61 %sub338 = fsub float %add297, %dy276.1 62 %arrayidx.i.i606 = getelementptr inbounds %class.btVector3.23.221.463.485.507.573.595.683.727.749.815.837.991.1585.1607.1629.1651.1849.2047.2069.2091.2113, %class.btVector3.23.221.463.485.507.573.595.683.727.749.815.837.991.1585.1607.1629.1651.1849.2047.2069.2091.2113* %vertices, i64 0, i32 0, i64 0 63 store float %sub334, float* %arrayidx.i.i606, align 4 64 %arrayidx3.i607 = getelementptr inbounds %class.btVector3.23.221.463.485.507.573.595.683.727.749.815.837.991.1585.1607.1629.1651.1849.2047.2069.2091.2113, %class.btVector3.23.221.463.485.507.573.595.683.727.749.815.837.991.1585.1607.1629.1651.1849.2047.2069.2091.2113* %vertices, i64 0, i32 0, i64 1 65 store float %sub338, float* %arrayidx3.i607, align 4 66 br label %return 67 68 return: ; preds = %if.end332, %for.end271, %entry 69 ret void 70 71 if.then17.1: ; preds = %for.body 72 br label %if.end22.1 73 74 if.end22.1: ; preds = %if.then17.1, %for.body 75 br i1 undef, label %if.then17.2, label %if.end22.2 76 77 if.then17.2: ; preds = %if.end22.1 78 br label %if.end22.2 79 80 if.end22.2: ; preds = %if.then17.2, %if.end22.1 81 br i1 undef, label %for.end36, label %for.body 82 } 83 84 attributes #0 = { ssp uwtable "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf"="false" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } 85