[PowerPC] Fix SELECT_CC with i64 operand on PPC32
authorQiu Chaofan <qiucofan@cn.ibm.com>
Wed, 28 Apr 2021 09:39:20 +0000 (17:39 +0800)
committerQiu Chaofan <qiucofan@cn.ibm.com>
Wed, 28 Apr 2021 09:48:33 +0000 (17:48 +0800)
commitd5c24924552a16868c9a99379e6fdb60cd8f77de
treea967b4fbe8377d6fdd3a7d8f340271eb248c0ea5
parentb622df3c93983c4512aa54f2c706716bdf865a90
[PowerPC] Fix SELECT_CC with i64 operand on PPC32

This patch fixes the infinite loop in legalization of PPC32 SELECT_CC
with 64-bit operand.
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/test/CodeGen/PowerPC/ppc32-selectcc-i64.ll [new file with mode: 0644]