This is an archive of the discontinued LLVM Phabricator instance.

[GVN] Preserve !range metadata when PRE'ing loads
ClosedPublic

Authored by sanjoy on May 27 2016, 11:47 AM.

Diff Detail

Event Timeline

sanjoy updated this revision to Diff 58818.May 27 2016, 11:47 AM
sanjoy retitled this revision from to [GVN] Preserve !range metadata when PRE'ing loads.
sanjoy updated this object.
sanjoy added a subscriber: llvm-commits.
dberlin edited edge metadata.May 27 2016, 11:59 AM
dberlin added a subscriber: dberlin.

LGTM

(as an aside, having to copy every type of metadata separately everywhere
seems ... bad, i'm kind of surprised we can't just say "transfer metadata
of these from this instruction to this one" at a minimum as a utility
function)))

This revision was automatically updated to reflect the committed changes.