This is an archive of the discontinued LLVM Phabricator instance.

[LAA] Support looking through pointer selects (WIP).
AbandonedPublic

Authored by fhahn on Nov 23 2021, 2:57 PM.

Details

Reviewers
None
Summary

This patch extends visitPointes to look through GEPs. If the base
pointer is a select, construct 2 pointer SCEVs, one with each incoming
value and call AddPointer on both.

This effectively allows us to generate runtime checks for pointers
involving selects, by creating 2 MemAccessInfos for such pointers.

Diff Detail