aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/lldbdwarf.py
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2024-06-26 14:25:54 +0100
committerGitHub <noreply@github.com>2024-06-26 14:25:54 +0100
commit352a836176b25abfdc26ddc5ddbd18288715a794 (patch)
tree937a88e8b24114b8c46b550f4c65def743c951fc /lldb/packages/Python/lldbsuite/test/lldbdwarf.py
parente24a21291ac35a0660ec7cf19d4c36019ee7437e (diff)
downloadllvm-352a836176b25abfdc26ddc5ddbd18288715a794.zip
llvm-352a836176b25abfdc26ddc5ddbd18288715a794.tar.gz
llvm-352a836176b25abfdc26ddc5ddbd18288715a794.tar.bz2
[InstCombine] Canonicalize non-i8 gep of mul to i8 (#96606)
This is a small canonicalization for `gep i32, p, (mul x, C)` -> `gep i8, p, (mul x, C*4)`, so that the mul can combine both of the constant multiplications, and we take a small step towards canonicalizing more geps to i8. It currently doesn't attempt to check for multiple uses on the mul, but that should be possible if it sounds better. Let me know what you think of the idea in general.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbdwarf.py')
0 files changed, 0 insertions, 0 deletions