[PATCH] D70536: [ARM][ConstantIslands] Correct block size update

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 21 05:23:16 PST 2019


samparker created this revision.
samparker added reviewers: dmgreen, olista01, SjoerdMeijer.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: LLVM.

When inserting a non-decrementing LE, the basic block was being resized to take into consideration that a tCMP and tBcc had been combined into one T1 instruction. This is not true in the LE case where we generate a CBN?Z and an LE.


https://reviews.llvm.org/D70536

Files:
  llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
  llvm/test/CodeGen/Thumb2/LowOverheadLoops/out-of-range-cbz.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70536.230435.patch
Type: text/x-patch
Size: 24477 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191121/23980ce2/attachment.bin>


More information about the llvm-commits mailing list