compile: double test() {}
authorChris Lattner <sabre@nondot.org>
Tue, 11 Mar 2008 06:21:08 +0000 (06:21 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 11 Mar 2008 06:21:08 +0000 (06:21 +0000)
commit5d03f21744f30988b962f023bd397bb5c6a20178
treeaa78148289a2a56acf84060bae2a435bcd5fc414
parent3c78697a3cb6e98d904535606fbebab7746d1161
compile: double test() {}

into:

_test:
fldz
ret

instead of:

_test:
subl $12, %esp
#IMPLICIT_DEF %xmm0
movsd %xmm0, (%esp)
fldl (%esp)
addl $12, %esp
ret

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48213 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAG.cpp