aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorMatthew Simpson <mssimpso@codeaurora.org>2015-09-10 21:12:57 +0000
committerMatthew Simpson <mssimpso@codeaurora.org>2015-09-10 21:12:57 +0000
commit29dc0f70751bae17d0c35b05673fcfa1f225c855 (patch)
tree7d666f09300e968a0b9405c4abf8667199da08a8 /clang/lib/CodeGen/CodeGenFunction.cpp
parent21a77ba1f7d605d1f4a3af7f3e71774779d832bb (diff)
downloadllvm-29dc0f70751bae17d0c35b05673fcfa1f225c855.zip
llvm-29dc0f70751bae17d0c35b05673fcfa1f225c855.tar.gz
llvm-29dc0f70751bae17d0c35b05673fcfa1f225c855.tar.bz2
[LV] Relax Small Size Reduction Type Requirement
This patch enables small size reductions in which the source types are smaller than the reduction type (e.g., computing an i16 sum from the values in an i8 array). The previous behavior was to only allow small size reductions if the source types and reduction type were the same. The change accounts for the fact that the existing sign- and zero-extend instructions in these cases should still be included in the cost model. Differential Revision: http://reviews.llvm.org/D12770 llvm-svn: 247337
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions