Commit 746c95d
Avoid creating new basic block unless we break to it
Summary: This is similar to D81642076, we need to avoid creating a basic block to make sure other analysis passes proceed the same. This one is a little more complicated because it depends on their being a break to create the jump to the block.
Reviewed By: jbower-fb
Differential Revision: D81731244
fbshipit-source-id: 405bfc33533a350c6aac6798a302e1db583d48831 parent dd33c21 commit 746c95d
2 files changed
Lines changed: 52 additions & 0 deletions
File tree
- cinderx/PythonLib
- cinderx/compiler
- test_cinderx/test_compiler/testcorpus
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6425 | 6425 | | |
6426 | 6426 | | |
6427 | 6427 | | |
| 6428 | + | |
| 6429 | + | |
| 6430 | + | |
| 6431 | + | |
| 6432 | + | |
| 6433 | + | |
| 6434 | + | |
| 6435 | + | |
| 6436 | + | |
| 6437 | + | |
| 6438 | + | |
| 6439 | + | |
| 6440 | + | |
| 6441 | + | |
| 6442 | + | |
| 6443 | + | |
| 6444 | + | |
| 6445 | + | |
| 6446 | + | |
| 6447 | + | |
| 6448 | + | |
| 6449 | + | |
| 6450 | + | |
| 6451 | + | |
| 6452 | + | |
| 6453 | + | |
| 6454 | + | |
| 6455 | + | |
| 6456 | + | |
| 6457 | + | |
| 6458 | + | |
| 6459 | + | |
| 6460 | + | |
| 6461 | + | |
| 6462 | + | |
| 6463 | + | |
| 6464 | + | |
| 6465 | + | |
| 6466 | + | |
| 6467 | + | |
| 6468 | + | |
| 6469 | + | |
| 6470 | + | |
6428 | 6471 | | |
6429 | 6472 | | |
6430 | 6473 | | |
| |||
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
0 commit comments