1 ; RUN: llc < %s -mtriple=x86_64-apple-macosx | FileCheck %s
3 ; Common "xorb al, al" instruction in the two successor blocks should be
4 ; moved to the entry block above the test + je.
8 define zeroext i1 @t(i32 %c) nounwind ssp {
11 ; CHECK: xorb %al, %al
14 %tobool = icmp eq i32 %c, 0
15 br i1 %tobool, label %return, label %if.then
19 %call = tail call zeroext i1 (...)* @foo() nounwind
24 %retval.0 = phi i1 [ %call, %if.then ], [ false, %entry ]
28 declare zeroext i1 @foo(...)