[PATCH] D15058: [SCEVExpander] Have hoistIVInc preserve LCSSA

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 29 14:29:24 PST 2015


sanjoy created this revision.
sanjoy added reviewers: hfinkel, majnemer.
sanjoy added a subscriber: llvm-commits.

(Note: the problematic invocation of hoistIVInc that caused PR24804 came
from IndVarSimplify, not from SCEVExpander itself)

Fixes PR24804.  Test case by David Majnemer.

http://reviews.llvm.org/D15058

Files:
  include/llvm/Analysis/LoopInfo.h
  include/llvm/IR/Instruction.h
  lib/Analysis/ScalarEvolutionExpander.cpp
  lib/IR/Instruction.cpp
  test/Transforms/IndVarSimplify/pr24804.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15058.41354.patch
Type: text/x-patch
Size: 5807 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151129/10ed8714/attachment.bin>


More information about the llvm-commits mailing list