[PATCH] D110312: [X86][ISel] setOperationAction for FROUND(f16) and FROUNDEVEN(f16)

Freddy, Ye via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 23 01:38:55 PDT 2021


FreddyYe marked an inline comment as done.
FreddyYe added inline comments.


================
Comment at: llvm/test/CodeGen/X86/fp-roundeven.ll:45
+; AVX512FP16-NEXT:    vcvtsh2ss %xmm0, %xmm0, %xmm0
+; AVX512FP16-NEXT:    vroundss $8, %xmm0, %xmm0, %xmm0
+; AVX512FP16-NEXT:    vcvtss2sh %xmm0, %xmm0, %xmm0
----------------
craig.topper wrote:
> Why can’t this just be vrndscalesh?
Yes, It can. It was a mistake. I'll update, including the summary.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110312



More information about the llvm-commits mailing list