[PATCH] D132435: [RISCV] Fold fp_to_int(ftrunc (X)) -> fp_to_int(X) for vector.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 15 01:03:44 PST 2023
craig.topper added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:8830
EVT VT = N->getValueType(0);
- if (VT != MVT::i32 && VT != XLenVT)
+ bool IsVector = VT.isVector();
+
----------------
A different vector implementation was implemented in D141599
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132435/new/
https://reviews.llvm.org/D132435
More information about the llvm-commits
mailing list