[all-commits] [llvm/llvm-project] 4273e6: [SystemZ] Bugfix in SystemZTargetLowering::combine...

Jonas Paulsson via All-commits all-commits at lists.llvm.org
Wed May 18 07:33:52 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4273e616e573f4854e9c659c2e6d8a31f3e3c595
      https://github.com/llvm/llvm-project/commit/4273e616e573f4854e9c659c2e6d8a31f3e3c595
  Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
  Date:   2022-05-18 (Wed, 18 May 2022)

  Changed paths:
    M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
    M llvm/test/CodeGen/SystemZ/vec-move-23.ll

  Log Message:
  -----------
  [SystemZ] Bugfix in SystemZTargetLowering::combineINT_TO_FP()

Make sure to also handle extended value types to avoid crashing.

Resulting integers greater than 64 bits are not optimized (i128 is not a
legal type), and vectorizing seems to result in libcalls instead of just
scalarization.

Other extended vector types like <10 x float> are however now handled and
should result in vectorized conversions.

Reviewed By: Ulrich Weigand

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




More information about the All-commits mailing list