OSDN Git Service

TailDuplication: Don't pass MMI separately from MF. NFC
authorKyle Butt <kyle+llvm@iteratee.net>
Thu, 25 Aug 2016 01:37:07 +0000 (01:37 +0000)
committerKyle Butt <kyle+llvm@iteratee.net>
Thu, 25 Aug 2016 01:37:07 +0000 (01:37 +0000)
commit06d37a2963ff6f9f6c9e8fcb87d2d8e8cb0dbf74
tree37b70da20d8cb11f46c9a79b86519993a1524c19
parent227103b8b374ef686218c78ceb5ce1dbdc224bbd
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279701 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/TailDuplicator.h
lib/CodeGen/TailDuplication.cpp
lib/CodeGen/TailDuplicator.cpp