[all-commits] [llvm/llvm-project] 356300: [NFC][PowerPC] Update builtins-ppc-altivec.c to be...

Amy Kwan via All-commits all-commits at lists.llvm.org
Mon Jul 19 09:20:49 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 356300a3510c48f1f446cbdf580294b577435589
      https://github.com/llvm/llvm-project/commit/356300a3510c48f1f446cbdf580294b577435589
  Author: Amy Kwan <amy.kwan1 at ibm.com>
  Date:   2021-07-19 (Mon, 19 Jul 2021)

  Changed paths:
    M clang/test/CodeGen/builtins-ppc-altivec.c

  Log Message:
  -----------
  [NFC][PowerPC] Update builtins-ppc-altivec.c to be run under `-faltivec-src-compat=mixed`

This patch adds the `-faltivec-src-compat=mixed` option to the
`builtins-ppc-altivec.c` test.

Currently, the default for `-faltivec-src-compat` is `mixed`. The reason we
explicitly specify `mixed` to the RUN lines of this test is because eventually,
the default will set to `xl`.

Having the default as `xl` changes the CHECKs of this test slightly, as it
reorders some of the `vector bool` and `vector pixel` CHECKs (since under the
`xl` option, `vector bool` and `vector pixel` are treated in the same way as
other vector scalars). Explicitly specifying `mixed` ensures that we are testing
pre-existing Clang behaviour.

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




More information about the All-commits mailing list