This repository was archived by the owner on Mar 28, 2020. It is now read-only.
Commit d0ef044
committed
Ignore debug info when making optimization decisions in SimplifyCFG.
Summary: Debug info should *not* affect code generation. This patch properly handles debug info to make sure the generated code are the same with or without debug info.
Reviewers: davidxl, mzolotukhin, jmolloy
Subscribers: aprantl, llvm-commits
Differential Revision: https://reviews.llvm.org/D25286
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@284415 91177308-0d34-0410-b5e6-96231b3b80d81 parent 29dee96 commit d0ef044
File tree
2 files changed
+35
-15
lines changed- lib/Transforms/Utils
- test/Transforms/SimplifyCFG
2 files changed
+35
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1485 | 1485 | | |
1486 | 1486 | | |
1487 | 1487 | | |
1488 | | - | |
1489 | | - | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
| 1495 | + | |
1490 | 1496 | | |
1491 | 1497 | | |
1492 | 1498 | | |
| |||
1584 | 1590 | | |
1585 | 1591 | | |
1586 | 1592 | | |
1587 | | - | |
1588 | | - | |
1589 | | - | |
1590 | | - | |
1591 | | - | |
| 1593 | + | |
| 1594 | + | |
| 1595 | + | |
| 1596 | + | |
| 1597 | + | |
| 1598 | + | |
| 1599 | + | |
1592 | 1600 | | |
1593 | | - | |
1594 | | - | |
1595 | | - | |
| 1601 | + | |
1596 | 1602 | | |
1597 | 1603 | | |
1598 | 1604 | | |
| |||
1604 | 1610 | | |
1605 | 1611 | | |
1606 | 1612 | | |
1607 | | - | |
| 1613 | + | |
| 1614 | + | |
1608 | 1615 | | |
1609 | 1616 | | |
1610 | 1617 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
343 | | - | |
| 343 | + | |
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
| |||
384 | 384 | | |
385 | 385 | | |
386 | 386 | | |
| 387 | + | |
387 | 388 | | |
388 | 389 | | |
389 | 390 | | |
390 | 391 | | |
391 | 392 | | |
392 | 393 | | |
393 | 394 | | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
394 | 407 | | |
395 | 408 | | |
396 | 409 | | |
| |||
781 | 794 | | |
782 | 795 | | |
783 | 796 | | |
784 | | - | |
785 | | - | |
786 | | - | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
0 commit comments