[all-commits] [llvm/llvm-project] 0ad83b: [RISCV] Don't look through EXTRACT_ELEMENT in lowe...

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Jan 18 22:35:36 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0ad83bc26c37048aa88ad036a4d853d847d37ec7
      https://github.com/llvm/llvm-project/commit/0ad83bc26c37048aa88ad036a4d853d847d37ec7
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-01-18 (Thu, 18 Jan 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/fold-binary-reduce.ll

  Log Message:
  -----------
  [RISCV] Don't look through EXTRACT_ELEMENT in lowerScalarInsert if the element types are different. (#78668)

If the element type of the vector we're extracting from doesn't match the type we're
inserting into, we can't directly insert or extract the subvector.




More information about the All-commits mailing list