mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-25 04:39:51 +00:00
990d639f55
MIPS64 can generate constant +0.0 with a single DMTC1 instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146999 91177308-0d34-0410-b5e6-96231b3b80d8
8 lines
171 B
LLVM
8 lines
171 B
LLVM
; RUN: llc < %s -march=mips64el -mcpu=mips64 -mattr=n64 | FileCheck %s
|
|
|
|
define double @foo1() nounwind readnone {
|
|
entry:
|
|
; CHECK: dmtc1 $zero
|
|
ret double 0.000000e+00
|
|
}
|