[llvm] Scalarize the vector inputs to llvm.lround intrinsic by default. (PR #101054)
Sumanth Gundapaneni via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 22 09:57:10 PDT 2024
================
@@ -2063,6 +2063,12 @@ class BasicTTIImplBase : public TargetTransformInfoImplCRTPBase<T> {
case Intrinsic::roundeven:
ISD = ISD::FROUNDEVEN;
break;
+ case Intrinsic::lround:
+ ISD = ISD::LROUND;
+ break;
+ case Intrinsic::llround:
+ ISD = ISD::LLROUND;
+ break;
----------------
sgundapa wrote:
pushed a patch - https://github.com/llvm/llvm-project/pull/105694
https://github.com/llvm/llvm-project/pull/101054
More information about the llvm-commits
mailing list