[all-commits] [llvm/llvm-project] 2c5808: [ARM] Fix MSVC "result of 32-bit shift implicitly ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Feb 8 07:27:21 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2c580884c1de70b13503a14f61ea124e7202308d
      https://github.com/llvm/llvm-project/commit/2c580884c1de70b13503a14f61ea124e7202308d
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-02-08 (Wed, 08 Feb 2023)

  Changed paths:
    M llvm/lib/Target/ARM/ARMISelLowering.cpp

  Log Message:
  -----------
  [ARM] Fix MSVC "result of 32-bit shift implicitly converted to 64 bits" warning. NFC.

Use APInt::setBit() method instead of OR'ing individual bits.




More information about the All-commits mailing list