[all-commits] [llvm/llvm-project] 91f886: [FPEnv][TableGen] Add strictfp attribute to constr...

Kevin P. Neal via All-commits all-commits at lists.llvm.org
Wed Jul 12 06:56:09 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 91f886a40d3fbabfc539c2bd8977a1ccb45aa450
  Author: Kevin P. Neal <kevin.neal at sas.com>
  Date:   2023-07-12 (Wed, 12 Jul 2023)

  Changed paths:
    M clang/test/CodeGenOpenCL/cl20-device-side-enqueue-attributes.cl
    M llvm/include/llvm/IR/Intrinsics.td
    A llvm/test/Assembler/fp-intrinsics-attr.ll
    M llvm/test/Verifier/fp-intrinsics-pass.ll
    M llvm/utils/TableGen/CodeGenIntrinsics.cpp
    M llvm/utils/TableGen/CodeGenIntrinsics.h
    M llvm/utils/TableGen/IntrinsicEmitter.cpp

  Log Message:
  [FPEnv][TableGen] Add strictfp attribute to constrained intrinsics by default.

In D146869 @arsenm pointed out that the constrained intrinsics aren't
getting the strictfp attribute by default. They should be since they are
required to have it anyway.

TableGen did not know about this attribute until now. This patch adds
strictfp to TableGen, and it uses it on all of the constrained intrinsics.

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

More information about the All-commits mailing list