[all-commits] [llvm/llvm-project] 9aeecd: Check supported architectures in sseXYZ/avxXYZ hea...

serge-sans-paille via All-commits all-commits at lists.llvm.org
Tue Sep 14 00:59:26 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9aeecdfa8e9104392b435444a5f978d2eb71e51a
      https://github.com/llvm/llvm-project/commit/9aeecdfa8e9104392b435444a5f978d2eb71e51a
  Author: serge-sans-paille <sguelton at redhat.com>
  Date:   2021-09-14 (Tue, 14 Sep 2021)

  Changed paths:
    M clang/lib/Headers/ammintrin.h
    M clang/lib/Headers/emmintrin.h
    M clang/lib/Headers/immintrin.h
    M clang/lib/Headers/mmintrin.h
    M clang/lib/Headers/nmmintrin.h
    M clang/lib/Headers/pmmintrin.h
    M clang/lib/Headers/smmintrin.h
    M clang/lib/Headers/tmmintrin.h
    M clang/lib/Headers/wmmintrin.h
    M clang/lib/Headers/xmmintrin.h
    A clang/test/Headers/xmmintrin-unsupported.c

  Log Message:
  -----------
  Check supported architectures in sseXYZ/avxXYZ headers

It doesn't make sense to include those headers on the wrong architecture,
provide an explicit error message in that case.

Fix https://bugs.llvm.org/show_bug.cgi?id=48915

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




More information about the All-commits mailing list