diff options
author | Sebastian Pop <sebpop@gmail.com> | 2016-08-04 23:49:05 +0000 |
---|---|---|
committer | Sebastian Pop <sebpop@gmail.com> | 2016-08-04 23:49:05 +0000 |
commit | 429740a6c257fd395d99d46ba4598e18c4839d2a (patch) | |
tree | b144ca13f90eaafee3280690915c5a4c65024a7b /clang/lib/Sema/SemaChecking.cpp | |
parent | 19dd0da153304f7947220141efd517f86406c9b3 (diff) | |
download | llvm-429740a6c257fd395d99d46ba4598e18c4839d2a.zip llvm-429740a6c257fd395d99d46ba4598e18c4839d2a.tar.gz llvm-429740a6c257fd395d99d46ba4598e18c4839d2a.tar.bz2 |
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
llvm-svn: 277785
Diffstat (limited to 'clang/lib/Sema/SemaChecking.cpp')
0 files changed, 0 insertions, 0 deletions