[all-commits] [llvm/llvm-project] 807adc: [RISCV][InsertVSETVLI] Rework code structure to ma...

Philip Reames via All-commits all-commits at lists.llvm.org
Wed Jun 14 09:48:50 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 807adcf4b9cca5586fd1fb669811768528d9dd1d
      https://github.com/llvm/llvm-project/commit/807adcf4b9cca5586fd1fb669811768528d9dd1d
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2023-06-14 (Wed, 14 Jun 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp

  Log Message:
  -----------
  [RISCV][InsertVSETVLI] Rework code structure to make reasoning about undefined lanes explicit [NFC]

We already have several places in this code which reason about whether the inactive lanes are defined, and are about to add one more in D151653. Let's go ahead and common the code so that we don't have the same concept repeating in multiply places.

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




More information about the All-commits mailing list