mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-06 12:04:52 +00:00
b68584d6d7
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281047 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
363 B
LLVM
Executable File
14 lines
363 B
LLVM
Executable File
; RUN: llc %s -O0 -march=sparc -mattr=replacefmuls -o - | FileCheck %s
|
|
|
|
; CHECK-LABEL: test_replace_fmuls
|
|
; CHECK: fsmuld %f1, %f0, %f2
|
|
; CHECK: fdtos %f2, %f0
|
|
; NOFIX-LABEL: test_replace_fmuls
|
|
; NOFIX: fmuls %f1, %f0, %f0
|
|
define float @test_replace_fmuls(float %a, float %b) {
|
|
entry:
|
|
%mul = fmul float %a, %b
|
|
|
|
ret float %mul
|
|
}
|