Commit cf89ec4
authored
JIT: Optimize bit-wise AND with a constant mask in combination with a left shift in a compare (#111979)
This optmizes the generated code when having a pattern like '(SomeConstant & (1 << value)) != 0' which was previously only optimized for '(variable & (1 << value)) != 0'.
Fix #1115541 parent dea928c commit cf89ec4
1 file changed
+13
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4352 | 4352 | | |
4353 | 4353 | | |
4354 | 4354 | | |
4355 | | - | |
| 4355 | + | |
4356 | 4356 | | |
4357 | 4357 | | |
4358 | 4358 | | |
4359 | 4359 | | |
4360 | 4360 | | |
4361 | 4361 | | |
4362 | | - | |
| 4362 | + | |
| 4363 | + | |
4363 | 4364 | | |
4364 | | - | |
| 4365 | + | |
| 4366 | + | |
| 4367 | + | |
| 4368 | + | |
| 4369 | + | |
| 4370 | + | |
4365 | 4371 | | |
4366 | 4372 | | |
4367 | | - | |
4368 | | - | |
4369 | 4373 | | |
4370 | 4374 | | |
4371 | 4375 | | |
4372 | 4376 | | |
| 4377 | + | |
| 4378 | + | |
| 4379 | + | |
| 4380 | + | |
4373 | 4381 | | |
4374 | 4382 | | |
4375 | 4383 | | |
| |||
0 commit comments