Skip to content

Commit e7ab0ec

Browse files
committed
Add comment about returning ISD::DELETED_NODE by default
1 parent f588c72 commit e7ab0ec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/include/llvm/CodeGen/TargetLowering.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2123,7 +2123,8 @@ class TargetLoweringBase {
21232123
/// Get the ISD node that corresponds to the Instruction class opcode.
21242124
int InstructionOpcodeToISD(unsigned Opcode) const;
21252125

2126-
/// Get the ISD node that corresponds to the Intrinsic ID.
2126+
/// Get the ISD node that corresponds to the Intrinsic ID. Returns
2127+
/// ISD::DELETED_NODE by default for an unsupported Intrinsic ID.
21272128
int IntrinsicIDToISD(Intrinsic::ID ID) const;
21282129

21292130
/// @}

0 commit comments

Comments
 (0)