Skip to content

Commit 25d1e0d

Browse files
author
joaosaffran
committed
removing unused header
1 parent 9fe38df commit 25d1e0d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/lib/Target/DirectX/DXILTranslateMetadata.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
#include "llvm/IR/MDBuilder.h"
2626
#include "llvm/IR/Metadata.h"
2727
#include "llvm/IR/Module.h"
28-
#include "llvm/IR/Verifier.h"
2928
#include "llvm/InitializePasses.h"
3029
#include "llvm/Pass.h"
3130
#include "llvm/Support/ErrorHandling.h"
@@ -331,6 +330,7 @@ static void translateBranchMetadata(Module &M) {
331330

332331
BBTerminatorInst->setMetadata("dx.controlflow.hints", MDNode);
333332
BBTerminatorInst->setMetadata("hlsl.controlflow.hint", nullptr);
333+
334334
}
335335
}
336336
}

llvm/test/CodeGen/DirectX/HLSLControlFlowHint.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ if.end: ; preds = %if.else, %if.then
3232
ret i32 %3
3333
}
3434

35-
35+
;CHECK: bnabnasn
3636
; CHECK: define i32 @test_flatten(i32 %X)
3737
; CHECK-NOT: hlsl.controlflow.hint
3838
; CHECK: br i1 %cmp, label %if.then, label %if.else, !dx.controlflow.hints [[HINT_FLATTEN:![0-9]+]]

0 commit comments

Comments
 (0)