[PATCH] D67722: [PowerPC] Remove redundant CRSET/CRUNSET in custom lowering of known CR bit spills
    Amy Kwan via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Sep 26 12:37:28 PDT 2019
    
    
  
amyk added inline comments.
================
Comment at: llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp:759
       break;
+    if (Ins->readsRegister(SrcReg, TRI))
+      SeenUse = true;
----------------
Maybe we can add an extra comment here, like how there is a comment above the `modifiesRegister()` call?
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67722/new/
https://reviews.llvm.org/D67722
    
    
More information about the llvm-commits
mailing list