[PATCH] D121277: [MachineSink] Check block prologue does not clobber uses
    Ruiling, Song via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Mar 17 05:22:13 PDT 2022
    
    
  
ruiling accepted this revision.
ruiling added a comment.
To the best of my knowledge, this should work. But please wait one or two days in case others have more comment. Please also update commit message before push.
================
Comment at: llvm/lib/CodeGen/MachineSink.cpp:1332
+            return true;
+        }
+      }
----------------
```
auto *DefOp = PI->findRegisterDefOperand(...);
if (DefOp && !DefOp->isDead())
  return true;
```
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D121277/new/
https://reviews.llvm.org/D121277
    
    
More information about the llvm-commits
mailing list