[llvm] ISel: introduce vector ISD::LRINT, ISD::LLRINT; custom RISCV lowering (PR #66924)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 20 09:10:04 PDT 2023
================
@@ -2005,6 +2006,9 @@ SDValue DAGCombiner::visit(SDNode *N) {
case ISD::UINT_TO_FP: return visitUINT_TO_FP(N);
case ISD::FP_TO_SINT: return visitFP_TO_SINT(N);
case ISD::FP_TO_UINT: return visitFP_TO_UINT(N);
+ case ISD::LRINT:
+ case ISD::LLRINT:
+ return visitXRINT(N);
----------------
RKSimon wrote:
Move the `return visitXRINT(N);` to the same column as the other opcodes (i.e.ignore clang-format)
https://github.com/llvm/llvm-project/pull/66924
More information about the llvm-commits
mailing list