[all-commits] [llvm/llvm-project] 6756d4: [SystemZ] Bugfix in SystemZVectorConstantInfo

Jonas Paulsson via All-commits all-commits at lists.llvm.org
Wed Oct 14 06:37:36 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6756d43af97ea39722af14504b286e302955c6b5
      https://github.com/llvm/llvm-project/commit/6756d43af97ea39722af14504b286e302955c6b5
  Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
  Date:   2020-10-14 (Wed, 14 Oct 2020)

  Changed paths:
    M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
    M llvm/test/CodeGen/SystemZ/fp-const-12.ll
    M llvm/test/CodeGen/SystemZ/vector-constrained-fp-intrinsics.ll

  Log Message:
  -----------
  [SystemZ] Bugfix in SystemZVectorConstantInfo

In order to correctly load an all-ones FP NaN value into a floating point
register with a VGBM, the analyzed 32/64 FP bits must first be shifted left
(into element 0 of the vector register).

SystemZVectorConstantInfo has so far relied on element replication which has
bypassed the need to do this shift, but now it is clear that this must be
done in order to handle NaNs.

Review: Ulrich Weigand

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




More information about the All-commits mailing list