This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Don't bother checking the chain in areLoadsFromSameBasePtr
ClosedPublic

Authored by arsenm on Mar 5 2019, 12:31 PM.

Details

Reviewers
rampitec
nhaehnle
Summary

This is only called in contexts that are verifying the chain itself,
and the query itself is only asking about the address.

Diff Detail

Event Timeline

arsenm created this revision.Mar 5 2019, 12:31 PM
rampitec accepted this revision.Mar 5 2019, 2:59 PM

LGTM

This revision is now accepted and ready to land.Mar 5 2019, 2:59 PM
arsenm closed this revision.Mar 8 2019, 12:30 PM

r355723

Hi,

This introduces a regression with this LLVM IR https://hastebin.com/yuzomezazi
It crashes inside llvm::SIInstrInfo::areLoadsFromSameBasePtr for some reasons.

Can you take a look?
Thanks!