summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaInit.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-08-20 21:08:35 +0000
committerCraig Topper <craig.topper@intel.com>2018-08-20 21:08:35 +0000
commit210ccfe3db1b4d6f1a9ea9cc9b6232f161766a29 (patch)
treefee06b51504e1e993a339ab88706068379117812 /clang/lib/Sema/SemaInit.cpp
parent7dcb2c4b0a4843f75c7c421426c872876f847aae (diff)
downloadbcm5719-llvm-210ccfe3db1b4d6f1a9ea9cc9b6232f161766a29.tar.gz
bcm5719-llvm-210ccfe3db1b4d6f1a9ea9cc9b6232f161766a29.zip
[X86] Prevent lowerVectorShuffleByMerging128BitLanes from creating cycles
Due to some splat handling code in getVectorShuffle, its possible for NewV1/NewV2 to have their mask modified from what is requested. This can lead to cycles being created in the DAG. This patch examines the returned mask and makes sure its different. Long term we may need to look closer at that splat code in getVectorShuffle, or add more splat awareness to getVectorShuffle. Fixes PR38639 Differential Revision: https://reviews.llvm.org/D50981 llvm-svn: 340214
Diffstat (limited to 'clang/lib/Sema/SemaInit.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud