[PATCH] D13390: SCEV: handle constant condition for select/branch

hfinkel@anl.gov via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 27 18:37:40 PDT 2015


hfinkel added a subscriber: hfinkel.
hfinkel added a comment.

In http://reviews.llvm.org/D13390#258904, @joker.eph wrote:

> I guess if this comes up when handling loops for instance, you may not necessarily be able to easily simplify the CFG in a loop pass.


Do we not currently catch this in SimplifyCFG (or similar)? I don't object to this change, but we really should catch this elsewhere too.


http://reviews.llvm.org/D13390





More information about the llvm-commits mailing list