[PATCH] D96700: [llvm][Aarch64][SVE] Remove extra fmov instruction with certain literals

George Steed via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 15 04:15:43 PST 2021


georges added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td:559
 
+  // Duplicate immediate FP into all vector elements.
+  def : Pat<(nxv2f32 (AArch64dup (f32 fpimm:$val))),
----------------
do we also need patterns for f16/f64?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D96700



More information about the llvm-commits mailing list