[PATCH] D102731: AMDGPU/GlobalISel: Lower constant-32-bit zextload/sextload consistently
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 27 06:24:15 PDT 2021
arsenm added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp:2416
+ if (MI.getOpcode() != AMDGPU::G_LOAD)
+ return false;
----------------
foad wrote:
> Couldn't this be an assert?
No, sextload and zextload should theoretically be handled here too
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102731/new/
https://reviews.llvm.org/D102731
More information about the llvm-commits
mailing list