[all-commits] [llvm/llvm-project] cd60bf: CodeGen: Add some additional is_fpclass lowering t...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Mar 14 22:13:26 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cd60bff32966e1bd29f3e0e21d6e0b7276017758
      https://github.com/llvm/llvm-project/commit/cd60bff32966e1bd29f3e0e21d6e0b7276017758
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-03-15 (Wed, 15 Mar 2023)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/llvm.is.fpclass.f16.ll
    M llvm/test/CodeGen/X86/is_fpclass.ll

  Log Message:
  -----------
  CodeGen: Add some additional is_fpclass lowering tests

Cover more cases in preparation for making greater use
of fcmp based lowerings. Also add more tests for the inverted
cases. Test iszero | isnan test masks. We should probably just
generate every combination of test masks.


  Commit: 672e91ed982e157bdf609dc999dcdccb7f4e1234
      https://github.com/llvm/llvm-project/commit/672e91ed982e157bdf609dc999dcdccb7f4e1234
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-03-15 (Wed, 15 Mar 2023)

  Changed paths:
    A clang/test/CodeGen/nofpclass.c

  Log Message:
  -----------
  clang: Add baseline test for nofpclass emission


  Commit: e6e7a6dd365d62e9baa04cc25e0dbaac6c5a0700
      https://github.com/llvm/llvm-project/commit/e6e7a6dd365d62e9baa04cc25e0dbaac6c5a0700
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-03-15 (Wed, 15 Mar 2023)

  Changed paths:
    A llvm/test/Transforms/Attributor/nofpclass.ll

  Log Message:
  -----------
  Attributor: Add baseline tests for nofpclass


  Commit: dd8181055494d8f973dfaaba282bb1ae6eab4d40
      https://github.com/llvm/llvm-project/commit/dd8181055494d8f973dfaaba282bb1ae6eab4d40
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-03-15 (Wed, 15 Mar 2023)

  Changed paths:
    M clang/lib/CodeGen/CGCall.cpp
    M clang/test/CodeGen/complex-math.c
    M clang/test/CodeGen/fp-function-attrs.cpp
    M clang/test/CodeGen/fp-options-to-fast-math-flags.c
    M clang/test/CodeGen/func-attr.c
    M clang/test/CodeGen/matrix-type-operators-fast-math.c
    M clang/test/CodeGen/nofpclass.c
    M llvm/include/llvm/IR/Attributes.h
    M llvm/lib/IR/Attributes.cpp
    A llvm/test/Linker/Inputs/nofpclass.ll
    A llvm/test/Linker/nofpclass.ll

  Log Message:
  -----------
  clang: Emit nofpclass(nan inf) for -ffinite-math-only

Set this on any source level floating-point type argument,
return value, call return or outgoing parameter which is lowered
to a valid IR type for the attribute. Currently this isn't
applied to emitted intrinsics since those don't go through
ABI code.


  Commit: ffe12e765cb9ba77dc30ccec89fb163234b98541
      https://github.com/llvm/llvm-project/commit/ffe12e765cb9ba77dc30ccec89fb163234b98541
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-03-15 (Wed, 15 Mar 2023)

  Changed paths:
    M clang/lib/AST/Type.cpp
    M clang/test/CodeGen/matrix-type-operators-fast-math.c
    M clang/test/CodeGen/nofpclass.c

  Log Message:
  -----------
  clang: Handle MatrixType in hasFloatingRepresentation

Allows applying nofpclass to matrix arguments.


Compare: https://github.com/llvm/llvm-project/compare/ce14f7b18fe1...ffe12e765cb9


More information about the All-commits mailing list