[all-commits] [llvm/llvm-project] e927a3: [mlir][LLVMIR] Add support for translating FCmp & ...

Min-Yih Hsu via All-commits all-commits at lists.llvm.org
Mon May 2 16:23:57 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e927a336a58b93ea2b2cddfc511e531695273d8d
  Author: Min-Yih Hsu <minyihh at uci.edu>
  Date:   2022-05-02 (Mon, 02 May 2022)

  Changed paths:
    M mlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp
    M mlir/test/Target/LLVMIR/Import/basic.ll

  Log Message:
  [mlir][LLVMIR] Add support for translating FCmp & FP constants

This patch add supports for translating FCmp and more kinds of FP
constants in addition to 32 & 64-bit ones. However, we can't express
ppc_fp128 constants right now because the semantics for its underlying
APFloat is `S_PPCDoubleDouble` but mlir::FloatType doesn't support such
semantics right now.

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

More information about the All-commits mailing list