[PATCH] [AArch64] enable rematerialization of float 0 values

Tim Northover t.p.northover at gmail.com
Fri Mar 20 13:31:59 PDT 2015

On 20 March 2015 at 12:57, Geoff Berry <gberry at codeaurora.org> wrote:
> Do you have any other ideas for generating a FMOV 0 that I can force to be spilled?

How about something like this:

define void @foo() {
  tail call void @bar(float 0.000000e+00)
  tail call void asm sideeffect "",
  tail call void @bar(float 0.000000e+00)
  ret void

declare void @bar(float)

More information about the llvm-commits mailing list