1; RUN: llc < %s -march=x86-64 | FileCheck %s 2 3; rdar://11245199 4; PR12545 5define void @f(i32 %x, i32 %y) nounwind uwtable ssp { 6entry: 7; CHECK-LABEL: f: 8; CHECK-NOT: neg 9; CHECK: add 10 %sub = sub i32 0, %y 11 %cmp = icmp eq i32 %x, %sub 12 br i1 %cmp, label %if.then, label %if.end 13 14if.then: ; preds = %entry 15 tail call void @g() nounwind 16 br label %if.end 17 18if.end: ; preds = %if.then, %entry 19 ret void 20} 21 22declare void @g() 23