Skip to content

Commit 31b08be

Browse files
committed
[NFC] Replace boolean variable with its expression.
1 parent 0df2bd4 commit 31b08be

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

clang/lib/Driver/Driver.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5319,9 +5319,7 @@ Action *Driver::ConstructPhaseAction(
53195319
// assembling and linking. With -save-temps, these steps must be explicitly
53205320
// disabled, as done here. We also force skipping these steps regardless of
53215321
// -save-temps to avoid relying on optimizations (unless -S is set).
5322-
bool IsBinarySPIRVOutput =
5323-
UseSPIRVBackendForHipDeviceOnlyNoRDC && !Args.hasArg(options::OPT_S);
5324-
if (IsBinarySPIRVOutput) {
5322+
if (UseSPIRVBackendForHipDeviceOnlyNoRDC && !Args.hasArg(options::OPT_S)) {
53255323
// The current HIP bundling expects the type to be types::TY_Image
53265324
return C.MakeAction<BackendJobAction>(Input, types::TY_Image);
53275325
}

0 commit comments

Comments
 (0)