This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Use the correct opcodes for Thumb2 segmented stack frame lowering
ClosedPublic

Authored by dmgreen on Jan 2 2020, 3:24 AM.

Details

Summary

The segmented stack lowering code appears to be using ARM opcodes under Thumb2. The MRC opcode will be the same for Thumb and ARM, but t2LDR seems wrong. Either way, using the correct thumb vs arm opcodes is more correct.

Diff Detail

Event Timeline

dmgreen created this revision.Jan 2 2020, 3:24 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 2 2020, 3:24 AM
This revision is now accepted and ready to land.Jan 6 2020, 7:37 AM
This revision was automatically updated to reflect the committed changes.