This is an archive of the discontinued LLVM Phabricator instance.

[Hexagon] Fix "LowerFormalArguments emitted a value with the wrong type!" assertion
ClosedPublic

Authored by michaelwu on Apr 12 2017, 6:08 PM.

Details

Summary

When passing arguments (that aren't i32) by reference on the stack, SelectionDAGISel::LowerArguments asserts on the Hexagon backend due to the wrong type being used. -debug-only=isel is necessary to trigger the assertion.

Diff Detail

Repository
rL LLVM

Event Timeline

michaelwu created this revision.Apr 12 2017, 6:08 PM
kparzysz accepted this revision.Apr 13 2017, 6:04 AM

Thanks!

This revision is now accepted and ready to land.Apr 13 2017, 6:04 AM

I don't have commit access - can someone land this and D32000 for me?

This revision was automatically updated to reflect the committed changes.