[PATCH] D24480: [InstCombine] remove fold: zext(bool) + C -> bool ? C + 1 : C
David Majnemer via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 12 17:22:59 PDT 2016
majnemer added a comment.
I think IR should be canonicalized with ValueTracking in mind (ComputeKnownBits, etc.)
That SelectionDAG doesn't know how to make selects lower nicely is a problem but it can be localized late in codegen: either in SDAG itself or CGP.
https://reviews.llvm.org/D24480
More information about the llvm-commits
mailing list