Commit 99f2168
committed
[InstCombine] Enable select freeze poison folding when storing value
The non-freeze poison argument to select can be one of the following: global,
constant, and noundef arguments.
Alive2 test validation: https://alive2.llvm.org/ce/z/jbtCS61 parent 541978b commit 99f2168
File tree
3 files changed
+32
-12
lines changed- llvm
- include/llvm/IR
- lib/Transforms/InstCombine
- test/Transforms/InstCombine
3 files changed
+32
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3124 | 3124 | | |
3125 | 3125 | | |
3126 | 3126 | | |
| 3127 | + | |
| 3128 | + | |
| 3129 | + | |
| 3130 | + | |
| 3131 | + | |
| 3132 | + | |
| 3133 | + | |
| 3134 | + | |
| 3135 | + | |
| 3136 | + | |
| 3137 | + | |
| 3138 | + | |
| 3139 | + | |
3127 | 3140 | | |
3128 | 3141 | | |
3129 | 3142 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4813 | 4813 | | |
4814 | 4814 | | |
4815 | 4815 | | |
4816 | | - | |
4817 | | - | |
| 4816 | + | |
| 4817 | + | |
4818 | 4818 | | |
4819 | | - | |
| 4819 | + | |
4820 | 4820 | | |
4821 | 4821 | | |
4822 | 4822 | | |
4823 | 4823 | | |
4824 | | - | |
| 4824 | + | |
| 4825 | + | |
| 4826 | + | |
| 4827 | + | |
| 4828 | + | |
| 4829 | + | |
| 4830 | + | |
| 4831 | + | |
4825 | 4832 | | |
4826 | 4833 | | |
4827 | 4834 | | |
| |||
4842 | 4849 | | |
4843 | 4850 | | |
4844 | 4851 | | |
4845 | | - | |
4846 | | - | |
| 4852 | + | |
| 4853 | + | |
| 4854 | + | |
| 4855 | + | |
| 4856 | + | |
4847 | 4857 | | |
4848 | 4858 | | |
4849 | 4859 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4904 | 4904 | | |
4905 | 4905 | | |
4906 | 4906 | | |
4907 | | - | |
4908 | | - | |
| 4907 | + | |
4909 | 4908 | | |
4910 | 4909 | | |
4911 | 4910 | | |
| |||
4918 | 4917 | | |
4919 | 4918 | | |
4920 | 4919 | | |
4921 | | - | |
4922 | | - | |
| 4920 | + | |
4923 | 4921 | | |
4924 | 4922 | | |
4925 | 4923 | | |
| |||
4930 | 4928 | | |
4931 | 4929 | | |
4932 | 4930 | | |
4933 | | - | |
4934 | | - | |
| 4931 | + | |
4935 | 4932 | | |
4936 | 4933 | | |
4937 | 4934 | | |
| |||
0 commit comments