[all-commits] [llvm/llvm-project] f2b164: [X86] Fix some signedness errors in x86 headers

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun May 8 01:43:18 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f2b16488129ef408e89c900f61dc53b1a6699c45
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-05-08 (Sun, 08 May 2022)

  Changed paths:
    M clang/lib/Headers/avx512bwintrin.h
    M clang/lib/Headers/avx512fintrin.h
    M clang/lib/Headers/avx512vlbf16intrin.h
    M clang/lib/Headers/avx512vlbwintrin.h
    M clang/lib/Headers/avx512vlintrin.h
    M clang/lib/Headers/bmiintrin.h
    M clang/lib/Headers/cetintrin.h
    M clang/lib/Headers/ia32intrin.h
    M clang/lib/Headers/immintrin.h
    M clang/lib/Headers/rdseedintrin.h
    M clang/lib/Headers/rtmintrin.h
    M clang/test/Headers/x86-intrinsics-headers-clean.cpp

  Log Message:
  [X86] Fix some signedness errors in x86 headers

Another step toward enabling full -Wsystem-headers testing across all x86 headers

Fix a number of cases where the arg / return value signedness doesn't match the C/C++ intrinsic.

So far I've just added explicit casts as necessary, but we might want to address some of the mismatches directly

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

More information about the All-commits mailing list