llvm-project/llvm/test/CodeGen/X86/fmul-zero.ll

10 lines
337 B
LLVM
Raw Normal View History

; RUN: llc < %s -mtriple=x86_64-- -enable-unsafe-fp-math | not grep mulps
; RUN: llc < %s -mtriple=x86_64-- | grep mulps
define void @test14(<4 x float>*) nounwind {
load <4 x float>, <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
}