[PATCH] D143467: [PowerPC] Add target feature requirement to builtins

Kamau Bridgeman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 11 08:59:53 PDT 2023


kamaub requested changes to this revision.
kamaub added a comment.
This revision now requires changes to proceed.

Sorry I should have requested changes before for this comment below, but I do want these test moved to codegen and expanded, please let me know if anything is unclear.

In D143467#4241667 <https://reviews.llvm.org/D143467#4241667>, @kamaub wrote:

> Can you add a PowerPC codegen test case for `__attribute__((target(`? All of the updated test cases seem to only test `-target-feature`.
> The only test case we have for `__attribute((target(` is a sema test `./clang/test/Sema/ppc-attr-target-inline.c`.
>
> Converting the deleted `clang/test/Sema/ppc-mma-builtins.c` and `clang/test/Sema/ppc-paired-vector-builtins.c` to a codegen test cases
> like `clang/test/CodeGen/PowerPC/builtins-ppc-htm.c` using FileCheck seems like a nice solution since it would reintroduce the testing
> for `+paired-vector-memops,-mma` situations, as well as a for `__attribute__((target("no-mma")))`




Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143467/new/

https://reviews.llvm.org/D143467



More information about the cfe-commits mailing list