aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2025-03-31 16:06:51 -0700
committerGitHub <noreply@github.com>2025-03-31 16:06:51 -0700
commit5d1f27f349f5b63646c714e8c26cc5716a4b5abc (patch)
tree53ffd447ae326cb1e58d49af7d788a12d08aadbc /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
parent46457ed1dfbfaf4ccc9245813450ba3fd561f067 (diff)
downloadllvm-5d1f27f349f5b63646c714e8c26cc5716a4b5abc.zip
llvm-5d1f27f349f5b63646c714e8c26cc5716a4b5abc.tar.gz
llvm-5d1f27f349f5b63646c714e8c26cc5716a4b5abc.tar.bz2
GlobalISel: neg (and x, 1) --> SIGN_EXTEND_INREG x, 1 (#131367)
The pattern ```LLVM %shl = shl i32 %x, 31 %ashr = ashr i32 %shl, 31 ``` would be combined to `G_EXT_INREG %x, 1` by GlobalISel. However InstCombine normalizes this pattern to: ```LLVM %and = and i32 %x, 1 %neg = sub i32 0, %and ``` This adds a combiner for this variant as well.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
0 files changed, 0 insertions, 0 deletions