[all-commits] [llvm/llvm-project] f21f1e: [FPEnv] EarlyCSE support for constrained intrinsic...

Kevin P. Neal via All-commits all-commits at lists.llvm.org
Thu May 20 11:41:18 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f21f1eea05d65dbd6992fdb6b2bf1d5b4f657166
      https://github.com/llvm/llvm-project/commit/f21f1eea05d65dbd6992fdb6b2bf1d5b4f657166
  Author: Kevin P. Neal <kevin.neal at sas.com>
  Date:   2021-05-20 (Thu, 20 May 2021)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicInst.h
    M llvm/lib/IR/IntrinsicInst.cpp
    M llvm/lib/Transforms/Scalar/EarlyCSE.cpp
    A llvm/test/Transforms/EarlyCSE/defaultfp-strictfp.ll

  Log Message:
  -----------
  [FPEnv] EarlyCSE support for constrained intrinsics, default FP environment edition

EarlyCSE cannot distinguish between floating point instructions and
constrained floating point intrinsics that are marked as running in the
default FP environment. Said intrinsics are supposed to behave exactly the
same as the regular FP instructions. Teach EarlyCSE to handle them in that
case.

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




More information about the All-commits mailing list