[all-commits] [llvm/llvm-project] c4ce96: ARM: skip debug instructions when matching jump-ta...

Tim Northover via All-commits all-commits at lists.llvm.org
Fri Feb 10 04:28:14 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c4ce967e3437864827fe8e8816c2a8993b4d796b
      https://github.com/llvm/llvm-project/commit/c4ce967e3437864827fe8e8816c2a8993b4d796b
  Author: Tim Northover <tnorthover at apple.com>
  Date:   2023-02-10 (Fri, 10 Feb 2023)

  Changed paths:
    M llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
    A llvm/test/CodeGen/ARM/jump-table-dbg-value.mir

  Log Message:
  -----------
  ARM: skip debug instructions when matching jump-table patterns.

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.

https://reviews.llvm.org/D142019




More information about the All-commits mailing list