diff options
author | Craig Topper <craig.topper@gmail.com> | 2015-09-05 04:49:44 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2015-09-05 04:49:44 +0000 |
commit | 02a55d701db9ada715a6deebc37fb6b8fee6b133 (patch) | |
tree | fd933d26eba7e3fb8300add7d3d4f31ff0aac26f /llvm/lib/Transforms | |
parent | e6c2ae3294df954ab58238824bc6eb240154c2b2 (diff) | |
download | bcm5719-llvm-02a55d701db9ada715a6deebc37fb6b8fee6b133.tar.gz bcm5719-llvm-02a55d701db9ada715a6deebc37fb6b8fee6b133.zip |
Fix build warning.
llvm-svn: 246908
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r-- | llvm/lib/Transforms/Utils/SimplifyCFG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/SimplifyCFG.cpp b/llvm/lib/Transforms/Utils/SimplifyCFG.cpp index 3fd8c81fe4a..0277ed34f84 100644 --- a/llvm/lib/Transforms/Utils/SimplifyCFG.cpp +++ b/llvm/lib/Transforms/Utils/SimplifyCFG.cpp @@ -2992,7 +2992,7 @@ bool SimplifyCFGOpt::SimplifyCleanupReturn(CleanupReturnInst *RI) { int Idx = DestPN->getBasicBlockIndex(BB); // Since BB unwinds to UnwindDest, it has to be in the PHI node. - assert(Idx != -1U); + assert(Idx != -1); // This PHI node has an incoming value that corresponds to a control // path through the cleanup pad we are removing. If the incoming // value is in the cleanup pad, it must be a PHINode (because we |