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

Serge Pavlov via All-commits all-commits at lists.llvm.org
Wed Mar 30 21:09:03 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 881350a92d821d4f8e4fa648443ed1d17e251188
      https://github.com/llvm/llvm-project/commit/881350a92d821d4f8e4fa648443ed1d17e251188
  Author: Serge Pavlov <sepavloff at gmail.com>
  Date:   2022-03-31 (Thu, 31 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.

This is recommit of 115b3ace369254f573ca28934ef30ab9d8f497ef, reverted in
8160dd582b67430a5c24c836a57ae3c15cfa973c.

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




More information about the All-commits mailing list