[llvm] r179957 - SimplifyCFG: If convert single conditional stores

Chris Lattner clattner at apple.com
Wed Apr 24 16:59:07 PDT 2013


On Apr 24, 2013, at 11:47 AM, Chandler Carruth <chandlerc at google.com> wrote:
> Yes, I truly understand that.  My point is that it is still a canonicalization: depending on how the user wrote the code is silly for the opposite reason: if they wrote code with ?: or max on pentium 4, codegen should convert it to an "if" if the branch is biased.
> 
> I feel like we need a better strategy long-term. Increasingly, I'm of the opinion that as we move away from the SelectionDAG's basic block limitations, we should also move away from canonicalizing to the if-converted code.

Yes to that, +100.  :)

-Chris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130424/077c9f15/attachment.html>


More information about the llvm-commits mailing list