[PATCH] D158167: [AMDGPU] Handle isUndef flag in LiveVariables::recomputeForSingleDefVirtReg
    Jay Foad via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Sep  7 03:39:16 PDT 2023
    
    
  
foad 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));
----------------
This is just readsVirtualRegister
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