[GIsel] Add missing libcall for G_MUL to LegalizerHelper
authorKai Nacke <kai.nacke@de.ibm.com>
Tue, 2 Aug 2022 17:12:38 +0000 (13:12 -0400)
committerKai Nacke <kai.nacke@de.ibm.com>
Tue, 2 Aug 2022 17:35:25 +0000 (13:35 -0400)
commitb38375378dea604b8957f35d6c8a128c63c971d9
treeaa173e63d81fcc06dc8a79750fd4aff0881f3545
parentd3c4609855e161a8f7a845b42e685ce8273af09c
[GIsel] Add missing libcall for G_MUL to LegalizerHelper

The LegalizerHelper misses the code to lower G_MUL to a library call,
which this change adds.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D130987
llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
llvm/unittests/CodeGen/GlobalISel/LegalizerHelperTest.cpp