[PATCH] D78092: [GlobalISel][AMDGPU] add legalization for G_FREEZE
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 16 08:21:59 PDT 2020
arsenm added inline comments.
================
Comment at: llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp:4115
+LegalizerHelper::narrowScalarFreeze(MachineInstr &MI, LLT NarrowTy) {
+ Register SrcReg = MI.getOperand(1).getReg();
+ const Register DstReg = MI.getOperand(0).getReg();
----------------
Maybe reduceOperationWidth? We have a reduceLoadStoreWidth shared between fewerElementsVector and narrowScalar
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78092/new/
https://reviews.llvm.org/D78092
More information about the llvm-commits
mailing list