[PATCH] D57044: [AArch64] OOptimize floating point materialization

Adhemerval Zanella via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 23 12:37:50 PST 2019


zatrazz updated this revision to Diff 183155.
zatrazz retitled this revision from "[AArch64] Optimize Inf materialization" to "[AArch64] OOptimize floating point materialization".
zatrazz edited the summary of this revision.
zatrazz added a comment.
Herald added a subscriber: mstorsjo.

Updated patch from previous comments. I added an extra check using AArch64_AM::isLogicalImmediate for constants that can be materialized as the immediate operand of a logical instruction. We still need to handle the cases for some 8-bit immediates on fmov using getFPXXImm and positive 0.0.


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

https://reviews.llvm.org/D57044

Files:
  lib/Target/AArch64/AArch64ISelLowering.cpp
  test/CodeGen/AArch64/fabs.ll
  test/CodeGen/AArch64/isinf.ll
  test/CodeGen/AArch64/known-never-nan.ll
  test/CodeGen/AArch64/win_cst_pool.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57044.183155.patch
Type: text/x-patch
Size: 7480 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190123/b410eac3/attachment.bin>


More information about the llvm-commits mailing list