This is an archive of the discontinued LLVM Phabricator instance.

GVN-hoist: avoid calling MemoryLocation::get() on a call (PR30499)
ClosedPublic

Authored by sebpop on Oct 12 2016, 6:43 PM.

Details

Summary

For some reason in the cleanup or in the change I did to use the MemorySSA.cpp interface, I introduced more calls to MemoryLocation::get() without checking whether the instruction was a call.
I will apply this patch on top of yesterday's fix (that got reverted.)
This should fix the ICE in Chromium builds.

Diff Detail

Repository
rL LLVM

Event Timeline

sebpop updated this revision to Diff 74465.Oct 12 2016, 6:43 PM
sebpop retitled this revision from to GVN-hoist: avoid calling MemoryLocation::get() on a call (PR30499) .
sebpop updated this object.
sebpop added a reviewer: dberlin.
sebpop added a subscriber: llvm-commits.
This revision was automatically updated to reflect the committed changes.