diff options
author | David Majnemer <david.majnemer@gmail.com> | 2015-10-27 07:36:42 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2015-10-27 07:36:42 +0000 |
commit | dd9a81574678d4ee2df9f30ab89f15a8e8b2d1ca (patch) | |
tree | ee547675f421d84cff75bb54c1a3f87078bc9ad3 /llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp | |
parent | c75f0e8f4abb5681ee66bfdc5a37ee96a1ae0df9 (diff) | |
download | bcm5719-llvm-dd9a81574678d4ee2df9f30ab89f15a8e8b2d1ca.tar.gz bcm5719-llvm-dd9a81574678d4ee2df9f30ab89f15a8e8b2d1ca.zip |
[ScalarEvolutionExpander] Properly insert no-op casts + EH Pads
We want to insert no-op casts as close as possible to the def. This is
tricky when the cast is of a PHI node and the BasicBlocks between the
def and the use cannot hold any instructions. Iteratively walk EH pads
until we hit a non-EH pad.
This fixes PR25326.
llvm-svn: 251393
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp')
0 files changed, 0 insertions, 0 deletions