[all-commits] [llvm/llvm-project] 8bc29d: [clang][AArch64][SVE] Implement conditional operat...

David Truby via All-commits all-commits at lists.llvm.org
Tue May 3 06:10:50 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8bc29d14273b05b05d5a56e34c07948dc2c770d3
  Author: David Truby <david.truby at arm.com>
  Date:   2022-05-03 (Tue, 03 May 2022)

  Changed paths:
    M clang/include/clang/Sema/Sema.h
    M clang/lib/CodeGen/CGExprScalar.cpp
    M clang/lib/Sema/SemaExprCXX.cpp
    A clang/test/CodeGenCXX/aarch64-sve-vector-conditional-op.cpp
    A clang/test/SemaCXX/aarch64-sve-vector-conditional-op.cpp

  Log Message:
  [clang][AArch64][SVE] Implement conditional operator for SVE vectors

This patch adds support for the conditional (ternary) operator on SVE
scalable vector types in C++, matching the behaviour for NEON vector
types. Like the conditional operator for NEON types, this is disabled in
C mode.

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

More information about the All-commits mailing list