diff options
author | Jeff Niu <jeff@modular.com> | 2024-08-24 13:19:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-24 13:19:44 -0400 |
commit | 31b4bf938b46001abbf2a58875047bf13ba083dd (patch) | |
tree | 6de69c9928bd6846e97e14dc935cfff862ee78ec /llvm/lib/Support/VirtualFileSystem.cpp | |
parent | a5d89d5048b6d62e6e327ba01eff276f398b7a51 (diff) | |
download | llvm-31b4bf938b46001abbf2a58875047bf13ba083dd.zip llvm-31b4bf938b46001abbf2a58875047bf13ba083dd.tar.gz llvm-31b4bf938b46001abbf2a58875047bf13ba083dd.tar.bz2 |
[llvm][NVPTX] Fix RAUW bug in NVPTXProxyRegErasure (#105871)
Fix bug introduced in #105730
The bug is in how the batch RAUW is implemented. If we have
```
%0 = mov %src
%1 = mov %0
use %0
use %1
```
The use of `%1` is rewritten to `%0`, not `%src`. This PR just looks for
a replacement when it maps to the src register, which should
transitively propagate the replacements.
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions