[all-commits] [llvm/llvm-project] b02c7a: Fix "result of 32-bit shift implicitly converted t...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Apr 2 04:02:13 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b02c7a81523f3a9d14f418e5453bd222127e780a
      https://github.com/llvm/llvm-project/commit/b02c7a81523f3a9d14f418e5453bd222127e780a
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-04-02 (Thu, 02 Apr 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

  Log Message:
  -----------
  Fix "result of 32-bit shift implicitly converted to 64 bits" MSVC warning. NFCI.

The shift of 1 by an amount that is never more than 31 means that the warning is a false positive but is safe and fixes Werror builds.




More information about the All-commits mailing list