[all-commits] [llvm/llvm-project] b51fa8: [SystemZ] Fix matching another pattern for nxgrk (...

Ulrich Weigand via All-commits all-commits at lists.llvm.org
Thu Jan 9 10:06:40 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b51fa8670f3d9346cad068aa7300d63eb051069d
      https://github.com/llvm/llvm-project/commit/b51fa8670f3d9346cad068aa7300d63eb051069d
  Author: Ulrich Weigand <ulrich.weigand at de.ibm.com>
  Date:   2020-01-09 (Thu, 09 Jan 2020)

  Changed paths:
    M llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
    M llvm/test/CodeGen/SystemZ/not-01.ll

  Log Message:
  -----------
  [SystemZ] Fix matching another pattern for nxgrk (PR44496)

SystemZDAGToDAGISel::Select will attempt to split logical instruction
with a large immediate constant.  This must not happen if the result
matches one of the z15 combined operations, so the code checks for
those.  However, one of them was missed, causing invalid code to
be generated in the test case for PR44496.




More information about the All-commits mailing list