[llvm] [AArch64] Implement promotion type legalisation for histogram intrinsic (PR #101017)

Max Beck-Jones via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 31 05:47:03 PDT 2024


================
@@ -28018,9 +28021,17 @@ SDValue AArch64TargetLowering::LowerVECTOR_HISTOGRAM(SDValue Op,
   EVT IndexVT = Index.getValueType();
   EVT MemVT = EVT::getVectorVT(*DAG.getContext(), IncVT,
                                IndexVT.getVectorElementCount());
+  EVT IncExtVT = IndexVT.getVectorElementCount().getKnownMinValue() == 4
----------------
DevM-uk wrote:

Done.

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


More information about the llvm-commits mailing list