[all-commits] [llvm/llvm-project] 7aa90b: [PowerPC] Replace __ppc64__ with __powerpc64__

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Nov 6 16:17:04 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7aa90b21b453d1ca52fdfccfd7e01e61d9e5b1f1
      https://github.com/llvm/llvm-project/commit/7aa90b21b453d1ca52fdfccfd7e01e61d9e5b1f1
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-11-06 (Sun, 06 Nov 2022)

  Changed paths:
    M clang/lib/Headers/ppc_wrappers/emmintrin.h
    M clang/lib/Headers/ppc_wrappers/mm_malloc.h
    M clang/lib/Headers/ppc_wrappers/mmintrin.h
    M clang/lib/Headers/ppc_wrappers/pmmintrin.h
    M clang/lib/Headers/ppc_wrappers/smmintrin.h
    M clang/lib/Headers/ppc_wrappers/tmmintrin.h
    M clang/lib/Headers/ppc_wrappers/xmmintrin.h

  Log Message:
  -----------
  [PowerPC] Replace __ppc64__ with __powerpc64__

The lowercase __ppc64__ is not defined by non-darwin GCC, therefore it lures
users to write code which is not portable to GCC. Migrate to __powerpc64__ in
preparation for undefining __ppc64__. __powerpc64__ is much more common than
__PPC64__.




More information about the All-commits mailing list