[all-commits] [llvm/llvm-project] 3185c3: Prefer __vector over vector keyword for altivec

serge-sans-paille via All-commits all-commits at lists.llvm.org
Mon Feb 10 11:23:57 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3185c30c54d0af5bffbff3bcfd721668d086ff10
      https://github.com/llvm/llvm-project/commit/3185c30c54d0af5bffbff3bcfd721668d086ff10
  Author: serge-sans-paille <sguelton at redhat.com>
  Date:   2020-02-10 (Mon, 10 Feb 2020)

  Changed paths:
    M clang/lib/Lex/Lexer.cpp

  Log Message:
  -----------
  Prefer __vector over vector keyword for altivec

`vector' uses the keyword-and-predefine mode from gcc, while __vector is
reliably supported.

As a side effect, it also makes the code consistent in its usage of __vector.

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




More information about the All-commits mailing list