Page MenuHomePhabricator

AMDGPU/GlobalISel: Fix tablegen selection for scalar bin ops
ClosedPublic

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

Details

Summary

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