[all-commits] [llvm/llvm-project] a6f38b: [Statepoint] Remove redundant clear of call target...

serguei-katkov via All-commits all-commits at lists.llvm.org
Wed Feb 12 20:03:16 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a6f38b46972e4e6978c3a768001903d3f3334cb7
      https://github.com/llvm/llvm-project/commit/a6f38b46972e4e6978c3a768001903d3f3334cb7
  Author: Serguei Katkov <serguei.katkov at azul.com>
  Date:   2020-02-13 (Thu, 13 Feb 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
    M llvm/test/CodeGen/X86/statepoint-call-lowering.ll

  Log Message:
  -----------
  [Statepoint] Remove redundant clear of call target on register

Patchable statepoint is lowered into sequence of nops, so zeroed call target
should not be on register. It is better to use getTargetConstant instead
of getConstant to select zero constant for call target.

Reviewers: reames
Reviewed By: reames
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D74465




More information about the All-commits mailing list