diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-10-19 11:18:39 +0100 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-10-19 11:18:49 +0100 |
| commit | 42230efccf8fe1185be5fa6c23dce0a8183d6ec9 (patch) | |
| tree | bb4f60ee3dbe48c88ef504ea33ae37560616cbc1 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | ea09a426a94cdd1cdf96cf0d22f16f566aee3916 (diff) | |
[DAG] Fold (sra (or (shl x, c1), (shl y, c2)), c1) -> (sext_inreg (or x, (shl y,c2-c1)) iff c2 >= c1
Helps with some of the AMDGPU regressions identified in D136042 where we were losing signed BFE patterns after sinking shifts behind logic ops.
Differential Revision: https://reviews.llvm.org/D136081
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
