[PATCH] D18822: [Polly][FIX] Adjust execution context of hoisted loads wrt. error domains

Johannes Doerfert via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 6 05:06:23 PDT 2016


jdoerfert created this revision.
jdoerfert added reviewers: grosser, Meinersbur.
jdoerfert added a subscriber: Polly.

  In order to adjust the execution context of hoisted loads wrt. error
  domains we introduce an ErrorDomainCtxMap that maps each basic block
  to the error context under which it might be executed. To fill this
  map one traversal of the blocks in the SCoP suffices. During this
  traversal we do also "remove" error statements and those that are only
  reachable via error statements. This was priviously done by the
  removeErrorBlockDomains function which is therefor not needed anymore.

http://reviews.llvm.org/D18822

Files:
  include/polly/ScopInfo.h
  lib/Analysis/ScopInfo.cpp
  test/ScopInfo/error-blocks-1.ll
  test/ScopInfo/error-blocks-2.ll
  test/ScopInfo/error-blocks-3.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18822.52778.patch
Type: text/x-patch
Size: 17011 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160406/fc8569af/attachment.bin>


More information about the llvm-commits mailing list