[all-commits] [llvm/llvm-project] 842e71: Add support for zero-sized Scalars as a LowLevelType

Paulo Matos via All-commits all-commits at lists.llvm.org
Thu Jul 22 04:48:22 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 842e718b666f028e8fd3ea72d999fb5848767a02
      https://github.com/llvm/llvm-project/commit/842e718b666f028e8fd3ea72d999fb5848767a02
  Author: Paulo Matos <pmatos at igalia.com>
  Date:   2021-07-22 (Thu, 22 Jul 2021)

  Changed paths:
    M llvm/include/llvm/Support/LowLevelTypeImpl.h
    M llvm/lib/Support/LowLevelType.cpp
    M llvm/unittests/CodeGen/LowLevelTypeTest.cpp

  Log Message:
  -----------
  Add support for zero-sized Scalars as a LowLevelType

Opaque values (of zero size) can be stored in memory with the
implemention of reference types in the WebAssembly backend. Since
MachineMemOperand uses LLTs we need to be able to support
zero-sized scalars types in LLTs.

Differential Revision: https://reviews.llvm.org/D105423




More information about the All-commits mailing list