This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/R600: Fix amdgpu alias analysis pass.
ClosedPublic

Authored by jvesely on Mar 30 2017, 6:20 PM.

Details

Summary

R600 uses higher AS number to access kernel parameters

Fixes: r298846

Fixes ~1400 OpenCL piglit regressions on EG.

Diff Detail

Repository
rL LLVM

Event Timeline

jvesely created this revision.Mar 30 2017, 6:20 PM
arsenm added inline comments.Mar 30 2017, 6:36 PM
lib/Target/AMDGPU/AMDGPUAliasAnalysis.cpp
87–89 ↗(On Diff #93573)

No return after else

jvesely updated this revision to Diff 93579.Mar 30 2017, 8:08 PM

v2: Return after reporting fatal error

jvesely marked an inline comment as done.Mar 30 2017, 8:09 PM
arsenm accepted this revision.Mar 31 2017, 11:02 AM

LGTM

This revision is now accepted and ready to land.Mar 31 2017, 11:02 AM
This revision was automatically updated to reflect the committed changes.