OSDN Git Service

Fix crasher introduced in r200203 and caught by a libc++ buildbot. Don't assume that...
authorNick Lewycky <nicholas@mxc.ca>
Mon, 27 Jan 2014 10:47:44 +0000 (10:47 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Mon, 27 Jan 2014 10:47:44 +0000 (10:47 +0000)
commit4bfa6fecc1348f120e463138d4fb435b40d7b650
tree20ff3b0ecd75e4b21c1610a577975b71d04b78be
parentf2282cac95e7849a86437e347921bc4cc28d403f
Fix crasher introduced in r200203 and caught by a libc++ buildbot. Don't assume that getMulExpr returns a SCEVMulExpr, it may have simplified it to something else!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200210 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ScalarEvolution.cpp
test/Analysis/ScalarEvolution/fold.ll