[PATCH] D158167: [AMDGPU] Handle isUndef flag in LiveVariables::recomputeForSingleDefVirtReg
Valery Pykhtin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 7 07:34:02 PDT 2023
vpykhtin marked an inline comment as done.
vpykhtin added inline comments.
================
Comment at: llvm/lib/CodeGen/LiveVariables.cpp:728
break;
- if (MI.readsRegister(Reg)) {
+ if (MI.readsWritesVirtualRegister(Reg).first) {
assert(!MI.killsRegister(Reg));
----------------
foad wrote:
> This is just readsVirtualRegister
Thanks!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D158167/new/
https://reviews.llvm.org/D158167
More information about the llvm-commits
mailing list