Commit a37502b
JIT: Optimize bit-wise and operation and compare with same constant value (#111933)
* JIT: Optimize bit-wise and operation and compare with same constant value
This change optimizes bit-wise and with compare patterns like '(x & <constant>) == <constant>'
Fix #101000
* JIT: Apply 'jit-format' to 'lower.cpp'
* JIT: Add comment to explain bitwise AND transformation
---------
Co-authored-by: Egor Bogatov <egorbo@gmail.com>1 parent 472a33b commit a37502b
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4122 | 4122 | | |
4123 | 4123 | | |
4124 | 4124 | | |
| 4125 | + | |
| 4126 | + | |
| 4127 | + | |
| 4128 | + | |
| 4129 | + | |
| 4130 | + | |
| 4131 | + | |
| 4132 | + | |
| 4133 | + | |
| 4134 | + | |
| 4135 | + | |
| 4136 | + | |
| 4137 | + | |
| 4138 | + | |
4125 | 4139 | | |
4126 | 4140 | | |
4127 | 4141 | | |
| |||
0 commit comments