Skip to content

Commit 6aaed03

Browse files
committed
change unreachable message
1 parent 3598e67 commit 6aaed03

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/lib/CodeGen/CGHLSLRuntime.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -435,8 +435,7 @@ llvm::Value *CGHLSLRuntime::emitInputSemantic(IRBuilder<> &B,
435435
if (getArch() == llvm::Triple::spirv)
436436
return createSPIRVBuiltinLoad(B, CGM.getModule(), Ty, "sv_position",
437437
/* BuiltIn::Position */ 0);
438-
llvm_unreachable(
439-
"Shader signature for semantics not implemented for DXIL.");
438+
llvm_unreachable("SV_Position semantic not implemented for this target.");
440439
}
441440
assert(false && "Unhandled parameter attribute");
442441
return nullptr;

0 commit comments

Comments
 (0)