projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77a895e
)
Make the use of the "noinline" attribute conditional on using GCC.
author
Bill Wendling
<isanbard@gmail.com>
Wed, 7 May 2008 00:00:34 +0000
(
00:00
+0000)
committer
Bill Wendling
<isanbard@gmail.com>
Wed, 7 May 2008 00:00:34 +0000
(
00:00
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50789
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/CodeGen/SelectionDAGNodes.h
patch
|
blob
|
history
diff --git
a/include/llvm/CodeGen/SelectionDAGNodes.h
b/include/llvm/CodeGen/SelectionDAGNodes.h
index 0320f7f7be0a840b5b8601cc7255071db4bd3083..f2ff91abf36916571893abb65c0eaf8cb8bac511 100644
(file)
--- a/
include/llvm/CodeGen/SelectionDAGNodes.h
+++ b/
include/llvm/CodeGen/SelectionDAGNodes.h
@@
-1415,7
+1415,11
@@
class HandleSDNode : public SDNode {
public:
// FIXME: Remove the "noinline" attribute once <rdar://problem/5852746> is
// fixed.
+#ifdef __GNUC__
explicit __attribute__((__noinline__)) HandleSDNode(SDOperand X)
+#else
+ explicit HandleSDNode(SDOperand X)
+#endif
: SDNode(ISD::HANDLENODE, getSDVTList(MVT::Other)) {
Op = X;
InitOperands(&Op, 1);