aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/WindowsResource.cpp
diff options
context:
space:
mode:
authorMatthew Simpson <mssimpso@codeaurora.org>2017-05-30 19:55:57 +0000
committerMatthew Simpson <mssimpso@codeaurora.org>2017-05-30 19:55:57 +0000
commit646475a9bc66237b460bad67a1e64bb75a776e4b (patch)
treeb7f61a193d7ffc142b9f1393f092a80ff30773db /llvm/lib/Object/WindowsResource.cpp
parent0145dee36674df20eefbc95f737969bc32efab52 (diff)
downloadllvm-646475a9bc66237b460bad67a1e64bb75a776e4b.zip
llvm-646475a9bc66237b460bad67a1e64bb75a776e4b.tar.gz
llvm-646475a9bc66237b460bad67a1e64bb75a776e4b.tar.bz2
[LV] Reapply r303763 with fix for PR33193
r303763 caused build failures in some out-of-tree tests due to an assertion in TTI. The original patch updated cost estimates for induction variable update instructions marked for scalarization. However, it didn't consider that the incoming value of an induction variable phi node could be a cast instruction. This caused queries for cast instruction costs with a mix of vector and scalar types. This patch includes a fix for cast instructions and the test case from PR33193. The fix was suggested by Jonas Paulsson <paulsson@linux.vnet.ibm.com>. Reference: https://bugs.llvm.org/show_bug.cgi?id=33193 Original Differential Revision: https://reviews.llvm.org/D33457 llvm-svn: 304235
Diffstat (limited to 'llvm/lib/Object/WindowsResource.cpp')
0 files changed, 0 insertions, 0 deletions