; RUN: llvm-as < %s | opt -instcombine | llvm-dis | %prcontext div 1 | grep ret;; This tests that the instructions in the entry blocks are sunk into each;; arm of the 'if'.int%foo(bool%C,int%A,int%B){entry:%tmp.2=divint%A,%B%tmp.9=addint%B,%Abrbool%C,label%then,label%endifthen:retint%tmp.9endif:retint%tmp.2}