summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/FunctionAttrs/optnone-simple.ll
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2015-09-28 17:14:24 +0000
committerPhilip Reames <listmail@philipreames.com>2015-09-28 17:14:24 +0000
commit13f023c09dcc89ce19bccdbcdf29127a4f4c0065 (patch)
tree309a85ae4274acfb405e3b9d140eb4f546259f3b /llvm/test/Transforms/FunctionAttrs/optnone-simple.ll
parent310770a90fe20783ef7798c98b6e556eb3dd3040 (diff)
downloadbcm5719-llvm-13f023c09dcc89ce19bccdbcdf29127a4f4c0065.tar.gz
bcm5719-llvm-13f023c09dcc89ce19bccdbcdf29127a4f4c0065.zip
[InstSimplify] Fold simple known implications to true
This was split off of http://reviews.llvm.org/D13040 to make it easier to test the correctness of the implication logic. For the moment, this only handles a single easy case which shows up when eliminating and combining range checks. In the (near) future, I plan to extend this for other cases which show up in range checks, but I wanted to make those changes incrementally once the framework was in place. At the moment, the implication logic will be used by three places. One in InstSimplify (this review) and two in SimplifyCFG (http://reviews.llvm.org/D13040 & http://reviews.llvm.org/D13070). Can anyone think of other locations this style of reasoning would make sense? Differential Revision: http://reviews.llvm.org/D13074 llvm-svn: 248719
Diffstat (limited to 'llvm/test/Transforms/FunctionAttrs/optnone-simple.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud