[all-commits] [llvm/llvm-project] 21a97a: [AArch64] TBL uses zero for out of range elements.

David Green via All-commits all-commits at lists.llvm.org
Thu Mar 10 06:45:26 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 21a97a2ac11b81240c08753277dc1a234c6a7816
      https://github.com/llvm/llvm-project/commit/21a97a2ac11b81240c08753277dc1a234c6a7816
  Author: David Green <david.green at arm.com>
  Date:   2022-03-10 (Thu, 10 Mar 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/neon-bitwise-instructions.ll
    M llvm/test/CodeGen/AArch64/vselect-ext.ll

  Log Message:
  -----------
  [AArch64] TBL uses zero for out of range elements.

A TBL instruction will use zero for any out of range values. We can use
this in GenerateTBL to help turn a TBL2 into a TBL1, avoiding the need
to materialise the zero.

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




More information about the All-commits mailing list