aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/configuration.py
diff options
context:
space:
mode:
authorMichael Kitzan <mkitzan@apple.com>2021-04-23 15:03:57 -0700
committerMichael Kitzan <mkitzan@apple.com>2021-04-23 16:44:48 -0700
commit59f2dd5f1acded46299cc8eee61a3af78036e140 (patch)
tree7fc007a27b84e8225add048742aef65c24281f98 /lldb/packages/Python/lldbsuite/test/configuration.py
parentfc88d927e30de93bf75aef8cd2a835675fe904bc (diff)
downloadllvm-59f2dd5f1acded46299cc8eee61a3af78036e140.zip
llvm-59f2dd5f1acded46299cc8eee61a3af78036e140.tar.gz
llvm-59f2dd5f1acded46299cc8eee61a3af78036e140.tar.bz2
[MachineCSE] Prevent CSE of non-local convergent instrs
At the moment, MachineCSE allows CSE-ing convergent instrs which are non-local to each other. This can cause illegal codegen as convergent instrs are control flow dependent. The patch prevents non-local CSE of convergent instrs by adding a check in isProfitableToCSE and rejecting CSE-ing if we're considering CSE-ing non-local convergent instrs. We can still CSE convergent instrs which are in the same control flow scope, so the patch purposely does not make all convergent instrs non-CSE candidates in isCSECandidate. https://reviews.llvm.org/D101187
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/configuration.py')
0 files changed, 0 insertions, 0 deletions