1 ; RUN: llc < %s -march=x86 | FileCheck %s -check-prefix=X32
2 ; RUN: llc < %s -march=x86-64 | FileCheck %s -check-prefix=X64
5 define i32 @t(i32 %a, i32 %b) nounwind ssp {
19 %0 = and i32 %a, 16384
20 %1 = icmp ne i32 %0, 0
21 %2 = and i32 %b, 16384
22 %3 = icmp ne i32 %2, 0
24 br i1 %4, label %bb1, label %bb
27 %5 = tail call i32 (...)* @foo() nounwind ; <i32> [#uses=1]
31 %6 = tail call i32 (...)* @bar() nounwind ; <i32> [#uses=1]
39 define i32 @t2(i32 %x, i32 %y) nounwind ssp {
56 %0 = icmp eq i32 %x, 0 ; <i1> [#uses=1]
57 %1 = icmp eq i32 %y, 0 ; <i1> [#uses=1]
58 %2 = xor i1 %1, %0 ; <i1> [#uses=1]
59 br i1 %2, label %bb, label %return
62 %3 = tail call i32 (...)* @foo() nounwind ; <i32> [#uses=0]
65 return: ; preds = %entry