1 ; RUN: opt -verify-memoryssa -passes=loop-rotate %s -S | FileCheck %s
5 define dso_local void @test() {
13 %v40 = phi ptr [ @foo, %preheader ], [ %v43, %crit_edge ]
14 %v41 = call float %v40(float undef)
15 %v42 = load i32, ptr undef, align 8
16 br i1 undef, label %crit_edge, label %loopexit
19 %v43 = load ptr, ptr undef, align 8
26 ; Function Attrs: readnone
27 declare dso_local float @foo(float) #0 align 32
29 attributes #0 = { readnone }