Use a Factory Method for MachineFunctionInfo Creation
authorMehdi Amini <mehdi.amini@apple.com>
Tue, 6 Jan 2015 20:05:02 +0000 (20:05 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Tue, 6 Jan 2015 20:05:02 +0000 (20:05 +0000)
commit73996c5cb87e986913e5131f2efed69de3caf1c4
tree3d38a237d1e90e8e8399ebe0dea9d5eb515f423b
parent507dd3270367eb3c2381c7f426a0a50d58df3a8d
Use a Factory Method for MachineFunctionInfo Creation

The goal is to allows MachineFunctionInfo to override this create
function to customize the creation.
No change intended in existing backend in this patch.

llvm-svn: 225292
llvm/include/llvm/CodeGen/MachineFunction.h