[PATCH] D82676: [CGP] Prevent optimizePhiType from iterating forever
    Eli Friedman via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Sep 11 16:16:59 PDT 2020
    
    
  
efriedma accepted this revision.
efriedma added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: llvm/lib/CodeGen/CodeGenPrepare.cpp:5909
+      DeletedInstrs.insert(D);
+    } else
       ValMap[D] =
----------------
Please use braces on both sides of the if/else.
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82676/new/
https://reviews.llvm.org/D82676
    
    
More information about the llvm-commits
mailing list