[llvm] Scalarize the vector inputs to llvm.lround intrinsic by default. (PR #101054)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 31 13:53:15 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;
----------------
arsenm wrote:

This is a separate change that should get cost model tests 

https://github.com/llvm/llvm-project/pull/101054


More information about the llvm-commits mailing list