[all-commits] [llvm/llvm-project] 802c04: [PowerPC] Set v1i128 to expand for SETCC to avoid ...

Zhang Kang via All-commits all-commits at lists.llvm.org
Wed Jul 29 09:40:30 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 802c043078ad653aca131648a130b59f041df0b5
      https://github.com/llvm/llvm-project/commit/802c043078ad653aca131648a130b59f041df0b5
  Author: Kang Zhang <shkzhang at cn.ibm.com>
  Date:   2020-07-29 (Wed, 29 Jul 2020)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    A llvm/test/CodeGen/PowerPC/setcc-vector.ll

  Log Message:
  -----------
  [PowerPC] Set v1i128 to expand for SETCC to avoid crash

Summary:
PPC only supports the instruction selection for v16i8, v8i16, v4i32,
v2i64, v4f32 and v2f64 for ISD::SETCC, don't support the v1i128, so
v1i128 for ISD::SETCC will crash.

This patch is to set v1i128 to expand to avoid crash.

Reviewed By: steven.zhang

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




More information about the All-commits mailing list