Skip to content

Commit 2400d8f

Browse files
committed
fix small typo
1 parent 4c03730 commit 2400d8f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/lib/Target/DirectX/DXILRootSignature.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ static bool validate(LLVMContext *Ctx, const mcdxbc::RootSignatureDesc &RSD) {
434434
if (RSD.Version > 1) {
435435
if (!llvm::hlsl::rootsig::verifyRootDescriptorFlag(RSD.Version,
436436
Descriptor.Flags))
437-
return reportValueError(Ctx, "DescriptorRangeFlag", Descriptor.Flags);
437+
return reportValueError(Ctx, "RootDescriptorFlag", Descriptor.Flags);
438438
}
439439
break;
440440
}

llvm/test/CodeGen/DirectX/ContainerData/RootSignature-RootDescriptor-Invalid-Flags.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
target triple = "dxil-unknown-shadermodel6.0-compute"
44

55

6-
; CHECK: error: Invalid value for DescriptorRangeFlag: 3
6+
; CHECK: error: Invalid value for RootDescriptorFlag: 3
77
; CHECK-NOT: Root Signature Definitions
88
define void @main() #0 {
99
entry:

0 commit comments

Comments
 (0)