[all-commits] [llvm/llvm-project] f0c61d: CodeGen: Add ISD::AssertNoFPClass (#135946)

YunQiang Su via All-commits all-commits at lists.llvm.org
Thu Apr 24 18:13:02 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f0c61d2242bbc7576ca5e4137a5ea8f63e4859a9
      https://github.com/llvm/llvm-project/commit/f0c61d2242bbc7576ca5e4137a5ea8f63e4859a9
  Author: YunQiang Su <syq at debian.org>
  Date:   2025-04-25 (Fri, 25 Apr 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/ISDOpcodes.h
    M llvm/include/llvm/Target/TargetSelectionDAG.td
    M llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
    A llvm/test/CodeGen/AArch64/nofpclass.ll
    A llvm/test/CodeGen/Mips/nofpclass.ll

  Log Message:
  -----------
  CodeGen: Add ISD::AssertNoFPClass (#135946)

It is used to mark a value that we are sure that it is not some fcType.
The examples include:
  * An arguments of a function is marked with nofpclass
  * Output value of an intrinsic can be sure to not be some type

So that the following operation can make some assumptions.

---------

Co-authored-by: Your Name <you at example.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list