mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-01 00:02:16 +00:00
Workaround for a compiler bug (see <rdar://problem/5852746>). Once that bug is
fixed, revert this patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50782 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bec41b8db3
commit
ef02b815cb
@ -1413,7 +1413,9 @@ class HandleSDNode : public SDNode {
|
|||||||
virtual void ANCHOR(); // Out-of-line virtual method to give class a home.
|
virtual void ANCHOR(); // Out-of-line virtual method to give class a home.
|
||||||
SDUse Op;
|
SDUse Op;
|
||||||
public:
|
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)) {
|
: SDNode(ISD::HANDLENODE, getSDVTList(MVT::Other)) {
|
||||||
Op = X;
|
Op = X;
|
||||||
InitOperands(&Op, 1);
|
InitOperands(&Op, 1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user