Workaround for a compiler bug (see <rdar://problem/5852746>). Once that bug is
authorBill Wendling <isanbard@gmail.com>
Tue, 6 May 2008 23:30:02 +0000 (23:30 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 6 May 2008 23:30:02 +0000 (23:30 +0000)
fixed, revert this patch.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50782 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/SelectionDAGNodes.h

index a02f7b96f0d53c9771cb0de0abe1ec76818721fc..0320f7f7be0a840b5b8601cc7255071db4bd3083 100644 (file)
@@ -1413,7 +1413,9 @@ class HandleSDNode : public SDNode {
   virtual void ANCHOR();  // Out-of-line virtual method to give class a home.
   SDUse Op;
 public:
-  explicit HandleSDNode(SDOperand X)
+  // FIXME: Remove the "noinline" attribute once <rdar://problem/5852746> is
+  // fixed.
+  explicit __attribute__((__noinline__)) HandleSDNode(SDOperand X)
     : SDNode(ISD::HANDLENODE, getSDVTList(MVT::Other)) {
     Op = X;
     InitOperands(&Op, 1);