summaryrefslogtreecommitdiff
path: root/lib/builtins/extendhfsf2.c
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2015-10-06 04:33:05 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2015-10-06 04:33:05 +0000
commit08b610e8159cc92896536bc347785668a0189c8d (patch)
treed7f3b06172bc6eceb6cb6fa1e4a5294c30fafe7b /lib/builtins/extendhfsf2.c
parent274ff40dd9cd0d190e714976dc59d8f4e6bc9de1 (diff)
builtins: Use MSVC-equivalents of attributes
This allows us to build the builtins using MSVC. NFC. Patch by Tee Hao Wei! git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@249375 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/builtins/extendhfsf2.c')
-rw-r--r--lib/builtins/extendhfsf2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/builtins/extendhfsf2.c b/lib/builtins/extendhfsf2.c
index 7524e2ea7..fc1ca6916 100644
--- a/lib/builtins/extendhfsf2.c
+++ b/lib/builtins/extendhfsf2.c
@@ -14,7 +14,7 @@
// Use a forwarding definition and noinline to implement a poor man's alias,
// as there isn't a good cross-platform way of defining one.
-COMPILER_RT_ABI __attribute__((noinline)) float __extendhfsf2(uint16_t a) {
+COMPILER_RT_ABI NOINLINE float __extendhfsf2(uint16_t a) {
return __extendXfYf2__(a);
}