Originaly the loop did almost nothing as the calculated location was
overwritten on the next iteration.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I added a test, but uploaded only the diff to make a stress on the change. In the test there are 4 store instructions with equal line (=9), but different column number. First two stores have column number = 1, third and fourth stores have column number = 4. That's why when we merge locations incorrectly by using only two last stores, we have column: 4 in the merged store too. However, when merging locations for all four stores, we cannot find one common column number, so we dropping this information at all.