[PATCH] D81475: GlobalISel: Support lowering vector->vector G_BITCAST
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 15 04:19:48 PDT 2020
arsenm marked an inline comment as done.
arsenm added inline comments.
================
Comment at: llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp:2214
+ for (Register &SrcReg : SrcRegs)
+ SrcReg = MIRBuilder.buildBitcast(DstCastTy, SrcReg).getReg(0);
+ } else
----------------
gargaroff wrote:
> Remove unnecessary assignment to `SrcReg`
This assignment is quite necessary to change the types remerged below
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81475/new/
https://reviews.llvm.org/D81475
More information about the llvm-commits
mailing list