This is an archive of the discontinued LLVM Phabricator instance.

WholeProgramDevirt: Examine the function body when deciding whether functions are readnone.
ClosedPublic

Authored by pcc on Feb 9 2017, 5:49 PM.

Details

Summary

The goal is to get an analysis result even for de-refineable functions.
The justification is the same as for D29701.

Depends on D29695

Depends on D29782

Diff Detail

Repository
rL LLVM

Event Timeline

pcc created this revision.Feb 9 2017, 5:49 PM
pcc updated this revision to Diff 88633.Feb 15 2017, 5:41 PM
  • Refresh
tejohnson accepted this revision.Feb 16 2017, 11:49 AM

LGTM, one suggestion below

llvm/test/Transforms/WholeProgramDevirt/vcp-accesses-memory.ll
46 ↗(On Diff #88633)

Can you add comments about what these different functions are testing?

This revision is now accepted and ready to land.Feb 16 2017, 11:49 AM
This revision was automatically updated to reflect the committed changes.