HomePhabricator

[PowerPC] Set v1i128 to expand for SETCC to avoid crash
7569e8c69628Unpublished

Authored by ZhangKang on Jul 29 2020, 9:39 AM.

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

[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)

Details

Committed
hansTue, Sep 1, 8:15 AM
Parents
rG2526d8c43499: [InstSimplify] Protect against more poison in SimplifyWithOpReplaced (PR47322)
Branches
Unknown
Tags
Unknown