[PATCH] D86078: [AArch64] Improved lowering for saturating float to int.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 14 11:22:09 PDT 2020


efriedma added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64InstrInfo.td:3916
+  def : Pat<(v8i16 (to_int v8f16:$Rn, (i32 64))),
+            (!cast<Instruction>(INST # v8f16) $Rn)>;
+  def : Pat<(v2i32 (to_int v2f32:$Rn, (i32 32))),
----------------
`(v8i16 (to_int v8f16:$Rn, (i32 64)))`?  The 64 seems weird.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D86078



More information about the llvm-commits mailing list