[PATCH] Optimize double storing by memset; memcpy

Joey Gouly joey.gouly at arm.com
Mon Mar 4 01:55:09 PST 2013



================
Comment at: lib/Transforms/Scalar/MemCpyOptimizer.cpp:834
@@ +833,3 @@
+  // call void @llvm.memset.p0i8.i32(i8* %newDest, i8 %setValTrunc,
+  //                                 i32 %newLen, i33 1, i1 false)
+
----------------
Why did this change? The original was correct.


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



More information about the llvm-commits mailing list