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

Freddy, Ye via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 26 00:29:06 PDT 2021


FreddyYe marked 2 inline comments as done.
FreddyYe added inline comments.


================
Comment at: llvm/lib/Target/X86/X86ISelLowering.cpp:1954
     setOperationAction(ISD::STRICT_FSETCCS,       MVT::f16, Custom);
+    setOperationAction(ISD::FROUND,               MVT::f16, Custom);
+    setOperationAction(ISD::FROUNDEVEN,           MVT::f16, Promote);
----------------
craig.topper wrote:
> What about strict_fround?
> 
> Where are tests for strict_froundeven?
I used a report_fatal_error to deal with strict_fround.
Added.


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