mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-06 05:33:28 +00:00
Unbreak the build on non-apple compilers :-(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27173 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a3b7f6226f
commit
401ec7f6a9
@ -2689,10 +2689,11 @@ const char *SDNode::getOperationName(const SelectionDAG *G) const {
|
||||
case ISD::FrameIndex: return "FrameIndex";
|
||||
case ISD::ConstantPool: return "ConstantPool";
|
||||
case ISD::ExternalSymbol: return "ExternalSymbol";
|
||||
case ISD::INTRINSIC:
|
||||
case ISD::INTRINSIC: {
|
||||
bool hasChain = getOperand(0).getValueType() == MVT::Other;
|
||||
unsigned IID = cast<ConstantSDNode>(getOperand(hasChain))->getValue();
|
||||
return Intrinsic::getName((Intrinsic::ID)IID);
|
||||
}
|
||||
|
||||
case ISD::BUILD_VECTOR: return "BUILD_VECTOR";
|
||||
case ISD::TargetConstant: return "TargetConstant";
|
||||
|
Loading…
x
Reference in New Issue
Block a user