[PATCH] D92473: [Legalizer] Promote result type in expanding FP_TO_XINT
Qiu Chaofan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 2 03:40:36 PST 2020
qiucf created this revision.
qiucf added reviewers: steven.zhang, nemanjai, craig.topper, RKSimon, jsji, PowerPC, uweigand.
Herald added subscribers: llvm-commits, kbarton, hiraditya.
Herald added a project: LLVM.
qiucf requested review of this revision.
This patch promotes result integer type of `FP_TO_XINT` in expanding. Crash in conversion from `ppc_fp128` to `i1` will be fixed.
https://reviews.llvm.org/D92473
Files:
llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
llvm/test/CodeGen/PowerPC/ppcf128-constrained-fp-intrinsics.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92473.308921.patch
Type: text/x-patch
Size: 9873 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201202/9c4b39c9/attachment.bin>
More information about the llvm-commits
mailing list