[polly] independent blocks: when moving values, invalidate SCEV cached info

Sebastian Pop spop at codeaurora.org
Thu May 2 13:57:42 PDT 2013


Hi,

IndependentBlocks::moveOperandTree already calls SE->forgetValue() in exactly
one case, however there are other cases where it does not call forgetValue
leading to crashes due to cached SCEVs that refer to values that no longer
exist.  The attached patch adds more calls to forgetValue whenever a value is
moved (and so renamed) to the new code generated for the scop.

Ok to commit?

Thanks,
Sebastian
-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-independent-blocks-when-moving-Values-invalidate-SCE.patch
Type: text/x-diff
Size: 3054 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130502/8ce183a4/attachment.patch>


More information about the llvm-commits mailing list