diff options
author | Kyle Butt <kyle+llvm@iteratee.net> | 2016-08-25 01:37:07 +0000 |
---|---|---|
committer | Kyle Butt <kyle+llvm@iteratee.net> | 2016-08-25 01:37:07 +0000 |
commit | c7f1eac51436d5feda7a831e44d0ddb86678462e (patch) | |
tree | e8949595f3f971f5e9b99b15e51c45100bce0a6f /llvm/lib/CodeGen/TailDuplication.cpp | |
parent | 3ed4273d3314fea02c39440055d1529d662e18cf (diff) | |
download | bcm5719-llvm-c7f1eac51436d5feda7a831e44d0ddb86678462e.tar.gz bcm5719-llvm-c7f1eac51436d5feda7a831e44d0ddb86678462e.zip |
TailDuplication: Don't pass MMI separately from MF. NFC
MMI must match the function passed, and MF has a handle on MMI. Use that instead
of accepting it as separate argument. No Functional Change.
llvm-svn: 279701
Diffstat (limited to 'llvm/lib/CodeGen/TailDuplication.cpp')
-rw-r--r-- | llvm/lib/CodeGen/TailDuplication.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TailDuplication.cpp b/llvm/lib/CodeGen/TailDuplication.cpp index d603400597f..6e8ee9e2634 100644 --- a/llvm/lib/CodeGen/TailDuplication.cpp +++ b/llvm/lib/CodeGen/TailDuplication.cpp @@ -49,7 +49,7 @@ bool TailDuplicatePass::runOnMachineFunction(MachineFunction &MF) { auto MBPI = &getAnalysis<MachineBranchProbabilityInfo>(); - Duplicator.initMF(MF, MMI, MBPI); + Duplicator.initMF(MF, MBPI); bool MadeChange = false; while (Duplicator.tailDuplicateBlocks()) |