diff options
author | Craig Topper <craig.topper@sifive.com> | 2023-03-07 08:59:48 -0800 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2023-03-07 08:59:48 -0800 |
commit | 8fa1e5e673f9b13ec3d060975c01b07e827f16dc (patch) | |
tree | 40a51b6bda6e5497a280e629463e96aca2ba155e /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | a2739f111d9795fe49109c26c2d816436f2143c3 (diff) | |
download | llvm-8fa1e5e673f9b13ec3d060975c01b07e827f16dc.zip llvm-8fa1e5e673f9b13ec3d060975c01b07e827f16dc.tar.gz llvm-8fa1e5e673f9b13ec3d060975c01b07e827f16dc.tar.bz2 |
[RISCV] Teach performCombineVMergeAndVOps to combine unmasked TU vpmerge with a masked MU TA op.
We can form a MU TU operation and remove the merge if they use the
same merge value.
My primary interest was a case involving VP intrinsics from our downstream,
but it requires another optimization that isn't in upstream yet. So I've used
RVV intrinsics to get the desired instructions.
Co-authored-by: Nitin John Raj <nitin.raj@sifive.com>
Reviewed By: fakepaper56
Differential Revision: https://reviews.llvm.org/D145272
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions