[all-commits] [llvm/llvm-project] 47f2af: Fix MSVC "result of 32-bit shift implicitly conver...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Aug 26 07:08:36 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 47f2affa08c2decde4b9ad548fc01378909e1509
      https://github.com/llvm/llvm-project/commit/47f2affa08c2decde4b9ad548fc01378909e1509
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-08-26 (Thu, 26 Aug 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86MCInstLower.cpp

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


  Commit: c17f5afa886a860a30adaa84827c9ec526cdd8f4
      https://github.com/llvm/llvm-project/commit/c17f5afa886a860a30adaa84827c9ec526cdd8f4
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-08-26 (Thu, 26 Aug 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86LowerAMXType.cpp

  Log Message:
  -----------
  [X86] getShape - don't dereference dyn_cast<>

dyn_cast can return nullptr, use cast<> to assert we have the correct type.


Compare: https://github.com/llvm/llvm-project/compare/379b6394d9ca...c17f5afa886a


More information about the All-commits mailing list