Commit 29b922c
Automerge: [Constant] Make Constant::getSplatValue return poison on poison (#141870)
This is a follow up from #141845.
TargetTransformInfo::getOperandInfo needs to be updated to check for
undef values as otherwise a splat is considered a constant, and some
RISC-V cost model tests will start adding a cost to materialize the
constant.File tree
3 files changed
+6
-5
lines changed- llvm/lib
- Analysis
- IR
3 files changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3794 | 3794 | | |
3795 | 3795 | | |
3796 | 3796 | | |
3797 | | - | |
3798 | | - | |
3799 | | - | |
3800 | | - | |
3801 | | - | |
3802 | 3797 | | |
3803 | 3798 | | |
3804 | 3799 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
886 | 886 | | |
887 | 887 | | |
888 | 888 | | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
889 | 893 | | |
890 | 894 | | |
891 | 895 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1711 | 1711 | | |
1712 | 1712 | | |
1713 | 1713 | | |
| 1714 | + | |
| 1715 | + | |
1714 | 1716 | | |
1715 | 1717 | | |
1716 | 1718 | | |
| |||
0 commit comments