[all-commits] [llvm/llvm-project] 115b3a: Mapping of FP operations to constrained intrinsics

Serge Pavlov via All-commits all-commits at lists.llvm.org
Tue Mar 29 22:24:13 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 115b3ace369254f573ca28934ef30ab9d8f497ef
      https://github.com/llvm/llvm-project/commit/115b3ace369254f573ca28934ef30ab9d8f497ef
  Author: Serge Pavlov <sepavloff at gmail.com>
  Date:   2022-03-30 (Wed, 30 Mar 2022)

  Changed paths:
    M llvm/include/llvm/IR/FPEnv.h
    M llvm/lib/IR/FPEnv.cpp
    M llvm/unittests/IR/InstructionsTest.cpp

  Log Message:
  -----------
  Mapping of FP operations to constrained intrinsics

A new function 'getConstrainedIntrinsic' is added, which for any gived
instruction returns id of the corresponding constrained intrinsic. If
there is no constrained counterpart for the instruction or the instruction
is already a constrained intrinsic, the function returns zero.

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




More information about the All-commits mailing list