Files
clang-p2996/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Pengcheng Wang 18f0f70934 [RISCV] Support llvm.masked.expandload intrinsic (#101954)
We can use `viota`+`vrgather` to synthesize `vdecompress` and lower
expanding load to `vcpop`+`load`+`vdecompress`.

And if `%mask` is all ones, we can lower expanding load to a normal
unmasked load.

Fixes #101914.
2024-10-31 20:03:58 +08:00

855 KiB