[all-commits] [llvm/llvm-project] 7a605a: [AArch64] Use simd mov to materialize big fp const...

Allen via All-commits all-commits at lists.llvm.org
Fri Mar 4 08:36:12 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7a605ab7bfbc681c34335684f45b7da32d495db1
      https://github.com/llvm/llvm-project/commit/7a605ab7bfbc681c34335684f45b7da32d495db1
  Author: zhongyunde <zhongyunde at huawei.com>
  Date:   2022-03-04 (Fri, 04 Mar 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64InstrFormats.td
    M llvm/lib/Target/AArch64/AArch64InstrInfo.td
    M llvm/test/CodeGen/AArch64/fabs.ll
    M llvm/test/CodeGen/AArch64/fcvt-fixed.ll
    M llvm/test/CodeGen/AArch64/fpimm.ll
    M llvm/test/CodeGen/AArch64/fptosi-sat-scalar.ll
    M llvm/test/CodeGen/AArch64/fptosi-sat-vector.ll
    A llvm/test/CodeGen/AArch64/remat-const-float-simd.ll
    M llvm/test/CodeGen/AArch64/vecreduce-fadd-legalization.ll

  Log Message:
  -----------
  [AArch64] Use simd mov to materialize big fp constants

mov w8, #1325400064 + fmov s0, w8 ==> movi v0.2s, 0x4f, lsl 24
Fix https://github.com/llvm/llvm-project/issues/53651

Reviewed By: dmgreen, fhahn

Differential Revision: https://reviews.llvm.org/D120452




More information about the All-commits mailing list