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

Zhang Kang via All-commits all-commits at lists.llvm.org
Tue Sep 1 08:21:09 PDT 2020


  Branch: refs/heads/release/11.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 7569e8c696288cd9c9409936b4fe9b846d0bd0b7
      https://github.com/llvm/llvm-project/commit/7569e8c696288cd9c9409936b4fe9b846d0bd0b7
  Author: Kang Zhang <shkzhang at cn.ibm.com>
  Date:   2020-09-01 (Tue, 01 Sep 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

(cherry picked from commit 802c043078ad653aca131648a130b59f041df0b5)




More information about the All-commits mailing list