[PATCH] D74729: [FPEnv] Intrinsic for setting rounding mode

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 28 12:21:30 PDT 2020


craig.topper added a comment.

In D74729#2358796 <https://reviews.llvm.org/D74729#2358796>, @sepavloff wrote:

> In D74729#2358110 <https://reviews.llvm.org/D74729#2358110>, @craig.topper wrote:
>
>> Do we need type legalization support for targets like RISCV where i32 isn't a legal type in SelectionDAG?
>
> Lowering of the intrinsic is anyway custom. Default promotion to i64 is OK.

There is no default promotion code. Each opcode that needs to be promoted by type legalization must be handled in LegalizeIntegerTypes.cpp


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D74729



More information about the llvm-commits mailing list