[all-commits] [llvm/llvm-project] c7b0a6: [RISCV] Check type is legal before combining mgath...
Luke Lau via All-commits
all-commits at lists.llvm.org
Mon Feb 19 16:44:02 PST 2024
Branch: refs/heads/release/18.x
Home: https://github.com/llvm/llvm-project
Commit: c7b0a6ecd442363620d13e44077ca25a5f59fb59
https://github.com/llvm/llvm-project/commit/c7b0a6ecd442363620d13e44077ca25a5f59fb59
Author: Luke Lau <luke at igalia.com>
Date: 2024-02-19 (Mon, 19 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>
(cherry picked from commit 06c89bd59ca2279f76a41e851b7b2df634a6191e)
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list