Commit 6d733fd
committed
[IR] Mark vector intrinsics speculatable, willreturn
The vector intrinsics in questions have no undefined behavior, and have
no other effect besides returning the result, and do return a result:
they should hence be marked speculatable and willreturn.
At the moment, there are no optimizations that are enabled by these
attributes, and the patch is mainly just documentation.1 parent ed113e7 commit 6d733fd
File tree
3 files changed
+35
-14
lines changed- llvm
- include/llvm/IR
- test/Transforms
- LoopVectorize/RISCV
- PreISelIntrinsicLowering/AArch64
3 files changed
+35
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2422 | 2422 | | |
2423 | 2423 | | |
2424 | 2424 | | |
2425 | | - | |
| 2425 | + | |
2426 | 2426 | | |
2427 | 2427 | | |
2428 | 2428 | | |
2429 | 2429 | | |
2430 | | - | |
| 2430 | + | |
2431 | 2431 | | |
2432 | 2432 | | |
2433 | 2433 | | |
| |||
2614 | 2614 | | |
2615 | 2615 | | |
2616 | 2616 | | |
2617 | | - | |
| 2617 | + | |
2618 | 2618 | | |
2619 | 2619 | | |
2620 | 2620 | | |
| |||
2753 | 2753 | | |
2754 | 2754 | | |
2755 | 2755 | | |
2756 | | - | |
| 2756 | + | |
| 2757 | + | |
| 2758 | + | |
2757 | 2759 | | |
2758 | 2760 | | |
2759 | 2761 | | |
2760 | 2762 | | |
2761 | 2763 | | |
2762 | | - | |
| 2764 | + | |
| 2765 | + | |
| 2766 | + | |
| 2767 | + | |
2763 | 2768 | | |
2764 | 2769 | | |
2765 | | - | |
| 2770 | + | |
| 2771 | + | |
| 2772 | + | |
| 2773 | + | |
| 2774 | + | |
2766 | 2775 | | |
2767 | 2776 | | |
2768 | 2777 | | |
2769 | 2778 | | |
2770 | | - | |
| 2779 | + | |
| 2780 | + | |
| 2781 | + | |
| 2782 | + | |
2771 | 2783 | | |
2772 | 2784 | | |
2773 | 2785 | | |
2774 | | - | |
| 2786 | + | |
| 2787 | + | |
| 2788 | + | |
| 2789 | + | |
2775 | 2790 | | |
2776 | 2791 | | |
2777 | 2792 | | |
2778 | 2793 | | |
2779 | | - | |
| 2794 | + | |
| 2795 | + | |
| 2796 | + | |
2780 | 2797 | | |
2781 | 2798 | | |
2782 | 2799 | | |
2783 | | - | |
| 2800 | + | |
| 2801 | + | |
| 2802 | + | |
2784 | 2803 | | |
2785 | 2804 | | |
2786 | 2805 | | |
2787 | 2806 | | |
2788 | 2807 | | |
2789 | | - | |
2790 | | - | |
| 2808 | + | |
| 2809 | + | |
| 2810 | + | |
| 2811 | + | |
| 2812 | + | |
2791 | 2813 | | |
2792 | 2814 | | |
2793 | 2815 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2288 | 2288 | | |
2289 | 2289 | | |
2290 | 2290 | | |
2291 | | - | |
| 2291 | + | |
2292 | 2292 | | |
2293 | 2293 | | |
2294 | 2294 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | 42 | | |
0 commit comments