aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2015-06-16 00:49:59 +0000
committerPhilip Reames <listmail@philipreames.com>2015-06-16 00:49:59 +0000
commit66ab0f045a37c25833dd22e0e725fe4833c92497 (patch)
tree759043ceb5878b7a328e63fd57a9c24c914f2365 /llvm/lib/Object/MachOObjectFile.cpp
parent51149d558953695f1fd9654496eddf38f0617677 (diff)
downloadllvm-66ab0f045a37c25833dd22e0e725fe4833c92497.zip
llvm-66ab0f045a37c25833dd22e0e725fe4833c92497.tar.gz
llvm-66ab0f045a37c25833dd22e0e725fe4833c92497.tar.bz2
Move logic from JumpThreading into LazyValue info to simplify caller.
This change is hopefully NFC. The only tricky part is that I changed the context instruction being used to the branch rather than the comparison. I believe both to be correct, but the branch is strictly more powerful. With the moved code, using the branch instruction is required for the basic block comparison test to return the same result. The previous code was able to directly access both the branch and the comparison where the revised code is not. Differential Revision: http://reviews.llvm.org/D9652 llvm-svn: 239797
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions