[all-commits] [llvm/llvm-project] 024af4: [ARM] Custom lower i1 vector truncates

David Green via All-commits all-commits at lists.llvm.org
Fri Jan 8 10:21:30 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 024af42c601063e5f831b3049612321b5629e00a
      https://github.com/llvm/llvm-project/commit/024af42c601063e5f831b3049612321b5629e00a
  Author: David Green <david.green at arm.com>
  Date:   2021-01-08 (Fri, 08 Jan 2021)

  Changed paths:
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/lib/Target/ARM/ARMInstrMVE.td
    M llvm/test/CodeGen/Thumb2/mve-pred-ext.ll

  Log Message:
  -----------
  [ARM] Custom lower i1 vector truncates

The ISel patterns we have for truncating to i1's under MVE do not seem
to be correct. Instead custom lower to icmp(ne, and(x, 1), 0).

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




More information about the All-commits mailing list