Skip to content

Commit 5a41ab2

Browse files
committed
Apply review comment.
Signed-off-by: Alexey Bader <[email protected]>
1 parent 810327a commit 5a41ab2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/lib/CodeGen/BackendUtil.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -898,9 +898,8 @@ void EmitAssemblyHelper::EmitAssembly(BackendAction Action,
898898
std::unique_ptr<llvm::ToolOutputFile> ThinLinkOS, DwoOS;
899899

900900
// Clean-up SYCL device code if LLVM passes are disabled
901-
if (LangOpts.SYCLIsDevice && CodeGenOpts.DisableLLVMPasses) {
901+
if (LangOpts.SYCLIsDevice && CodeGenOpts.DisableLLVMPasses)
902902
PerModulePasses.add(createDeadCodeEliminationPass());
903-
}
904903

905904
switch (Action) {
906905
case Backend_EmitNothing:

0 commit comments

Comments
 (0)