[all-commits] [llvm/llvm-project] da6131: [VP] Add vp.fcmp comparison intrinsic and docs

Fraser Cormack via All-commits all-commits at lists.llvm.org
Wed Mar 30 06:50:58 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: da6131f20a2545218c3b054933a6cad6180cf4a2
      https://github.com/llvm/llvm-project/commit/da6131f20a2545218c3b054933a6cad6180cf4a2
  Author: Fraser Cormack <fraser at codeplay.com>
  Date:   2022-03-30 (Wed, 30 Mar 2022)

  Changed paths:
    M llvm/docs/LangRef.rst
    M llvm/include/llvm/IR/IntrinsicInst.h
    M llvm/include/llvm/IR/Intrinsics.td
    M llvm/include/llvm/IR/VPIntrinsics.def
    M llvm/lib/IR/IntrinsicInst.cpp
    M llvm/lib/IR/Verifier.cpp
    M llvm/test/Verifier/invalid-vp-intrinsics.ll
    M llvm/test/Verifier/vp-intrinsics.ll
    M llvm/unittests/IR/VPIntrinsicTest.cpp

  Log Message:
  -----------
  [VP] Add vp.fcmp comparison intrinsic and docs

This patch adds the first support for vector-predicated comparison
intrinsics, starting with vp.fcmp. It uses metadata to encode its
condition code, like the llvm.experimental.constrained.fcmp intrinsic.

Reviewed By: craig.topper

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




More information about the All-commits mailing list