Page MenuHomePhabricator

AMDGPU/GlobalISel: Fix tablegen selection for scalar bin ops

Authored by arsenm on Fri, Jan 24, 11:27 AM.



Fixes selection for scalar G_SMULH/G_UMULH. Also switches to using
tablegen selected add/sub, which switch to the signed version of the
opcode. This matches the current DAG behavior. We can't drop the
manual selection for add/sub yet, because it's still both for VALU
add/sub and for G_PTR_ADD.

Diff Detail