1 ; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | %prcontext div 1 | grep then:
3 ;; This tests that the div is hoisted into the then block.
5 int %foo(bool %C, int %A, int %B) {
7 br bool %C, label %then, label %endif
13 %X = phi int [%A, %then], [15, %entry]