[all-commits] [llvm/llvm-project] 0e09d1: Reland [GlobalISel] NFC: Have LLT::getSizeInBits/B...

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Mon Jun 28 07:25:58 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0e09d18c6a0a73dc9ed9e45584407a7a44fbbc4a
      https://github.com/llvm/llvm-project/commit/0e09d18c6a0a73dc9ed9e45584407a7a44fbbc4a
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2021-06-28 (Mon, 28 Jun 2021)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h
    M llvm/include/llvm/Support/LowLevelTypeImpl.h
    M llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
    M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
    M llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
    M llvm/unittests/CodeGen/LowLevelTypeTest.cpp
    M llvm/utils/TableGen/GlobalISelEmitter.cpp

  Log Message:
  -----------
  Reland [GlobalISel] NFC: Have LLT::getSizeInBits/Bytes return a TypeSize.

This patch relands https://reviews.llvm.org/D104454, but fixes some failing
builds on Mac OS which apparently has a different definition for size_t,
that caused 'ambiguous operator overload' for the implicit conversion
of TypeSize to a scalar value.

This reverts commit b732e6c9a8438e5204ac96c8ca76f9b11abf98ff.




More information about the All-commits mailing list