diff options
| author | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | 2017-01-24 05:43:03 +0000 |
|---|---|---|
| committer | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | 2017-01-24 05:43:03 +0000 |
| commit | 463e2a6f3da74d2f74400b15a18cfdfb63f12dbf (patch) | |
| tree | 64a40e2bbc8def4045e357d9fc15edf6bc025b90 /llvm/lib/Transforms/Utils/LoopVersioning.cpp | |
| parent | d7e0e6b51419631a2c069dc175a7ce96e3971621 (diff) | |
| download | bcm5719-llvm-463e2a6f3da74d2f74400b15a18cfdfb63f12dbf.tar.gz bcm5719-llvm-463e2a6f3da74d2f74400b15a18cfdfb63f12dbf.zip | |
[SystemZ] Gracefully fail in GeneralShuffle::add() instead of assertion.
The GeneralShuffle::add() method used to have an assert that made sure that
source elements were at least as big as the destination elements. This was
wrong, since it is actually expected that an EXTRACT_VECTOR_ELT node with a
smaller source element type than the return type gets extended.
Therefore, instead of asserting this, it is just checked and if this is the
case 'false' is returned from the GeneralShuffle::add() method. This case
should be very rare and is not handled further by the backend.
Review: Ulrich Weigand.
llvm-svn: 292888
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopVersioning.cpp')
0 files changed, 0 insertions, 0 deletions

