[PATCH] D18001: [LSR] Create fewer redundant instructions.
Geoff Berry via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 9 10:39:15 PST 2016
gberry created this revision.
gberry added a reviewer: atrick.
gberry added a subscriber: llvm-commits.
Herald added subscribers: mzolotukhin, mcrosier.
Fix LSRInstance::HoistInsertPosition() to check the original insert
position block first for a canonical insertion point that is dominated
by all inputs. This leads to SCEV being able to reuse more instructions
since it currently tracks the instructions it creates for reuse by
keeping a table of <Value, insert point> pairs.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3831 bytes
Desc: not available
More information about the llvm-commits