diff options
| author | Manman Ren <manman.ren@gmail.com> | 2015-12-16 20:45:48 +0000 | 
|---|---|---|
| committer | Manman Ren <manman.ren@gmail.com> | 2015-12-16 20:45:48 +0000 | 
| commit | 3e3edc91f9804890e9dece957d95a7a1347b971e (patch) | |
| tree | 89fc8918cfebb04b75e686afa257284ac2219283 /llvm/lib/CodeGen | |
| parent | 993d35b4aa4f69856983551f26e5e1507dd87770 (diff) | |
| download | bcm5719-llvm-3e3edc91f9804890e9dece957d95a7a1347b971e.tar.gz bcm5719-llvm-3e3edc91f9804890e9dece957d95a7a1347b971e.zip | |
CXX_FAST_TLS calling convention: target independent portion.
Update supportSplitCSR's interface to take machine function instead of the
calling convention.
Review comments for http://reviews.llvm.org/D15341
llvm-svn: 255818
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 5f3e4a02341..853a21a15eb 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -470,9 +470,9 @@ bool SelectionDAGISel::runOnMachineFunction(MachineFunction &mf) {    FuncInfo->SplitCSR = false;    SmallVector<MachineBasicBlock*, 4> Returns; -  // We split CSR if the target supports it for the given calling convention +  // We split CSR if the target supports it for the given function    // and the function has only return exits. -  if (TLI->supportSplitCSR(Fn.getCallingConv())) { +  if (TLI->supportSplitCSR(MF)) {      FuncInfo->SplitCSR = true;      // Collect all the return blocks. | 

