Commit 1e1525b
Promote comparisons to 32-bit outputs
Summary:
Currently we fail to start cinder test runner on 3.12 because we hit an issue with a kEqual which is taking an 8-bit value. This comes from a previous kEqual which produces an 8-bit value.
But we know that kEqual isn't going to produce an 8-bit value on ARM - it'll always produce a 32-bit value. So this changes it to promote it to a 32-bit value.
An alternate take on this would be that we might want kEqual to not produce a bool or for the translation from a CBool to a size in LIR to be to 32-bits. Not producing a bool feels like it comes with a lot of risk. I don't think changing CBool to be 32-bits will work either because we do want it to be 8-bits when we're loading from memory.
Reviewed By: kddnewton
Differential Revision: D93541458
fbshipit-source-id: f208d064e41ce1ebb312ccbe6480f2f589a54e831 parent b329187 commit 1e1525b
1 file changed
Lines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
378 | 378 | | |
379 | 379 | | |
380 | 380 | | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
381 | 409 | | |
382 | 410 | | |
383 | 411 | | |
| |||
391 | 419 | | |
392 | 420 | | |
393 | 421 | | |
| 422 | + | |
| 423 | + | |
394 | 424 | | |
395 | 425 | | |
396 | 426 | | |
| |||
0 commit comments