This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Fix a check in vmov/vmvn immediate parsing
ClosedPublic

Authored by miyuki on Mar 14 2018, 3:37 AM.

Details

Summary

Currently the check is incorrect and the following invalid
instruction is accepted and incorrectly assembled:

vmov.i32        d2, #0x00a500a6

This patch fixes the issue.

Diff Detail

Repository
rL LLVM

Event Timeline

miyuki created this revision.Mar 14 2018, 3:37 AM

Renato, could you please also look at this patch (it is a dependency for https://reviews.llvm.org/D44467)

rengolin accepted this revision.Mar 16 2018, 5:29 AM

LGTM, thanks!

This revision is now accepted and ready to land.Mar 16 2018, 5:29 AM
This revision was automatically updated to reflect the committed changes.