[all-commits] [llvm/llvm-project] 2b3bec: [AArch64][GlobalISel] Add new MOVI pattern for fp ...

Allen via All-commits all-commits at lists.llvm.org
Mon Mar 28 19:57:50 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2b3becb41d2b3f2931f78643af23ce9a3842ab52
      https://github.com/llvm/llvm-project/commit/2b3becb41d2b3f2931f78643af23ce9a3842ab52
  Author: zhongyunde <zhongyunde at huawei.com>
  Date:   2022-03-29 (Tue, 29 Mar 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64InstrFormats.td
    M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
    A llvm/test/CodeGen/AArch64/fast-isel-const-float.ll

  Log Message:
  -----------
  [AArch64][GlobalISel] Add new MOVI pattern for fp constants

GlobalISel is used in option -O0, so add MOVI pattern for it,
which is done similar in gcc.(https://godbolt.org/z/8j6fzG3h6)

Fix https://github.com/llvm/llvm-project/issues/53651

Reviewed By: dmgreen, paquette

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




More information about the All-commits mailing list