[all-commits] [llvm/llvm-project] ccd96b: [builtins][test] Fix divmodti4_test.c on Windows

aeubanks via All-commits all-commits at lists.llvm.org
Thu Mar 23 19:09:26 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ccd96b3e03e18653e909852bfef105fc10782acb
      https://github.com/llvm/llvm-project/commit/ccd96b3e03e18653e909852bfef105fc10782acb
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2023-03-23 (Thu, 23 Mar 2023)

  Changed paths:
    M compiler-rt/test/builtins/Unit/divmodti4_test.c

  Log Message:
  -----------
  [builtins][test] Fix divmodti4_test.c on Windows

By making the 64 bit integer literals unsigned. Otherwise some of them
are unexpectedly sign extended (and the compiler rightly diagnosed this
with warnings)

Initially added in D80506.

Reviewed By: MaskRay

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




More information about the All-commits mailing list