[PATCH] D24103: [peephole] Enhance folding logic to work for STATEPOINTs

Wei Mi via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 15 23:45:35 PDT 2016


wmi added inline comments.

================
Comment at: lib/CodeGen/PeepholeOptimizer.cpp:1586
@@ -1590,4 +1585,3 @@
         NAPhysToVirtMIs.clear();
-        continue;
       }
 
----------------
can we keep the continue and just let statepoint builtin to slip through? It is a little worrysome to let inlineasm or other instructions with sideeffect to try folding. 


https://reviews.llvm.org/D24103





More information about the llvm-commits mailing list