[PATCH] D84923: [ARM] Fix so immediates and pc relative checks

Simon Wallis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 25 01:33:02 PDT 2020


simonwallis2 updated this revision to Diff 287591.
simonwallis2 added a comment.

Reinstated the change to pc offset.
This is necessary for ARM-state SO immediates.

Added a test case which tries to place a constant pool after a gap of a specified count of bytes,
or when that is not a valid offset it falls back to inserting the constant pool locally.
This test is invoked several times at significant offsets to demonstrate that the limits are correct.


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

https://reviews.llvm.org/D84923

Files:
  llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
  llvm/test/CodeGen/ARM/constant-island-SOImm-limit.mir
  llvm/test/CodeGen/ARM/constant-island-SOImm.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84923.287591.patch
Type: text/x-patch
Size: 20119 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200825/92caafb2/attachment.bin>


More information about the llvm-commits mailing list