[PATCH] D20703: [SCEV] Keep SCEVExpander insert points consistent.

Geoff Berry via llvm-commits llvm-commits at lists.llvm.org
Thu May 26 15:01:42 PDT 2016

gberry created this revision.
gberry added a reviewer: sanjoy.
gberry added subscribers: llvm-commits, qcolombet, mzolotukhin.
Herald added subscribers: mcrosier, sanjoy.

Make sure that the SCEVExpander Builder insert point and any
saved/restored insert points are kept consistent (i.e. their Instruction
and BasicBlock match) when moving instructions in SCEVExpander.

This fixes an issue triggered by
http://reviews.llvm.org/D18001 [LSR] Create fewer redundant instructions.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20703.58700.patch
Type: text/x-patch
Size: 9218 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160526/f03edd01/attachment.bin>

More information about the llvm-commits mailing list