diff options
author | Devang Patel <dpatel@apple.com> | 2009-06-05 22:05:48 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-06-05 22:05:48 +0000 |
commit | acebb397fa5d63835a0de9cee144987057ec1333 (patch) | |
tree | 8de93c8e9c80f14b60424545e85f8990c550378a /lib/CodeGen/CGCall.cpp | |
parent | 496b5a894c5ec5425de53909f5aac3fb4771a2ec (diff) |
Set function Attribute::NoImplicitFloat appropriately.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72961 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGCall.cpp')
-rw-r--r-- | lib/CodeGen/CGCall.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/CGCall.cpp b/lib/CodeGen/CGCall.cpp index 248619fc2d..55601f38db 100644 --- a/lib/CodeGen/CGCall.cpp +++ b/lib/CodeGen/CGCall.cpp @@ -1755,6 +1755,8 @@ void CodeGenModule::ConstructAttributeList(const CGFunctionInfo &FI, if (CompileOpts.DisableRedZone) FuncAttrs |= llvm::Attribute::NoRedZone; + if (CompileOpts.NoImplicitFloat) + FuncAttrs |= llvm::Attribute::NoImplicitFloat; QualType RetTy = FI.getReturnType(); unsigned Index = 1; |