OSDN Git Service

Fix this code to avoid dereferencing an end() iterator in
authorDan Gohman <gohman@apple.com>
Fri, 12 Feb 2010 19:20:37 +0000 (19:20 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 12 Feb 2010 19:20:37 +0000 (19:20 +0000)
commitcd045c08cad9bc3e1e3e234453f5f4464b705e02
treef39dfba1296efbcafb401d021b3607e827644cb7
parentb98e16031841b3536a03ca4072fb241ff32c517e
Fix this code to avoid dereferencing an end() iterator in
offset distributions it doesn't expect.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96002 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopStrengthReduce.cpp