diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2012-02-22 19:06:13 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2012-02-22 19:06:13 +0000 |
commit | c9c137b463b953fbf8942f655d67f6dc1a0f7965 (patch) | |
tree | fb821df0bf66e260540e0ac69de15d061ae47016 /lib/CodeGen/SelectionDAG/FastISel.cpp | |
parent | 2fc0977a988a49dacb0ca0954e40ddc4e8849d4c (diff) | |
download | external_llvm-c9c137b463b953fbf8942f655d67f6dc1a0f7965.zip external_llvm-c9c137b463b953fbf8942f655d67f6dc1a0f7965.tar.gz external_llvm-c9c137b463b953fbf8942f655d67f6dc1a0f7965.tar.bz2 |
Properly emit _fltused with FastISel. Refactor to share code with SDAG.
Patch by Joe Groff!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151183 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/FastISel.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/FastISel.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/FastISel.cpp b/lib/CodeGen/SelectionDAG/FastISel.cpp index dce3389..fd8ce78 100644 --- a/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/lib/CodeGen/SelectionDAG/FastISel.cpp @@ -561,6 +561,9 @@ bool FastISel::SelectCall(const User *I) { return true; } + MachineModuleInfo &MMI = FuncInfo.MF->getMMI(); + ComputeUsesVAFloatArgument(*Call, &MMI); + const Function *F = Call->getCalledFunction(); if (!F) return false; |