aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/VirtualFileSystem.cpp
diff options
context:
space:
mode:
authorLuke Lau <luke@igalia.com>2024-08-24 20:14:28 +0800
committerGitHub <noreply@github.com>2024-08-24 20:14:28 +0800
commitbe5ecc35efc902a4742669d41a88cfd88babb245 (patch)
tree236706643d54f1ca02691b99fbbe7a77979f4e5d /llvm/lib/Support/VirtualFileSystem.cpp
parent001e423ac6261283f0289a774bf5e7577adb1ea6 (diff)
downloadllvm-be5ecc35efc902a4742669d41a88cfd88babb245.zip
llvm-be5ecc35efc902a4742669d41a88cfd88babb245.tar.gz
llvm-be5ecc35efc902a4742669d41a88cfd88babb245.tar.bz2
[RISCV] Don't move source if passthru already dominates in vmv.v.v peephole (#105792)
Currently we move the source down to where vmv.v.v to make sure that the new passthru dominates, but we do this even if it already does. This adds a simple local dominance check (taken from X86FastPreTileConfig.cpp) and avoids doing the move if it can. It also modifies the move to only move it to just past the passthru definition, and not all the way down to the vmv.v.v. This allows folding to succeed in some edge cases, which prevents regressions in an upcoming patch.
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions