Skip to content

Commit e63b277

Browse files
maarquitos14jsji
authored andcommitted
Ignore llvm.debugtrap (#2708)
We already ignore llvm.trap, adding llvm.debugtrap as well. Signed-off-by: Marcos Maronas <[email protected]> Original commit: KhronosGroup/SPIRV-LLVM-Translator@3e523388f13bcc7
1 parent ab78ffb commit e63b277

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

llvm-spirv/lib/SPIRV/SPIRVWriter.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4745,9 +4745,8 @@ SPIRVValue *LLVMToSPIRVBase::transIntrinsicInst(IntrinsicInst *II,
47454745
case Intrinsic::invariant_start:
47464746
case Intrinsic::invariant_end:
47474747
case Intrinsic::dbg_label:
4748-
// llvm.trap and llvm.debugtrap intrinsics are not implemented. But for now
4749-
// don't crash. This change is pending the trap/abort intrinsic
4750-
// implementation.
4748+
// llvm.trap and llvm.debug.trap intrinsics are not implemented. But for now don't crash. This
4749+
// change is pending the trap/abort intrinsic implementation.
47514750
case Intrinsic::trap:
47524751
case Intrinsic::ubsantrap:
47534752
case Intrinsic::debugtrap:

0 commit comments

Comments
 (0)