[LoongArch] Add codegen support for frint
According to the revised description in `LoongArch Reference Manual v1.02`, frint.[s/d] does not judge whether floating-point inexact exceptions are allowed indicated by FCSR, i.e. always executes roundToIntegralExact(x). What's more, the manual also specifically defines that frint.s/d is only necessary to be defined in LA64. So ISD::FRINT is legal for LA64. Differential Revision: https://reviews.llvm.org/D133337
parent
aa83bdd1
Please register or sign in to comment