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

Sumanth Gundapaneni via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 30 08:38:38 PDT 2024


================
@@ -4920,6 +4920,8 @@ LegalizerHelper::fewerElementsVector(MachineInstr &MI, unsigned TypeIdx,
   case G_INTRINSIC_LLRINT:
   case G_INTRINSIC_ROUND:
   case G_INTRINSIC_ROUNDEVEN:
+  case G_LROUND:
+  case G_LLROUND:
----------------
sgundapa wrote:

The lit test is not testing this but it will complete the handling of cases in line with similar intrinsic, LRINT.

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


More information about the llvm-commits mailing list