[all-commits] [llvm/llvm-project] 06c89b: [RISCV] Check type is legal before combining mgath...

Luke Lau via All-commits all-commits at lists.llvm.org
Thu Feb 8 14:51:22 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 06c89bd59ca2279f76a41e851b7b2df634a6191e
      https://github.com/llvm/llvm-project/commit/06c89bd59ca2279f76a41e851b7b2df634a6191e
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-02-09 (Fri, 09 Feb 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-masked-gather.ll

  Log Message:
  -----------
  [RISCV] Check type is legal before combining mgather to vlse intrinsic (#81107)

Otherwise we will crash since target intrinsics don't have their types
legalized. Let the mgather get legalized first, then do the combine on
the legal type.
Fixes #81088

Co-authored-by: Craig Topper <craig.topper at sifive.com>




More information about the All-commits mailing list