[all-commits] [llvm/llvm-project] 0ece20: [SystemZ] Implement isGuaranteedNotToBeUndefOrPois...

Jonas Paulsson via All-commits all-commits at lists.llvm.org
Wed Feb 1 04:28:59 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0ece2050da3ecfdfcae86b2b165c767c2085a231
      https://github.com/llvm/llvm-project/commit/0ece2050da3ecfdfcae86b2b165c767c2085a231
  Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
  Date:   2023-02-01 (Wed, 01 Feb 2023)

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

  Log Message:
  -----------
  [SystemZ] Implement isGuaranteedNotToBeUndefOrPoisonForTargetNode().

Returning true from this method for PCREL_WRAPPER and PCREL_OFFSET avoids
problems when a PCREL_OFFSET node ends up with a freeze operand, which is not
handled or expected by the backend.

Fixes #60107

Reviewed By: uweigand, RKSimon

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




More information about the All-commits mailing list