[all-commits] [llvm/llvm-project] e20a09: Verifier: Enforce value of llvm.is.fpclass test mask

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Dec 12 19:16:20 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e20a092838f31c365b0e8a8d74b0b33d01e8117b
      https://github.com/llvm/llvm-project/commit/e20a092838f31c365b0e8a8d74b0b33d01e8117b
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2022-12-12 (Mon, 12 Dec 2022)

  Changed paths:
    M llvm/lib/IR/Verifier.cpp
    M llvm/test/Transforms/InstCombine/is_fpclass.ll
    A llvm/test/Verifier/llvm.is.fpclass.ll

  Log Message:
  -----------
  Verifier: Enforce value of llvm.is.fpclass test mask

As requested in D137811


  Commit: d647e252b82f6b2cca291449ab9c18b441bb4f95
      https://github.com/llvm/llvm-project/commit/d647e252b82f6b2cca291449ab9c18b441bb4f95
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2022-12-12 (Mon, 12 Dec 2022)

  Changed paths:
    M llvm/lib/Analysis/ConstantFolding.cpp
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/test/CodeGen/AMDGPU/llvm.is.fpclass.f16.ll
    M llvm/test/Transforms/InstCombine/is_fpclass.ll

  Log Message:
  -----------
  InstSimplify: Add basic folding of llvm.is.fpclass intrinsic

Copied from the existing llvm.amdgcn.class handling; eventually I will
fold that to the generic intrinsic when legal. The tests should
probably move into an instsimplify only test.


Compare: https://github.com/llvm/llvm-project/compare/7dccdd76b374...d647e252b82f


More information about the All-commits mailing list