[PATCH] D142019: ARM: skip debug instructions when matching jump-table patterns.

Tim Northover via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 18 07:14:41 PST 2023


t.p.northover created this revision.
Herald added subscribers: hiraditya, kristof.beyls, mcrosier.
Herald added a project: All.
t.p.northover requested review of this revision.
Herald added a project: LLVM.

When working out whether we can see a compressible jump-table pattern during ConstantIslands, we were stopping when we saw a debug instruction. Instead it's better to keep iterating backwards to the first real instruction.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D142019

Files:
  llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
  llvm/test/CodeGen/ARM/jump-table-dbg-value.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142019.490145.patch
Type: text/x-patch
Size: 64336 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230118/966ffaab/attachment.bin>


More information about the llvm-commits mailing list