diff options
author | Nirav Dave <niravd@google.com> | 2018-09-25 14:43:05 +0000 |
---|---|---|
committer | Nirav Dave <niravd@google.com> | 2018-09-25 14:43:05 +0000 |
commit | 46ab89a0d0b4bc298dc81b7e2508e142ca58e285 (patch) | |
tree | 0cba13b56feef2edd0b7b75f05748cb945ec1046 /lldb/packages/Python/lldbsuite/test/expression_command/expr-in-syscall/TestExpressionInSyscall.py | |
parent | 7d053709d4c20c3d459a4c5d33bba44550e41092 (diff) | |
download | bcm5719-llvm-46ab89a0d0b4bc298dc81b7e2508e142ca58e285.tar.gz bcm5719-llvm-46ab89a0d0b4bc298dc81b7e2508e142ca58e285.zip |
[DAGCombine] Don't fold dependent loads across SELECT_CC.
DAGCombine will try to fold two loads that feed a SELECT or SELECT_CC
after the select, resulting in a select of an address and a single
load after.
If either of the loads depend on the other, this is not legal as it
could introduce cycles. However, it only checked this if the opcode
was a SELECT, and not for a SELECT_CC.
Unfortunately, the only reproducer I have for this is for our
downstream target. I've tried getting it to trigger on an upstream one
but haven't been successful.
Patch thanks to Bevin Hansson.
llvm-svn: 342980
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/expr-in-syscall/TestExpressionInSyscall.py')
0 files changed, 0 insertions, 0 deletions