This is an archive of the discontinued LLVM Phabricator instance.

[SPARC] Implement shouldExtI32* hooks.
AbandonedPublic

Authored by koriakin on Jun 28 2016, 11:09 AM.

Details

Summary

On Sparc V9, i32 parameters corresponding to C-level int or unsigned int
need signext or zeroext attribute, respectively. Fill the TTI hooks so
that LLVM passes inserting library calls with such parameters know to use
the attribute.

Diff Detail

Repository
rL LLVM

Event Timeline

koriakin retitled this revision from to [SPARC] Implement shouldExtI32* hooks..
koriakin updated this object.
koriakin added a reviewer: lero_chris.
koriakin set the repository for this revision to rL LLVM.
koriakin added a subscriber: llvm-commits.
jyknight accepted this revision.Jun 28 2016, 11:47 AM
jyknight added a reviewer: jyknight.

Sparc-specific bit looks fine, at least.

This revision is now accepted and ready to land.Jun 28 2016, 11:47 AM
lero_chris accepted this revision.Jun 28 2016, 4:07 PM
lero_chris edited edge metadata.
koriakin abandoned this revision.Nov 23 2016, 6:16 AM

Abandoning in favor of D21739.