Transforms: Fix bootstrap after r266565
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sun, 17 Apr 2016 19:26:49 +0000 (19:26 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sun, 17 Apr 2016 19:26:49 +0000 (19:26 +0000)
commita71301befa81f0985ecfc3eac2336cbc9749daef
treee7193c477c13b7ae983474a77c0a9afc3de01613
parent197871d5322f6a294d58bfa54c25772808170fbb
Transforms: Fix bootstrap after r266565

Apparently there isn't test coverage for all of these.  I'd appreciate
if someone with could reproduce and send me something to reduce, but for
now I've just looked for users of RemapInstruction and MapValue and
ensured they don't accidentally insert nullptr.  Here is one of the
bootstraps that caught:

  http://lab.llvm.org:8011/builders/clang-x64-ninja-win7/builds/11494

llvm-svn: 266567
llvm/lib/Transforms/Scalar/LoopRotation.cpp
llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp