[llvm-commits] [PATCH] X86: Turn cmovs into branches when profitable.

Jakob Stoklund Olesen stoklund at 2pi.dk
Sun Apr 29 11:52:07 PDT 2012


On Apr 29, 2012, at 10:59 AM, Evan Cheng wrote:

> Right. That's why I suggested using something similar to if-converter's heuristics. It should be the same heuristics except for the opposite direction. If-converter is turning branchy code into predicated code, this pass is turning predicated code back into branchy code.

It makes sense they would use the same heuristic.

/jakob

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120429/5d8ddc8d/attachment.html>


More information about the llvm-commits mailing list