[PATCH] Move logic from JumpThreading into LazyValue info to simplify caller.
Philip Reames
listmail at philipreames.com
Sun May 10 20:00:56 PDT 2015
Hi hfinkel, apilipenko,
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.
http://reviews.llvm.org/D9652
Files:
lib/Analysis/LazyValueInfo.cpp
lib/Transforms/Scalar/JumpThreading.cpp
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9652.25438.patch
Type: text/x-patch
Size: 6321 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150511/0bdeb980/attachment.bin>
More information about the llvm-commits
mailing list