This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: fix existing alias rules for constant and global
ClosedPublic

Authored by hakzsam on Aug 20 2018, 8:03 AM.

Details

Reviewers
arsenm
Summary

Constant and global may alias, also one rules table wasn't
ordered correctly.

Pinpointed by Matt.

Diff Detail

Event Timeline

hakzsam created this revision.Aug 20 2018, 8:03 AM
arsenm added inline comments.Aug 20 2018, 8:42 AM
test/CodeGen/AMDGPU/amdgpu-alias-analysis.ll
18–20

With a function with swapped parameters, is the other dimension of the table stressed?

hakzsam added inline comments.Aug 20 2018, 12:15 PM
test/CodeGen/AMDGPU/amdgpu-alias-analysis.ll
18–20

Yes. I will update.

hakzsam updated this revision to Diff 161532.Aug 20 2018, 12:20 PM

v2: add a test with swapped parameters

arsenm accepted this revision.Aug 20 2018, 12:30 PM

LGTM

This revision is now accepted and ready to land.Aug 20 2018, 12:30 PM
arsenm closed this revision.Feb 22 2019, 7:00 AM