[all-commits] [llvm/llvm-project] 47d185: [mlir] Provide LLVMType::getPrimitiveSizeInBits

ftynse via All-commits all-commits at lists.llvm.org
Mon Aug 17 09:02:04 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 47d185784d1b82da66da01fe59c05975d455f222
      https://github.com/llvm/llvm-project/commit/47d185784d1b82da66da01fe59c05975d455f222
  Author: Alex Zinenko <zinenko at google.com>
  Date:   2020-08-17 (Mon, 17 Aug 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMTypes.h
    M mlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp

  Log Message:
  -----------
  [mlir] Provide LLVMType::getPrimitiveSizeInBits

This function is available on llvm::Type and has been used by some clients of
the LLVM dialect before the transition. Implement the MLIR counterpart.

Reviewed By: schweitz

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




More information about the All-commits mailing list