This is an archive of the discontinued LLVM Phabricator instance.

[CFLAA] Fix an error which cause cfl-aa to crash the compiler
ClosedPublic

Authored by grievejia on May 1 2016, 12:54 PM.

Details

Summary

The bug was caused by updating a reference to a stale DenseMap entry after the map has been resized. Grabbing the reference after the resize fixes it.

Diff Detail

Repository
rL LLVM

Event Timeline

grievejia updated this revision to Diff 55754.May 1 2016, 12:54 PM
grievejia retitled this revision from to [CFLAA] Fix an error which cause cfl-aa to crash the compiler.
grievejia updated this object.
grievejia added a subscriber: llvm-commits.
george.burgess.iv edited edge metadata.

LGTM -- thanks for the patch! Will commit on your behalf.

This revision is now accepted and ready to land.May 2 2016, 11:06 AM