This is an archive of the discontinued LLVM Phabricator instance.

[ARM] GlobalISel: Allow i16 and i8 adds
ClosedPublic

Authored by rovka on Dec 13 2016, 2:13 AM.

Details

Summary

This allows i8 and i16 adds, as well as lowering of i8 and i16 function
arguments. Note however that the lowering is incomplete - ABI extensions are
handled in a subsequent patch.

Diff Detail

Repository
rL LLVM

Event Timeline

rovka updated this revision to Diff 81197.Dec 13 2016, 2:13 AM
rovka retitled this revision from to [ARM] GlobalISel: Allow i16 and i8 adds.
rovka updated this object.
rovka added reviewers: ab, qcolombet, t.p.northover.
rovka added subscribers: llvm-commits, rengolin, dsanders.
t.p.northover accepted this revision.Dec 16 2016, 11:26 AM
t.p.northover edited edge metadata.

This one also looks like 2 patches really (select more COPY cases, support more args), though again both pretty sensible.

lib/Target/ARM/ARMCallLowering.cpp
36 ↗(On Diff #81197)

Checking against vectors is probably good here, since you're changing it anyway. Somewhat surprisingly isInteger returns true for them.

This revision is now accepted and ready to land.Dec 16 2016, 11:26 AM
This revision was automatically updated to reflect the committed changes.