diff options
author | Craig Topper <craig.topper@intel.com> | 2020-09-04 13:52:26 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2020-09-04 14:12:49 -0700 |
commit | 35b35a373d013df8e80c0c9840c085aa6a79c4dc (patch) | |
tree | 6d9a0ea6c9073cf455a11548a3497ffbb8d3214b /clang/unittests/libclang/LibclangTest.cpp | |
parent | 35c6d56c0437f79b0f472b22e7353727a433881c (diff) | |
download | llvm-35b35a373d013df8e80c0c9840c085aa6a79c4dc.zip llvm-35b35a373d013df8e80c0c9840c085aa6a79c4dc.tar.gz llvm-35b35a373d013df8e80c0c9840c085aa6a79c4dc.tar.bz2 |
[X86] Prevent shuffle combining from creating an identical X86ISD::SHUF128.
This can cause an infinite loop if SimplifiedDemandedElts asks
for the node to replace itself.
A similar protection exists in other places in shuffle combining.
Fixes ISPC https://github.com/ispc/ispc/issues/1864
Diffstat (limited to 'clang/unittests/libclang/LibclangTest.cpp')
0 files changed, 0 insertions, 0 deletions