[all-commits] [llvm/llvm-project] 036242: [SystemZ] Bugfix in adjustSubwordCmp()

Jonas Paulsson via All-commits all-commits at lists.llvm.org
Wed Apr 15 04:01:17 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 036242b8685402162f781eb1d97c4d60c6016c19
      https://github.com/llvm/llvm-project/commit/036242b8685402162f781eb1d97c4d60c6016c19
  Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
  Date:   2020-04-15 (Wed, 15 Apr 2020)

  Changed paths:
    M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
    A llvm/test/CodeGen/SystemZ/int-cmp-59.ll

  Log Message:
  -----------
  [SystemZ] Bugfix in adjustSubwordCmp()

adjustSubwordCmp() should not optimize a load of an i1 value. This is
achieved by checking that the size and store-size of the MemoryVT are the
same.

Fixes https://bugs.llvm.org/show_bug.cgi?id=45511.

Review: Ulrich Weigand

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




More information about the All-commits mailing list