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 1d0052b commit da9e715Copy full SHA for da9e715
clang/lib/Driver/ToolChains/AMDGPU.cpp
@@ -1111,7 +1111,7 @@ std::optional<std::string> AMDGPUToolChain::filterSanitizeOption(
1111
? llvm::AMDGPU::getArchAttrAMDGCN(ProcKind)
1112
: llvm::AMDGPU::getArchAttrR600(ProcKind);
1113
if (Features & llvm::AMDGPU::FEATURE_XNACK_ALWAYS)
1114
- return false;
+ return std::nullopt;
1115
1116
// Look for the xnack feature in TargetID
1117
llvm::StringMap<bool> FeatureMap;
0 commit comments