[PATCH] D123660: [X86] Covert unsigned int 0 to float-point with FILD instruction.
LiuChen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 13 01:36:23 PDT 2022
LiuChen3 added inline comments.
================
Comment at: llvm/lib/Target/X86/X86ISelLowering.cpp:21223
// Promote i32 to i64 and use a signed conversion on 64-bit targets.
if (SrcVT == MVT::i32 && Subtarget.is64Bit()) {
Src = DAG.getNode(ISD::ZERO_EXTEND, dl, MVT::i64, Src);
----------------
Here, i32 will be promoted to i64 for 64-bit target.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123660/new/
https://reviews.llvm.org/D123660
More information about the llvm-commits
mailing list