This is an archive of the discontinued LLVM Phabricator instance.

Only emit extension for zeroext/signext arguments if type is < 32 bits
ClosedPublic

Authored by jholewinski on Jun 27 2016, 11:25 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

jholewinski retitled this revision from to Only emit extension for zeroext/signext arguments if type is < 32 bits.
jholewinski updated this object.
jholewinski added reviewers: jingyue, jlebar.
jlebar edited edge metadata.Jun 27 2016, 11:35 AM

The testcase seems to cover the first if statement but not the second one -- is that right? If so, is it possible to write a test for the second one, too?

jholewinski edited edge metadata.

Add test for signext case

jlebar accepted this revision.Jun 27 2016, 12:39 PM
jlebar edited edge metadata.
This revision is now accepted and ready to land.Jun 27 2016, 12:39 PM
This revision was automatically updated to reflect the committed changes.