[PATCH] A new HeapToStack allocation promotion pass

Joey Gouly joey.gouly at arm.com
Tue Sep 24 02:08:11 PDT 2013



================
Comment at: lib/Transforms/Scalar/HeapToStack.cpp:275
@@ +274,3 @@
+
+    if (VerifiedMallocs.count((Instruction *) FAddr)) {
+      DEBUG(dbgs() << "H2S: malloc " << *FAddr <<
----------------
Seems odd to use c-style casts?


http://llvm-reviews.chandlerc.com/D1745



More information about the llvm-commits mailing list