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

Hans via All-commits all-commits at lists.llvm.org
Tue Feb 11 01:29:38 PST 2020


  Branch: refs/heads/release/10.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 699e2a6c5551eacf10be7e64f579120954f55b10
      https://github.com/llvm/llvm-project/commit/699e2a6c5551eacf10be7e64f579120954f55b10
  Author: serge-sans-paille <sguelton at redhat.com>
  Date:   2020-02-11 (Tue, 11 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

(cherry picked from commit 3185c30c54d0af5bffbff3bcfd721668d086ff10)




More information about the All-commits mailing list