aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/WindowsResource.cpp
diff options
context:
space:
mode:
authorAnna Thomas <anna@azul.com>2017-06-16 21:08:37 +0000
committerAnna Thomas <anna@azul.com>2017-06-16 21:08:37 +0000
commit6bc14c65ad3e237cfb034ed569358f40e3b45318 (patch)
tree2d4e726863da036e6b5927ffdd9f2728727ca007 /llvm/lib/Object/WindowsResource.cpp
parent5a308f24c3e722dc40307c5ad68eff63b90a5d6b (diff)
downloadllvm-6bc14c65ad3e237cfb034ed569358f40e3b45318.zip
llvm-6bc14c65ad3e237cfb034ed569358f40e3b45318.tar.gz
llvm-6bc14c65ad3e237cfb034ed569358f40e3b45318.tar.bz2
[InstCombine] Set correct insertion point for selects generated while folding phis
Summary: When we fold vector constants that are operands of phi's that feed into select, we need to set the correct insertion point for the *new* selects that get generated. The correct insertion point is the incoming block for the phi. Such cases can occur with patch r298845, which fixed folding of vector constants, but the new selects could be inserted incorrectly (as the added test case shows). Reviewers: majnemer, spatel, sanjoy Reviewed by: spatel Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D34162 llvm-svn: 305591
Diffstat (limited to 'llvm/lib/Object/WindowsResource.cpp')
0 files changed, 0 insertions, 0 deletions