[all-commits] [llvm/llvm-project] a08c0a: [ARM][MVE] VTP Block Pass fix

sjoerdmeijer via All-commits all-commits at lists.llvm.org
Tue Jan 14 08:11:38 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a08c0adee072226179736c4f6caf3dd0b7a7c9af
      https://github.com/llvm/llvm-project/commit/a08c0adee072226179736c4f6caf3dd0b7a7c9af
  Author: Sjoerd Meijer <sjoerd.meijer at arm.com>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M llvm/lib/Target/ARM/MVEVPTBlockPass.cpp
    A llvm/test/CodeGen/Thumb2/mve-vpt-2-blocks-1-pred.mir

  Log Message:
  -----------
  [ARM][MVE] VTP Block Pass fix

Fix a missing and broken test: 2 VPT blocks predicated on the same VCMP
instruction that can be folded. The problem was that for each VPT block, we
record the predicate statements with a list, but the same instruction was added
twice. Thus, we were running in an assert trying to remove the same instruction
twice. To avoid this the instructions are now recorded with a set.

Differential Revision: https://reviews.llvm.org/D72699




More information about the All-commits mailing list