OSDN Git Service

[ARM64] Fix materialization of an fp128 zero immediate. There currently
authorChandler Carruth <chandlerc@gmail.com>
Mon, 31 Mar 2014 00:02:10 +0000 (00:02 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 31 Mar 2014 00:02:10 +0000 (00:02 +0000)
commit2530cd31f441f959f9189f791cf8c5ccbdbce7e3
treecc86e821aafbec5b553be15f072c77cdbc192952
parentcb1800772aea0bfe409df9f16acd238b6a007474
[ARM64] Fix materialization of an fp128 zero immediate. There currently
is not a pattern to lower this with clever instructions that zero the
register, so restrict the zero immediate legality special case to f64
and f32 (the only two sizes which fmov seems to directly support). Fixes
backend errors when building code such as libxml.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205161 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM64/ARM64ISelLowering.cpp
test/CodeGen/ARM64/fp-imm.ll