[PATCH] D155326: [Clang][lld][RISCV] Passing 'mattr' to lld/llvmgold

2023-07-14 Thread Yingwei Zheng via Phabricator via cfe-commits
dtcxzyw added a comment. In D155326#4501997 , @jrtc27 wrote: > Why do you believe this is better than encoding it in the module's IR like > the ABI? - There is no module-level metadata for target CPU and sub-target features. So I just think that

[PATCH] D155326: [Clang][lld][RISCV] Passing 'mattr' to lld/llvmgold

2023-07-14 Thread Yingwei Zheng via Phabricator via cfe-commits
dtcxzyw created this revision. dtcxzyw added reviewers: MaskRay, jrtc27, kito-cheng, craig.topper. dtcxzyw added projects: lld, clang. Herald added subscribers: jobnoorman, VincentWu, vkmr, luismarques, sameer.abuasal, s.egerton, Jim, benna, psnobl, PkmX, rogfer01, shiva0217, simoncook,

[PATCH] D146364: [Driver] Fix naming conflicts of getStatsFileName when using LTO

2023-03-19 Thread Yingwei Zheng via Phabricator via cfe-commits
dtcxzyw updated this revision to Diff 506387. dtcxzyw removed subscribers: MaskRay, cfe-commits, inglorion. dtcxzyw added a comment. Fix test errors. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D146364/new/ https://reviews.llvm.org/D146364

[PATCH] D146364: [Driver] Fix naming conflicts of getStatsFileName when using LTO

2023-03-18 Thread Yingwei Zheng via Phabricator via cfe-commits
dtcxzyw created this revision. dtcxzyw added reviewers: liaolucy, StephenFan. Herald added a subscriber: inglorion. Herald added a project: All. dtcxzyw requested review of this revision. Herald added subscribers: cfe-commits, MaskRay. Herald added a project: clang. When using `clang` with