[all-commits] [llvm/llvm-project] ec92f7: [mlir][emitc] Print signed integers properly

Simon Camphausen via All-commits all-commits at lists.llvm.org
Mon Sep 13 08:29:59 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ec92f788f34373eafb8b1663245a6ab425405abb
      https://github.com/llvm/llvm-project/commit/ec92f788f34373eafb8b1663245a6ab425405abb
  Author: Simon Camphausen <simon.camphausen at iml.fraunhofer.de>
  Date:   2021-09-13 (Mon, 13 Sep 2021)

  Changed paths:
    M mlir/lib/Target/Cpp/TranslateToCpp.cpp
    M mlir/test/Target/Cpp/const.mlir

  Log Message:
  -----------
  [mlir][emitc] Print signed integers properly

Previously negative integers were printed as large unsigned values.

Reviewed By: marbre

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




More information about the All-commits mailing list