Skip to content

Commit ec970c2

Browse files
committed
self-review: typos
1 parent a4cc5f5 commit ec970c2

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

llvm/lib/Target/DirectX/DXILTranslateMetadata.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ static void translateGlobalMetadata(Module &M, DXILResourceMap &DRM,
435435
// llvm.errno.tbaa was recently added but is not supported in LLVM 3.7 and
436436
// causes all tests using the DXIL Validator to fail.
437437
//
438-
// This is a temporary fix and should be replaced with a whitelist once
438+
// This is a temporary fix and should be replaced with a allowlist once
439439
// we have determined all metadata that the DXIL Validator allows
440440
if (NamedMDNode *ErrNo = M.getNamedMetadata("llvm.errno.tbaa"))
441441
ErrNo->eraseFromParent();

llvm/test/CodeGen/DirectX/strip-llvm-errno-tbaa.ll

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
; RUN: opt -S -dxil-translate < %s | FileCheck %s
1+
; RUN: opt -S -dxil-translate-metadata < %s | FileCheck %s
22

3-
; Ensures that dxil-translate will remove the llvm.errno.tbaa metadata
3+
; Ensures that dxil-translate-metadata will remove the llvm.errno.tbaa metadata
44

55
target triple = "dxil-unknown-shadermodel6.0-compute"
66

@@ -10,7 +10,6 @@ entry:
1010
}
1111

1212
; CHECK-NOT: !llvm.errno.tbaa
13-
; CHECK-NOT: {{^!}}
1413

1514
!llvm.errno.tbaa = !{!0}
1615

0 commit comments

Comments
 (0)