[all-commits] [llvm/llvm-project] f85acb: [ARM] Correct the type on a predicate cast

David Green via All-commits all-commits at lists.llvm.org
Tue May 5 05:15:45 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f85acb19158b9cefe54f5648412ead7e731256e8
      https://github.com/llvm/llvm-project/commit/f85acb19158b9cefe54f5648412ead7e731256e8
  Author: David Green <david.green at arm.com>
  Date:   2020-05-05 (Tue, 05 May 2020)

  Changed paths:
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    A llvm/test/CodeGen/Thumb2/mve-pred-convert.ll

  Log Message:
  -----------
  [ARM] Correct the type on a predicate cast

A PREDICATE_CAST(PREDICATE_CAST(X)) can be converted to a
PREDICATE_CAST(X) as the operation can convert between any forms of
predicates (v4i1/v8i1/v16i1/i32). Unfortunately I got the type wrong on
one of the rarer converts, which would lead to invalid nodes during
isel. This fixes it up to use the correct type.

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




More information about the All-commits mailing list