aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/fmul-zero.ll
blob: 03bad6594128b29bbc218a835c1b949951f9c5a8 (plain)
1
2
3
4
5
6
7
8
9
; RUN: llc < %s -march=x86-64 -enable-unsafe-fp-math | not grep mulps
; RUN: llc < %s -march=x86-64 | grep mulps

define void @test14(<4 x float>*) nounwind {
        load <4 x float>* %0, align 1
        fmul <4 x float> %2, zeroinitializer
        store <4 x float> %3, <4 x float>* %0, align 1
        ret void
}