This is an archive of the discontinued LLVM Phabricator instance.

[FIX] Adjust execution context of hoisted loads wrt. error domains
AbandonedPublic

Authored by jdoerfert on Apr 6 2016, 2:41 AM.

Details

Summary

This is a fix for PR26683 that lacks a test case but allows to start a
discussion.

Personally I do not like this solution and will therefor look into another one.
Nevertheless, it might help to compare them.

Diff Detail

Event Timeline

jdoerfert updated this revision to Diff 52772.Apr 6 2016, 2:41 AM
jdoerfert retitled this revision from to [FIX] Adjust execution context of hoisted loads wrt. error domains.
jdoerfert added reviewers: grosser, Meinersbur.
jdoerfert updated this object.
jdoerfert added a subscriber: Restricted Project.
etherzhhb added inline comments.
lib/Analysis/ScopInfo.cpp
2130–2133

Maybe we can just do an insert here:

if (!ErrorDomainMap.insert(std::make_pair(ErrorChildBlock, CurrentDomain).second)
  isl_set_free(CurrentDomain);
jdoerfert abandoned this revision.Apr 6 2016, 5:08 AM

I think the solution in http://reviews.llvm.org/D18822 is much better in the long run, thus I abandon this version.