[PATCH] D126302: [PowerPC] Diagnose invalid combination with Altivec, VSX and soft-float

2022-05-26 Thread Amy Kwan via Phabricator via cfe-commits
amyk added inline comments. Comment at: clang/lib/Basic/Targets/PPC.cpp:452 + if (llvm::is_contained(FeaturesVec, "-hard-float") && + llvm::is_contained(FeaturesVec, "+altivec")) +Diags.Report(diag::err_opt_not_valid_with_opt) << "-msoft-float" Do we

[PATCH] D126302: [PowerPC] Diagnose invalid combination with Altivec, VSX and soft-float

2022-05-25 Thread Qiu Chaofan via Phabricator via cfe-commits
qiucf added inline comments. Comment at: clang/lib/Basic/Targets/PPC.cpp:450 + // Cannot allow VSX with no Altivec. + if (llvm::is_contained(FeaturesVec, "-hard-float") && Comments in reverse order? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST

[PATCH] D126302: [PowerPC] Diagnose invalid combination with Altivec, VSX and soft-float

2022-05-24 Thread Laurentiu Tertan via Phabricator via cfe-commits
ltertan added inline comments. Comment at: clang/lib/Basic/Targets/PPC.cpp:455 + << "-maltivec"; + + // Cannot allow soft-float with Altivec. Do we also need to return from here? Comment at:

[PATCH] D126302: [PowerPC] Diagnose invalid combination with Altivec, VSX and soft-float

2022-05-24 Thread Laurentiu Tertan via Phabricator via cfe-commits
Laurentiu added a comment. Hi Nemanja, I just realized I only had a personal account on llvm.org. Would you be able to remove me from that review and add laurentiu.ter...@windriver.com instead? Thanks, Laurentiu Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION

[PATCH] D126302: [PowerPC] Diagnose invalid combination with Altivec, VSX and soft-float

2022-05-24 Thread Nemanja Ivanovic via Phabricator via cfe-commits
nemanjai created this revision. nemanjai added reviewers: Laurentiu, PowerPC. Herald added subscribers: shchenz, kbarton. Herald added a project: All. nemanjai requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. The current behaviour with