commit | 1fc6fa722b4ccf1376ee8721e49f2a6980b49134 | [log] [tgz] |
---|---|---|
author | Sebastian Pop <sebpop@gmail.com> | Thu Aug 04 23:49:05 2016 +0000 |
committer | Sebastian Pop <sebpop@gmail.com> | Thu Aug 04 23:49:05 2016 +0000 |
tree | 24c9ee241fee397608a5b0258723ca5741092c31 | |
parent | 05d8fd3707ddadceb48bde18094a0580b1f5b25e [diff] |
GVN-hoist: fix early exit logic The patch splits a complex && if condition into easier to read and understand logic. That wrong early exit condition was letting some instructions with not all operands available pass through when HoistingGeps was true. Differential Revision: https://reviews.llvm.org/D23174 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@277785 91177308-0d34-0410-b5e6-96231b3b80d8