[PATCH] D95586: [ARM] permit PC as destination of MOVS

Renato Golin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 4 02:46:33 PST 2021


rengolin added a comment.

In D95586#2540002 <https://reviews.llvm.org/D95586#2540002>, @nickdesaulniers wrote:

> GNU objdump only warns with `<UNPREDICTABLE>` for the second form (which is the form this patch is concerned with).  That seems like good justification for removing the test from the kernel.

Agreed.

> It looks like GNU objdump also warns <UNPREDICTABLE> for adds  pc, lr, r1, lsl r2 and yet the integrated assembler accepted that, so it looks like a pre-existing bug/inconsistency in support for unpredictable encodings.

Indeed. Limiting this would be a patch to LLVM.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95586/new/

https://reviews.llvm.org/D95586



More information about the llvm-commits mailing list