[all-commits] [llvm/llvm-project] e60b4f: [GISel] Unify use of getStackGuard

Kai Nacke via All-commits all-commits at lists.llvm.org
Tue Jul 12 13:47:02 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e60b4fb2b777118c0ff664a6347851df14fcf75b
      https://github.com/llvm/llvm-project/commit/e60b4fb2b777118c0ff664a6347851df14fcf75b
  Author: Kai Nacke <kai.peter.nacke at ibm.com>
  Date:   2022-07-12 (Tue, 12 Jul 2022)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h
    M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-delayed-stack-protector.ll

  Log Message:
  -----------
  [GISel] Unify use of getStackGuard

Some rework of getStackGuard() based on comments in
https://reviews.llvm.org/D129505.

- getStackGuard() now creates and returns the destination
  register, simplifying calls
- the pointer type is passed to getStackGuard() to avoid
  recomputation
- removed PtrMemTy in emitSPDescriptorParent(), because
  this type is only used here when loading the value but
  not when storing the value

Reviewed By: arsenm

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




More information about the All-commits mailing list