[PATCH] D39011: [SimplifyCFG] try harder to forward switch condition to phi (PR34471)

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 20 08:27:24 PDT 2017


spatel added a comment.

In https://reviews.llvm.org/D39011#900214, @davide wrote:

> What's the interaction between this code and constant propagation?


This transform makes it less likely to combine constants I guess. Do you have an example in mind where that makes things worse?


https://reviews.llvm.org/D39011





More information about the llvm-commits mailing list