[all-commits] [llvm/llvm-project] 647d75: [mlir][emitc] Restrict integer and float types (#8...

Tina Jung via All-commits all-commits at lists.llvm.org
Wed Mar 20 08:00:28 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 647d75d3a883c008c19a79bce265388b3c95e742
      https://github.com/llvm/llvm-project/commit/647d75d3a883c008c19a79bce265388b3c95e742
  Author: Tina Jung <tinamaria.jung at amd.com>
  Date:   2024-03-20 (Wed, 20 Mar 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/EmitC/IR/EmitC.h
    M mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
    M mlir/include/mlir/Dialect/EmitC/IR/EmitCTypes.td
    M mlir/lib/Dialect/EmitC/IR/EmitC.cpp
    M mlir/test/Dialect/EmitC/invalid_ops.mlir
    M mlir/test/Dialect/EmitC/invalid_types.mlir

  Log Message:
  -----------
  [mlir][emitc] Restrict integer and float types (#85788)

Restrict which integers and floating-point types are valid in EmitC.
This should cover the types which are supported in C++ and is aligned
with what the emitter currently supports.

The checks are implemented as functions and not fully in tablegen to
allow them to be re-used by conversions to EmitC.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list