1 ; RUN: opt < %s -S -speculative-execution \
2 ; RUN: -spec-exec-max-speculation-cost 4 -spec-exec-max-not-hoisted 3 \
5 ; CHECK-LABEL: @ifThen_fadd(
8 define void @ifThen_fadd() {
9 br i1 true, label %a, label %b
12 %x = fadd float undef, undef
19 ; CHECK-LABEL: @ifThen_fsub(
22 define void @ifThen_fsub() {
23 br i1 true, label %a, label %b
26 %x = fsub float undef, undef
33 ; CHECK-LABEL: @ifThen_binary_fneg(
34 ; CHECK: fsub float -0.0
36 define void @ifThen_binary_fneg() {
37 br i1 true, label %a, label %b
40 %x = fsub float -0.0, undef
47 ; CHECK-LABEL: @ifThen_unary_fneg(
50 define void @ifThen_unary_fneg() {
51 br i1 true, label %a, label %b
61 ; CHECK-LABEL: @ifThen_fmul(
64 define void @ifThen_fmul() {
65 br i1 true, label %a, label %b
68 %x = fmul float undef, undef
75 ; CHECK-LABEL: @ifThen_fdiv(
78 define void @ifThen_fdiv() {
79 br i1 true, label %a, label %b
82 %x = fdiv float undef, undef
89 ; CHECK-LABEL: @ifThen_frem(
92 define void @ifThen_frem() {
93 br i1 true, label %a, label %b
96 %x = frem float undef, undef