diff options
Diffstat (limited to 'llvm/lib/Transforms')
| -rw-r--r-- | llvm/lib/Transforms/Utils/SimplifyCFG.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Utils/SimplifyCFG.cpp b/llvm/lib/Transforms/Utils/SimplifyCFG.cpp index 55897cc507b..1204a94a32a 100644 --- a/llvm/lib/Transforms/Utils/SimplifyCFG.cpp +++ b/llvm/lib/Transforms/Utils/SimplifyCFG.cpp @@ -1336,8 +1336,6 @@ HoistTerminator: I2->replaceAllUsesWith(NT); NT->takeName(I1); } - NT->setDebugLoc(DILocation::getMergedLocation( - I1->getDebugLoc(), I2->getDebugLoc())); IRBuilder<NoFolder> Builder(NT); // Hoisting one of the terminators from our successor is a great thing. |

