We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af8f210 commit 46bd79cCopy full SHA for 46bd79c
clang/lib/Driver/Driver.cpp
@@ -5319,9 +5319,7 @@ Action *Driver::ConstructPhaseAction(
5319
// assembling and linking. With -save-temps, these steps must be explicitly
5320
// disabled, as done here. We also force skipping these steps regardless of
5321
// -save-temps to avoid relying on optimizations (unless -S is set).
5322
- bool IsBinarySPIRVOutput =
5323
- UseSPIRVBackendForHipDeviceOnlyNoRDC && !Args.hasArg(options::OPT_S);
5324
- if (IsBinarySPIRVOutput) {
+ if (UseSPIRVBackendForHipDeviceOnlyNoRDC && !Args.hasArg(options::OPT_S)) {
5325
// The current HIP bundling expects the type to be types::TY_Image
5326
return C.MakeAction<BackendJobAction>(Input, types::TY_Image);
5327
}
0 commit comments