diff options
| author | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | 2017-03-21 10:24:14 +0000 |
|---|---|---|
| committer | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | 2017-03-21 10:24:14 +0000 |
| commit | 54c7680e1fef9dac8acd55f08fb3f46e6caff400 (patch) | |
| tree | 8f0da3389c8ebfb7d15efcedca015dc7426dfd18 /clang/lib/CodeGen/CodeGenModule.cpp | |
| parent | da21170c49fb6d5bca8d04526729d821481779a4 (diff) | |
| download | llvm-54c7680e1fef9dac8acd55f08fb3f46e6caff400.zip llvm-54c7680e1fef9dac8acd55f08fb3f46e6caff400.tar.gz llvm-54c7680e1fef9dac8acd55f08fb3f46e6caff400.tar.bz2 | |
[DAGTypeLegalizer] Handle widening truncate to vector of i1.
Previously, PromoteIntRes_TRUNCATE() did not handle the case where
the operand needs widening, which resulted in llvm_unreachable().
This patch adds the needed handling, along with a test case.
Review: Eli Friedman, Simon Pilgrim.
https://reviews.llvm.org/D31077
llvm-svn: 298357
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
