[PATCH] D61391: [AArc64] Handle ISD::LROUND and ISD::LLROUND
Adhemerval Zanella via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 13 10:16:44 PDT 2019
zatrazz marked an inline comment as done.
zatrazz added inline comments.
================
Comment at: llvm/lib/Target/AArch64/AArch64InstrInfo.td:3076
+def : Pat<(i64 (lround f32:$Rn)),
+ (!cast<Instruction>(FCVTASUXSr) f32:$Rn)>;
----------------
SjoerdMeijer wrote:
> I think this is supported too for f16s with Armv8.2.
Indeed it does, but FPToIntegerPats does not define a pattern for f16 currently. I think one possible addition would to extends fp to/from int pattern to f16 as well, however, I also think it is out the scope of this specific patch.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61391/new/
https://reviews.llvm.org/D61391
More information about the llvm-commits
mailing list