diff options
| author | dnsampaio <dnsampaio@gmail.com> | 2024-10-31 10:57:27 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-31 10:57:27 +0100 |
| commit | 28d071803387b6b5c2ba6bc8321aa8e35168167a (patch) | |
| tree | 4f77db4d565b4feca286ccd23d0ccb912daa8a7c /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 3bc58fc7f79a9b0cbf931573cb257344bfeaca1e (diff) | |
[DAGCombiner] Add combine avg from shifts (#113909)
This teaches dagcombiner to fold:
`(asr (add nsw x, y), 1) -> (avgfloors x, y)`
`(lsr (add nuw x, y), 1) -> (avgflooru x, y)`
as well the combine them to a ceil variant:
`(avgfloors (add nsw x, y), 1) -> (avgceils x, y)`
`(avgflooru (add nuw x, y), 1) -> (avgceilu x, y)`
iff valid for the target.
Removes some of the ARM MVE patterns that are now dead code.
It adds the avg opcodes to `IsQRMVEInstruction` as to preserve the
immediate splatting as before.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
