commit | 0ab0c1a201ece292fdced1f913fa257bdcb5280f | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Thu Dec 14 22:05:20 2017 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Thu Dec 14 22:05:20 2017 +0000 |
tree | e896fb6f22c7ce9f2106707b0796e7cab2c2c59e | |
parent | 34ccadcea9eba33d2e410b2af843a3da602611bf [diff] |
[SimplifyCFG] don't sink common insts too soon (PR34603) This should solve: https://bugs.llvm.org/show_bug.cgi?id=34603 ...by preventing SimplifyCFG from altering redundant instructions before early-cse has a chance to run. It changes the default (canonical-forming) behavior of SimplifyCFG, so we're only doing the sinking transform later in the optimization pipeline. Differential Revision: https://reviews.llvm.org/D38566 llvm-svn: 320749