[all-commits] [llvm/llvm-project] 5cf510: [VP] Correct LEGALPOS for more VP nodes.

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Sep 2 08:13:57 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5cf510115afd54d0f45035957a9ad0e3425bee6c
      https://github.com/llvm/llvm-project/commit/5cf510115afd54d0f45035957a9ad0e3425bee6c
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-09-02 (Fri, 02 Sep 2022)

  Changed paths:
    M llvm/include/llvm/IR/VPIntrinsics.def

  Log Message:
  -----------
  [VP] Correct LEGALPOS for more VP nodes.

LEGALPOS appears to only be used by LegalizeVectorOps. It needs
to point at a vector operand. Stores need to point at the second
operand since the result and the first operand are MVT::Other.
Reductions need to point at the second operand since the result
and the first operand are scalsrs.

Reviewed By: rogfer01

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




More information about the All-commits mailing list