[all-commits] [llvm/llvm-project] d9af50: [Transforms] getOrEnforceKnownAlignment - fix MSVC...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue Apr 21 10:32:44 PDT 2020


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

  Changed paths:
    M llvm/lib/Transforms/Utils/Local.cpp

  Log Message:
  -----------
  [Transforms] getOrEnforceKnownAlignment - fix MSVC result of 32-bit shift implicitly converted to 64 bits warning. NFCI

We don't overflow here so we can use a U64 shift directly.




More information about the All-commits mailing list