mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-26 07:29:55 +00:00
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
|
|
}
|