If a value is incoming from outside the loop then the value does not need remapping...
authorDevang Patel <dpatel@apple.com>
Mon, 5 Nov 2007 19:32:30 +0000 (19:32 +0000)
committerDevang Patel <dpatel@apple.com>
Mon, 5 Nov 2007 19:32:30 +0000 (19:32 +0000)
commit5d01aa484f206b68e1f510386dd304cf25c119ff
tree2a2ea502df0d0f96874c6dcb6bf6661e207dc05a
parent9ca08f3d8e810b3792c01335037fa8d4ea3c9691
If a value is incoming from outside the loop then the value does not need remapping and the value is never tracked through  LastValueMap.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43728 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopUnroll.cpp
test/Transforms/LoopUnroll/2007-11-05-Crash.ll [new file with mode: 0644]