This is an archive of the discontinued LLVM Phabricator instance.

LegalizeDAG: Support promoting [US]DIV and [US]REM operations
ClosedPublic

Authored by tstellarAMD on Oct 17 2016, 2:11 PM.

Details

Summary

AMDGPU will need this one i16 is added as a legal type. This is tested by:

test/CodeGen/AMDGPU/sdiv.ll
test/CodeGen/AMDGPU/sdivrem24.ll
test/CodeGen/AMDGPU/udiv.ll
test/CodeGen/AMDGPU/udivrem24.ll

Diff Detail

Repository
rL LLVM

Event Timeline

tstellarAMD retitled this revision from to LegalizeDAG: Support promoting [US]DIV and [US]REM operations.
tstellarAMD updated this object.
tstellarAMD added a reviewer: bogner.
tstellarAMD added a subscriber: llvm-commits.
efriedma accepted this revision.Oct 24 2016, 2:50 PM
efriedma added a reviewer: efriedma.
efriedma added a subscriber: efriedma.

LGTM.

This revision is now accepted and ready to land.Oct 24 2016, 2:50 PM
This revision was automatically updated to reflect the committed changes.