[PATCH] D72814: [AArch64][GlobalISel] Change G_FCONSTANTs feeding into stores into G_CONSTANTS

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 16 09:25:41 PST 2020


aemerson added a comment.

I think in cases where it's possible to use an fmov with immediate:

  fmov s0, #fpimm
  str s0, [x0]

We should do that over forcing going through GPR. When we go through gpr, there might be fp immediate values which cannot be represented with a single instruction GPR register materialization, instead requiring movk/movz.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72814/new/

https://reviews.llvm.org/D72814





More information about the llvm-commits mailing list