[clang][nfc] Split getOrCheckAMDGPUCodeObjectVersion
Separates detection of deprecated or invalid code object version from
returning the version. Alternative to D101077.
Paths
| Differential D101117
[clang][nfc] Split getOrCheckAMDGPUCodeObjectVersion AbandonedPublic Authored by JonChesterfield on Apr 22 2021, 3:42 PM.
Details
Diff Detail
Unit TestsFailed Event TimelineHerald added subscribers: kerbowa, t-tye, tpr and 4 others. · View Herald TranscriptApr 22 2021, 3:42 PM JonChesterfield mentioned this in D101077: [clang][nfc] Split getOrCheckAMDGPUCodeObjectVersion.Apr 22 2021, 3:43 PM Comment ActionsI'm not very pleased with this. There's too much state to move around when representing the failure and the control flow is probably harder to read than it was in the original. May take another pass at it. This revision is now accepted and ready to land.Apr 22 2021, 3:49 PM Comment Actions
I am OK with this. If you would like to try more pls go ahead. Comment Actions Abandoning this. Unacceptably ugly, will revise D101077 in a slightly different direction. edit: love the race condition in the comments, just testing an alternative now This revision is now accepted and ready to land.Apr 22 2021, 3:57 PM
Revision Contents
Diff 339806 clang/lib/Driver/ToolChains/AMDGPU.cpp
clang/lib/Driver/ToolChains/Clang.cpp
clang/lib/Driver/ToolChains/CommonArgs.h
clang/lib/Driver/ToolChains/CommonArgs.cpp
clang/lib/Driver/ToolChains/HIP.cpp
|