This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Diagnose ARM MOVT without :lower16: or :upper16: expression
ClosedPublic

Authored by olista01 on Mar 14 2017, 6:37 AM.

Details

Summary

This instruction was missing from the list of opcodes that we check, so we were hitting an llvm_unreachable in ARMMCCodeEmitter.cpp for the ARM MOVT instruction, rather than the diagnostic that is emitted for the other MOVW/MOVT instructions.

Diff Detail

Repository
rL LLVM

Event Timeline

olista01 created this revision.Mar 14 2017, 6:37 AM
rengolin accepted this revision.Mar 14 2017, 6:51 AM

Good catch! LGTM. Thanks!

This revision is now accepted and ready to land.Mar 14 2017, 6:51 AM
This revision was automatically updated to reflect the committed changes.