[all-commits] [llvm/llvm-project] ec3cbe: [mlir][LLVM] add `llvm.ssa.copy` intrinsic

Markus Böck via All-commits all-commits at lists.llvm.org
Wed Jul 19 00:53:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ec3cbe92c009297e093552c360d57b023a422255
      https://github.com/llvm/llvm-project/commit/ec3cbe92c009297e093552c360d57b023a422255
  Author: Markus Böck <markus.bock+llvm at nextsilicon.com>
  Date:   2023-07-19 (Wed, 19 Jul 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td
    M mlir/test/Target/LLVMIR/Import/intrinsic.ll
    M mlir/test/Target/LLVMIR/llvmir-intrinsics.mlir

  Log Message:
  -----------
  [mlir][LLVM] add `llvm.ssa.copy` intrinsic

This is quite the niche intrinsic, whose whole purpose is to be able to essentially split an SSA value to be able to attach additional information to the new value.
It therefore really acts like a noop that just passes through its argument. It interestingly does not have any support in CodeGen and is therefore required to also be deleted by any pass creating it.

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




More information about the All-commits mailing list