HomePhabricator

[clang][nfc] Split getOrCheckAMDGPUCodeObjectVersion

Authored by JonChesterfield on Apr 22 2021, 4:24 PM.

Description

[clang][nfc] Split getOrCheckAMDGPUCodeObjectVersion

[clang][nfc] Split getOrCheckAMDGPUCodeObjectVersion

Separates detection of deprecated or invalid code object version from
returning the version. Written to avoid any behaviour change.

Precursor to a revision of D98746.

Reviewed By: yaxunl

Differential Revision: https://reviews.llvm.org/D101077

Details