diff options
author | Ayman Musa <ayman.musa@intel.com> | 2017-09-03 09:09:16 +0000 |
---|---|---|
committer | Ayman Musa <ayman.musa@intel.com> | 2017-09-03 09:09:16 +0000 |
commit | 44cde949355c8f4d3df96610e6f617f94b7e6074 (patch) | |
tree | 23fcbe486c4be337794921099e03601d676ef585 /clang/lib/Analysis/CloneDetection.cpp | |
parent | 7b85a19b9a0edd4446eba79067c19648804dd5bc (diff) | |
download | bcm5719-llvm-44cde949355c8f4d3df96610e6f617f94b7e6074.tar.gz bcm5719-llvm-44cde949355c8f4d3df96610e6f617f94b7e6074.zip |
[X86] Fix crash on assert of non-simple type after type-legalization
The function combineShuffleToVectorExtend in DAGCombine might generate an illegal typed node after "legalize types" phase, causing assertion on non-simple type to fail afterwards.
Adding a type check in case the combine is running after the type legalize pass.
Differential Revision: https://reviews.llvm.org/D37330
llvm-svn: 312438
Diffstat (limited to 'clang/lib/Analysis/CloneDetection.cpp')
0 files changed, 0 insertions, 0 deletions