This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Diagnose PC-writing instructions in IT blocks
ClosedPublic

Authored by olista01 on Feb 27 2017, 2:22 AM.

Details

Summary

In Thumb2, instructions which write to the PC are UNPREDICTABLE if they are in an IT block but not the last instruction in the block.

Previously, we only diagnosed this for LDM instructions, this patch extends the diagnostic to cover all of the relevant instructions.

Diff Detail

Repository
rL LLVM

Event Timeline

olista01 created this revision.Feb 27 2017, 2:22 AM
SjoerdMeijer accepted this revision.Feb 28 2017, 1:51 AM

Looks good to me.

This revision is now accepted and ready to land.Feb 28 2017, 1:51 AM
This revision was automatically updated to reflect the committed changes.