[llvm-commits] [PATCH] Do not run LoopIdiomRecognizerPass inside memset() and friends.

arrowdodger 6yearold at gmail.com
Sun Jul 10 04:48:32 PDT 2011


When compiling
http://llvm.org/svn/llvm-project/klee/trunk/runtime/Intrinsic/memset.c with
-O2, LoopIdiomRecognizer pass inserts memset intrinsic into function body.
It causes recursion during execution in klee. Attached patch fixes this.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110710/1c504eef/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: loop-idiom.patch
Type: text/x-patch
Size: 651 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110710/1c504eef/attachment.bin>


More information about the llvm-commits mailing list