[PATCH] D108725: [AArch64][GlobalISel] Implement custom legalization for s32/s64 G_FCOPYSIGN
Amara Emerson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 25 15:42:22 PDT 2021
aemerson added inline comments.
================
Comment at: llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp:1393
+ auto Zero = MIRBuilder.buildConstant(DstTy, 0);
+ auto Ins1 = MIRBuilder.buildInsertVectorElement(
+ VecTy, Undef, MI.getOperand(1).getReg(), Zero);
----------------
What if we use G_MERGE instead? Do we get an INSERT_SUBREG?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D108725/new/
https://reviews.llvm.org/D108725
More information about the llvm-commits
mailing list