[all-commits] [llvm/llvm-project] 47f784: [PowerPC] Promote the i1 to i64 for SINT_TO_FP/FP_...
QingShan Zhang via All-commits
all-commits at lists.llvm.org
Tue Dec 1 21:44:25 PST 2020
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 47f784ace6bb43eb9d95277fcc847fb82abf0f7a
https://github.com/llvm/llvm-project/commit/47f784ace6bb43eb9d95277fcc847fb82abf0f7a
Author: QingShan Zhang <qshanz at cn.ibm.com>
Date: 2020-12-02 (Wed, 02 Dec 2020)
Changed paths:
M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
M llvm/test/CodeGen/PowerPC/f128-conv.ll
M llvm/test/CodeGen/PowerPC/fp-strict-conv-f128.ll
M llvm/test/CodeGen/PowerPC/fp-to-int-to-fp.ll
Log Message:
-----------
[PowerPC] Promote the i1 to i64 for SINT_TO_FP/FP_TO_SINT
i1 is the native type for PowerPC if crbits is enabled. However, we need
to promote the i1 to i64 as we didn't have the pattern for i1.
Reviewed By: Qiu Chao Fang
Differential Revision: https://reviews.llvm.org/D92067
More information about the All-commits
mailing list