[PATCH] D29331: [LICM] Hoist loads that are dominated by invariant.start intrinsic, and are invariant in the loop.
Anna Thomas via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 1 12:19:03 PST 2017
anna updated this revision to Diff 86696.
anna added a comment.
There is no guarantee that the preheader exists when invoking `canSinkOrHoistInst` function.
Use the properly dominates property on the loopHeader instead.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 8266 bytes
Desc: not available
More information about the llvm-commits