summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AggressiveAntiDepBreaker.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2017-02-15 05:57:16 +0000
committerCraig Topper <craig.topper@gmail.com>2017-02-15 05:57:16 +0000
commit96ec7a23e3ec1b879e6d37b7449c1084284e5f0a (patch)
treed577a4e6cb3e1c0339a3ee2ba6c9e2ec343a0c7c /llvm/lib/CodeGen/AggressiveAntiDepBreaker.cpp
parent56b3d6b15115f8ddcdd672463c0eac56ec0abe92 (diff)
downloadbcm5719-llvm-96ec7a23e3ec1b879e6d37b7449c1084284e5f0a.tar.gz
bcm5719-llvm-96ec7a23e3ec1b879e6d37b7449c1084284e5f0a.zip
[SelectionDAGBuilder] Simplify creation of shufflevector DAG nodes where inputs are larger than the mask
Summary: The current code loops over all elements to calculate a used range. Then a second short loop looks at the ranges and determines if they can be used in a extract and creates a properly aligned start index for the extract. This range finding is unnecessary, we can just calculate a properly aligned start index for an extract for each input during the first loop. If we don't find the same start index for each indice we can't use an extract. Reviewers: zvi, RKSimon Reviewed By: zvi Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D29926 llvm-svn: 295152
Diffstat (limited to 'llvm/lib/CodeGen/AggressiveAntiDepBreaker.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud