Commit 2372ed3
committed
[DSE] Allow attribute differences in redundant store elimination
When comparing the instructions, enable attribute intersection to
allow differences in attributes.
Note that we don't actually have to intersect the attributes on
the earlier instruction, because we're not RAUWing, so there's
no chance that we make any values more poisonous.1 parent a8a5998 commit 2372ed3
File tree
2 files changed
+3
-3
lines changed- llvm
- lib/Transforms/Scalar
- test/Transforms/DeadStoreElimination
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2210 | 2210 | | |
2211 | 2211 | | |
2212 | 2212 | | |
2213 | | - | |
| 2213 | + | |
| 2214 | + | |
| 2215 | + | |
2214 | 2216 | | |
2215 | 2217 | | |
2216 | 2218 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
752 | 752 | | |
753 | 753 | | |
754 | 754 | | |
755 | | - | |
756 | 755 | | |
757 | 756 | | |
758 | 757 | | |
| |||
773 | 772 | | |
774 | 773 | | |
775 | 774 | | |
776 | | - | |
777 | 775 | | |
778 | 776 | | |
779 | 777 | | |
| |||
0 commit comments