[all-commits] [llvm/llvm-project] 6fc0bc: Fix behavior of is_fp_class on empty class set

Serge Pavlov via All-commits all-commits at lists.llvm.org
Tue May 24 07:51:22 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6fc0bc5b0fa7b87960a8b326853643df503d76f7
      https://github.com/llvm/llvm-project/commit/6fc0bc5b0fa7b87960a8b326853643df503d76f7
  Author: Serge Pavlov <sepavloff at gmail.com>
  Date:   2022-05-24 (Tue, 24 May 2022)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/test/CodeGen/X86/is_fpclass.ll

  Log Message:
  -----------
  Fix behavior of is_fp_class on empty class set

The second argument to is_fp_class specifies the set of floating-point
class to test against. It can be zero, in this case the intrinsic is
expected to return zero value.

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




More information about the All-commits mailing list