HomePhabricator

[NFC] Refactor handling of Xarch option

Authored by yaxunl on Mar 19 2020, 2:11 PM.

Description

[NFC] Refactor handling of Xarch option

Extract common code to a function. To prepare for
adding an option for CUDA/HIP host and device only
option.

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

Details

Committed
yaxunlMar 22 2020, 11:42 AM
Differential Revision
D76455: [NFC] Refactor handling of Xarch option
Parents
rG314deab9af94: Add Triple::isAMDGPU
Branches
Unknown
Tags
Unknown