[PATCH] D100430: [AMDGPU][GlobalISel] Widen 1 and 2 byte scalar loads
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 20 01:27:37 PDT 2021
foad added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp:1182
+ auto WideLoad = B.buildLoadFromOffset(S32, PtrReg, *MMO, 0);
+ auto Mask = B.buildConstant(
+ S32, APInt::getLowBitsSet(S32.getScalarSizeInBits(), MemSize));
----------------
Use B.buildZExtInReg.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100430/new/
https://reviews.llvm.org/D100430
More information about the llvm-commits
mailing list