The previous implementation required that -maltivec be specified when using either -mabi=vec-extabi or -mabi=vec-default, this patch removes that requirement.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/test/CodeGen/altivec.c | ||
---|---|---|
1 | I think it would be a good idea to explicitly specify the cpu while you're in here. |
Readd test for mabi=vec-default.
Add -mcpu=pwr8 to AIX specific test case invocations.
clang/test/CodeGen/altivec.c | ||
---|---|---|
13 | Thanks, we should have those test cases. |
clang/lib/Driver/ToolChains/Clang.cpp | ||
---|---|---|
4669 | Only generate the message when the option is active. |
clang/lib/Driver/ToolChains/Clang.cpp | ||
---|---|---|
4671 | Just to confirm, because the patch description confuses me a bit on this: The intent is to not complain on -mabi=vec-default or -mabi=vec-extabi at all on AIX, right? That is, -mabi=vec-extabi is one way to prepare non-vector code for eventual compatibility purposes. @ZarkoCA, I suggest updating the patch description (and eventual commit message). |
Only generate the message when the option is active.