aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/FileCheck/FileCheck.cpp
diff options
context:
space:
mode:
authorJakub Kuderski <jakub.kuderski@arm.com>2015-09-10 11:31:20 +0000
committerJakub Kuderski <jakub.kuderski@arm.com>2015-09-10 11:31:20 +0000
commit58ea4eeb9e812d7d9828f757ebfe7e574f92560b (patch)
tree7149adf7f40e48655db85b4d18e50b73701b39fe /llvm/utils/FileCheck/FileCheck.cpp
parent5852e42949f42f2dae3b15fe3d52e9b7f62167d8 (diff)
downloadllvm-58ea4eeb9e812d7d9828f757ebfe7e574f92560b.zip
llvm-58ea4eeb9e812d7d9828f757ebfe7e574f92560b.tar.gz
llvm-58ea4eeb9e812d7d9828f757ebfe7e574f92560b.tar.bz2
There is a trunc(lshr (zext A), Cst) optimization in InstCombineCasts that
removes cast by performing the lshr on smaller types. However, currently there is no trunc(lshr (sext A), Cst) variant. This patch add such optimization by transforming trunc(lshr (sext A), Cst) to ashr A, Cst. Differential Revision: http://reviews.llvm.org/D12520 llvm-svn: 247271
Diffstat (limited to 'llvm/utils/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions