summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Transforms/Utils/UnrollLoopTest.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [LoopUnroll] Add check to Latch's terminator in UnrollRuntimeLoopRemainderDavid Green2018-09-251-0/+76
In this patch, I'm adding an extra check to the Latch's terminator in llvm::UnrollRuntimeLoopRemainder, similar to how it is already done in the llvm::UnrollLoop. The compiler would crash if this function is called with a malformed loop. Patch by Rodrigo Caetano Rocha! Differential Revision: https://reviews.llvm.org/D51486 llvm-svn: 342958
OpenPOWER on IntegriCloud