[all-commits] [llvm/llvm-project] ec893d: [GlobalISel] Remove semantic operand of G_IS_FPCLASS

Serge Pavlov via All-commits all-commits at lists.llvm.org
Tue Nov 15 00:49:26 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ec893da99080366fed2e4f13a7f0d4d92cf20e9f
      https://github.com/llvm/llvm-project/commit/ec893da99080366fed2e4f13a7f0d4d92cf20e9f
  Author: Serge Pavlov <sepavloff at gmail.com>
  Date:   2022-11-15 (Tue, 15 Nov 2022)

  Changed paths:
    M llvm/docs/GlobalISel/GenericOpcode.rst
    M llvm/include/llvm/Target/GenericOpcodes.td
    M llvm/lib/CodeGen/MachineVerifier.cpp
    M llvm/test/MachineVerifier/test_g_is_fpclass.mir

  Log Message:
  -----------
  [GlobalISel] Remove semantic operand of G_IS_FPCLASS

Instruction G_IS_FPCLASS had an operand that represented floating-point
semantics of its first operand. It allowed types that have the same length,
like `bfloat16` and `half`, to be distinguished. Unfortunately, it is
not sufficient, as other operation still cannot distinguish such types.
Solution of this problem must be more general, so now this operand is removed.

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




More information about the All-commits mailing list