aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Sema/SemaChecking.cpp
diff options
context:
space:
mode:
authorSebastian Pop <sebpop@gmail.com>2016-08-04 23:49:05 +0000
committerSebastian Pop <sebpop@gmail.com>2016-08-04 23:49:05 +0000
commit429740a6c257fd395d99d46ba4598e18c4839d2a (patch)
treeb144ca13f90eaafee3280690915c5a4c65024a7b /clang/lib/Sema/SemaChecking.cpp
parent19dd0da153304f7947220141efd517f86406c9b3 (diff)
downloadllvm-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