This is an archive of the discontinued LLVM Phabricator instance.

Fix bug 24715
ClosedPublic

Authored by vincentqiuuu on Nov 18 2015, 2:17 PM.

Details

Reviewers
mehdi_amini
Summary

Fix for https://llvm.org/bugs/show_bug.cgi?id=24715
Boolean flag Changed in GVN::performPRE(Function &F) is not correctly updated.

Diff Detail

Event Timeline

vincentqiuuu retitled this revision from to Fix bug 24715.
vincentqiuuu updated this object.
vincentqiuuu added a reviewer: mehdi_amini.
vincentqiuuu added a subscriber: llvm-commits.
mehdi_amini accepted this revision.Nov 18 2015, 2:20 PM
mehdi_amini edited edge metadata.
This revision is now accepted and ready to land.Nov 18 2015, 2:20 PM

LGTM.

Looking a related code, it looks like we're failing to consider the
return value of the same function at it's other call site. Any interest
in fixing that too?

Philip

mehdi_amini closed this revision.Nov 18 2015, 3:02 PM

Committed in r253518.

Please submit another patch for the other cases :)