When emitting code for an add, don't force a SCEVUnknown wrapper around
authorDan Gohman <gohman@apple.com>
Fri, 9 Apr 2010 19:14:31 +0000 (19:14 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 9 Apr 2010 19:14:31 +0000 (19:14 +0000)
commitf8d0578e4cbd5922696c92f5068c5513d8e8d60e
tree6562115b4f1b7ba1d4010c5b579b4d65a72dbf59
parent4a2a68336638e99a475b09a9278399db6749618f
When emitting code for an add, don't force a SCEVUnknown wrapper around
a hoisted intermediate result if the intermediate result isn't an
Instruction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100884 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ScalarEvolutionExpander.cpp
test/Transforms/LoopStrengthReduce/uglygep.ll [new file with mode: 0644]