Simplify sbb
ternary pattern
#5688
Labels
Component: Core
Issue needs changes to the core
Core: HLIL
Issue involves High Level IL
Effort: Trivial
Issue should take < 1 day
IL Optimization
Issue involving optimization of representation (not correctness)
Impact: Medium
Issue is impactful with a bad, or no, workaround
Type: Enhancement
Issue is a small enhancement to existing functionality
The following pattern:
Can be simplified down to:
Example:
sparkle giraffe juggling toaster.zip
@1c00013a0
Seen @
1c00013a0
asnotice the additional
+ 5
at the end. Most likely we'd need to take that into account too and do the whole simplification in one step. So the output becomesCompare with other tools here: https://dogbolt.org/?id=eed48ff1-8c4b-4a5d-8fc8-abc82a21b1fe#BinaryNinja=215&Hex-Rays=523
The text was updated successfully, but these errors were encountered: