HomePhabricator

[HIP] Handle compile -m options and propagate into LLC

Description

[HIP] Handle compile -m options and propagate into LLC

Allow the compile options for -m such as -mxnack/-mno-xnack, -msram-ecc/-mno-sram-ecc, -mcode-object-v3/-mno-code-object-v3 to propagate into LLC args. Fix an issue where -mattr was pushed even when it was empty.

Also add lit tests to verify features are properly passed.

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

Reviewers: yaxunl, kzhuravl

Details

Committed
aaronenyeshiFeb 13 2019, 8:12 AM
Differential Revision
D57977: [HIP] compile option code-object-v3 propagate to llc
Branches
Unknown
Tags
Unknown