[all-commits] [llvm/llvm-project] 850f30: [ARM][MVE] Don't allow tail-predication with else ...

David Green via All-commits all-commits at lists.llvm.org
Wed May 29 01:08:56 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 850f30c3ba378321538233b3cfbd93ae2efef77f
      https://github.com/llvm/llvm-project/commit/850f30c3ba378321538233b3cfbd93ae2efef77f
  Author: David Green <david.green at arm.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
    A llvm/test/CodeGen/Thumb2/mve-tailpred-vptblock.ll

  Log Message:
  -----------
  [ARM][MVE] Don't allow tail-predication with else predicates

The test case contains a vpt block with an else predicated instruction. This
might not be very unrealistic, but currently crashes due to not being able to
handle the else. The instruction would need to be removed. This patch adds some
extra checks that none of the instructions in vpt block is else predicated,
leaving it using vctp.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list