[PATCH] Fix three bugs in loop unswitching related to trivial unswitching and the threshold parameter
Bjarke Hammersholt Roune
broune at google.com
Wed Jun 10 22:02:11 PDT 2015
Change unswitching cost calculation from std::min(NumInstructions, 5 * NumBlocks) to NumInstructions.
http://reviews.llvm.org/D10376
Files:
lib/Transforms/Scalar/LoopUnswitch.cpp
test/Transforms/LoopUnswitch/2015-06-10-Threshold.ll
test/Transforms/LoopUnswitch/2015-06-10-Trivial.ll
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10376.27485.patch
Type: text/x-patch
Size: 7439 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150611/3b98156f/attachment.bin>
More information about the llvm-commits
mailing list