aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-06-05 21:57:13 +0000
committerDevang Patel <dpatel@apple.com>2009-06-05 21:57:13 +0000
commit578efa920abd218ba75a0fb3c9b8398f4c0a774b (patch)
tree6837a5d548b2b8e81d676e7659d64f17dc0972bd /lib/VMCore
parentabc019968067736a499467f7db7fb758a425ca06 (diff)
downloadexternal_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.cpp2
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));