ret void
}
-; CHECK-LABEL: @ifThen_fneg(
+; CHECK-LABEL: @ifThen_binary_fneg(
; CHECK: fsub float -0.0
; CHECK: br i1 true
-define void @ifThen_fneg() {
+define void @ifThen_binary_fneg() {
br i1 true, label %a, label %b
a:
ret void
}
+; CHECK-LABEL: @ifThen_unary_fneg(
+; CHECK: fneg float
+; CHECK: br i1 true
+define void @ifThen_unary_fneg() {
+ br i1 true, label %a, label %b
+
+a:
+ %x = fneg float undef
+ br label %b
+
+b:
+ ret void
+}
+
; CHECK-LABEL: @ifThen_fmul(
; CHECK: fmul
; CHECK: br i1 true