[all-commits] [llvm/llvm-project] 34946d: [SystemZ] Add implementation for the intrinsic llv...

Kai Nacke via All-commits all-commits at lists.llvm.org
Mon Feb 10 05:20:22 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 34946dfd79501077b0837aec8f23aed3dd0e63e1
      https://github.com/llvm/llvm-project/commit/34946dfd79501077b0837aec8f23aed3dd0e63e1
  Author: Kai Nacke <kai at redstar.de>
  Date:   2020-02-10 (Mon, 10 Feb 2020)

  Changed paths:
    M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
    M llvm/lib/Target/SystemZ/SystemZISelLowering.h
    A llvm/test/CodeGen/SystemZ/stackpointer.ll

  Log Message:
  -----------
  [SystemZ] Add implementation for the intrinsic llvm.read_register

This change implements the llvm intrinsic llvm.read_register for
the SystemZ platform which returns the value of the specified
register
(http://llvm.org/docs/LangRef.html#llvm-read-register-and-llvm-write-register-intrinsics).
This implementation returns the value of the stack register, and
can be extended to return the value of other registers. The
implementation for this intrinsic exists on various other platforms
including Power, x86, ARM, etc. but missing on SystemZ.

Reviewers: uweigand

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




More information about the All-commits mailing list