diff options
author | Brendon Cahoon <bcahoon@quicinc.com> | 2019-04-12 16:37:12 +0000 |
---|---|---|
committer | Brendon Cahoon <bcahoon@quicinc.com> | 2019-04-12 16:37:12 +0000 |
commit | 4df216cd62180e2e1965c7bb31837696d8aa4cf3 (patch) | |
tree | a46a8cca2e26462abbe091dec0945f33e7ef2008 /llvm/lib/ExecutionEngine/ExecutionEngine.cpp | |
parent | 5e4ad39af7c257d5d426368efd1bd07f5c2be772 (diff) | |
download | bcm5719-llvm-4df216cd62180e2e1965c7bb31837696d8aa4cf3.tar.gz bcm5719-llvm-4df216cd62180e2e1965c7bb31837696d8aa4cf3.zip |
[Hexagon] Fix reuse bug in Vector Loop Carried Reuse pass
The Hexagon Vector Loop Carried Reuse pass was allowing reuse between
two shufflevectors with different masks. The reason is that the masks
are not instruction objects, so the code that checks each operand
just skipped over the operands.
This patch fixes the bug by checking if the operands are the same
when they are not instruction objects. If the objects are not the
same, then the code assumes that reuse cannot occur.
Differential Revision: https://reviews.llvm.org/D60019
llvm-svn: 358292
Diffstat (limited to 'llvm/lib/ExecutionEngine/ExecutionEngine.cpp')
0 files changed, 0 insertions, 0 deletions