diff options
author | Devang Patel <dpatel@apple.com> | 2009-06-05 21:57:13 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-06-05 21:57:13 +0000 |
commit | 578efa920abd218ba75a0fb3c9b8398f4c0a774b (patch) | |
tree | 6837a5d548b2b8e81d676e7659d64f17dc0972bd /lib/VMCore | |
parent | abc019968067736a499467f7db7fb758a425ca06 (diff) | |
download | external_llvm-578efa920abd218ba75a0fb3c9b8398f4c0a774b.zip external_llvm-578efa920abd218ba75a0fb3c9b8398f4c0a774b.tar.gz external_llvm-578efa920abd218ba75a0fb3c9b8398f4c0a774b.tar.bz2 |
Add new function attribute - noimplicitfloat
Update code generator to use this attribute and remove NoImplicitFloat target option.
Update llc to set this attribute when -no-implicit-float command line option is used.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72959 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r-- | lib/VMCore/Attributes.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/VMCore/Attributes.cpp b/lib/VMCore/Attributes.cpp index 3ebcadb..8dfbd1d 100644 --- a/lib/VMCore/Attributes.cpp +++ b/lib/VMCore/Attributes.cpp @@ -61,6 +61,8 @@ std::string Attribute::getAsString(Attributes Attrs) { Result += "sspreq "; if (Attrs & Attribute::NoRedZone) Result += "noredzone "; + if (Attrs & Attribute::NoImplicitFloat) + Result += "noimplicitfloat "; if (Attrs & Attribute::Alignment) { Result += "align "; Result += utostr(Attribute::getAlignmentFromAttrs(Attrs)); |