diff options
author | Luke Lau <luke@igalia.com> | 2025-01-16 10:50:02 +0800 |
---|---|---|
committer | Luke Lau <luke@igalia.com> | 2025-01-16 11:28:05 +0800 |
commit | ec5d17b58779e2fb08a7c9c706b2842586f71f78 (patch) | |
tree | b163ed58d9a082317dbfca5500fa510aaa25adee /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 98dbce3cac38ccac3f4b1cad0865aaa7ca0aee5d (diff) | |
download | llvm-ec5d17b58779e2fb08a7c9c706b2842586f71f78.zip llvm-ec5d17b58779e2fb08a7c9c706b2842586f71f78.tar.gz llvm-ec5d17b58779e2fb08a7c9c706b2842586f71f78.tar.bz2 |
[RISCV] Explicitly check for passthru in doPeepholeMaskedRVV. NFC
We were previously checking a combination of the vector policy op and
the opcode to determine if we needed to skip copying the passthru from
a masked pseudo to an unmasked pseudo.
However we can just do this by checking
RISCVII::isFirstDefTiedToFirstUse, which is a proxy for whether or not
a pseudo has a passthru operand.
This should hopefully remove the need for the changes in #123106
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions