[PATCH] D132938: [AMDGPU] Fix crash legalizing G_EXTRACT_VECTOR_ELT with negative index

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 30 08:00:49 PDT 2022


foad added a comment.

Agreed, indexes should be unsigned, and this should be documented in the LangRef like it is for the shl instruction: ‘op2’ is treated as an unsigned value.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132938/new/

https://reviews.llvm.org/D132938



More information about the llvm-commits mailing list