[PATCH] D151122: [GlobalISel] Check if ShiftAmt is greater then size of operand
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 6 14:07:36 PDT 2023
arsenm added inline comments.
================
Comment at: llvm/test/CodeGen/AMDGPU/GlobalISel/sext_inreg.ll:1001
%shl = shl <8 x i16> %value, <i16 11, i16 11, i16 11, i16 11, i16 11, i16 11, i16 11, i16 11>
%ashr = shl <8 x i16> %shl, <i16 11, i16 11, i16 11, i16 11, i16 11, i16 11, i16 11, i16 11>
%cast = bitcast <8 x i16> %ashr to <4 x float>
----------------
arsenm wrote:
> Ah, this test should be using ashr not shl
I've fixed the test so you may need to regenerate this
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151122/new/
https://reviews.llvm.org/D151122
More information about the llvm-commits
mailing list