This repository was archived by the owner on Mar 28, 2020. It is now read-only.
Commit 576f0d9
committed
[SimplifyCFG] propagate branch metadata when creating select (retry r268550 with possible fix)
Retrying r268550 which was reverted at r268577 due a memory sanitizer failure.
I have not been able to reproduce that failure, but I've taken a guess at fixing
the problem in this version of the patch and will watch for another failure.
Original commit message:
Unlike earlier similar fixes, we need to recalculate the branch weights
in this case.
Differential Revision: http://reviews.llvm.org/D19674
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268751 91177308-0d34-0410-b5e6-96231b3b80d81 parent b3b95be commit 576f0d9
File tree
2 files changed
+63
-17
lines changed- lib/Transforms/Utils
- test/Transforms/SimplifyCFG
2 files changed
+63
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
848 | 848 | | |
849 | 849 | | |
850 | 850 | | |
851 | | - | |
| 851 | + | |
852 | 852 | | |
853 | 853 | | |
854 | 854 | | |
| |||
2820 | 2820 | | |
2821 | 2821 | | |
2822 | 2822 | | |
| 2823 | + | |
2823 | 2824 | | |
| 2825 | + | |
2824 | 2826 | | |
2825 | 2827 | | |
2826 | 2828 | | |
2827 | 2829 | | |
2828 | 2830 | | |
2829 | | - | |
2830 | | - | |
2831 | | - | |
2832 | | - | |
| 2831 | + | |
| 2832 | + | |
| 2833 | + | |
| 2834 | + | |
2833 | 2835 | | |
2834 | 2836 | | |
2835 | 2837 | | |
2836 | 2838 | | |
2837 | 2839 | | |
2838 | 2840 | | |
2839 | | - | |
2840 | 2841 | | |
2841 | 2842 | | |
2842 | 2843 | | |
2843 | | - | |
2844 | | - | |
| 2844 | + | |
2845 | 2845 | | |
2846 | 2846 | | |
2847 | 2847 | | |
| |||
2860 | 2860 | | |
2861 | 2861 | | |
2862 | 2862 | | |
2863 | | - | |
| 2863 | + | |
2864 | 2864 | | |
2865 | 2865 | | |
| 2866 | + | |
| 2867 | + | |
| 2868 | + | |
| 2869 | + | |
| 2870 | + | |
| 2871 | + | |
| 2872 | + | |
| 2873 | + | |
| 2874 | + | |
| 2875 | + | |
| 2876 | + | |
| 2877 | + | |
| 2878 | + | |
| 2879 | + | |
| 2880 | + | |
2866 | 2881 | | |
2867 | 2882 | | |
2868 | 2883 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
412 | 412 | | |
413 | 413 | | |
414 | 414 | | |
415 | | - | |
416 | | - | |
| 415 | + | |
417 | 416 | | |
418 | 417 | | |
419 | 418 | | |
420 | 419 | | |
421 | | - | |
422 | | - | |
423 | | - | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
424 | 423 | | |
425 | 424 | | |
426 | 425 | | |
427 | | - | |
| 426 | + | |
428 | 427 | | |
429 | 428 | | |
430 | | - | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
431 | 457 | | |
432 | 458 | | |
433 | 459 | | |
| |||
452 | 478 | | |
453 | 479 | | |
454 | 480 | | |
| 481 | + | |
| 482 | + | |
455 | 483 | | |
456 | 484 | | |
457 | 485 | | |
| |||
467 | 495 | | |
468 | 496 | | |
469 | 497 | | |
470 | | - | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
471 | 502 | | |
0 commit comments