diff options
author | gonglingqin <gonglingqin@loongson.cn> | 2022-09-09 14:12:07 +0800 |
---|---|---|
committer | gonglingqin <gonglingqin@loongson.cn> | 2022-09-09 14:25:34 +0800 |
commit | da8c9521eeb7daf26ca0ff72361644b7edfeecc9 (patch) | |
tree | 341da634c69410cde9a3f6043270c64421acc7d9 /llvm/lib/Support/CommandLine.cpp | |
parent | aa83bdd1982fbf1174d0769a7842a86779041f37 (diff) | |
download | llvm-da8c9521eeb7daf26ca0ff72361644b7edfeecc9.zip llvm-da8c9521eeb7daf26ca0ff72361644b7edfeecc9.tar.gz llvm-da8c9521eeb7daf26ca0ff72361644b7edfeecc9.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions