aboutsummaryrefslogtreecommitdiffstats
path: root/test/Other/2009-06-05-no-implicit-float.ll
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 /test/Other/2009-06-05-no-implicit-float.ll
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 'test/Other/2009-06-05-no-implicit-float.ll')
-rw-r--r--test/Other/2009-06-05-no-implicit-float.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Other/2009-06-05-no-implicit-float.ll b/test/Other/2009-06-05-no-implicit-float.ll
new file mode 100644
index 0000000..5addfe2
--- /dev/null
+++ b/test/Other/2009-06-05-no-implicit-float.ll
@@ -0,0 +1,4 @@
+
+; RUN: llvm-as < %s | opt -verify | llvm-dis | grep noimplicitfloat
+define void @f() noimplicitfloat {
+}