[PATCH] D136829: [SDAG] Fix v1i8 -> 1x i32 handling in getCopyToPartsVector

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 27 07:37:11 PDT 2022


arsenm added inline comments.


================
Comment at: llvm/test/CodeGen/AMDGPU/dagcombine-v1i8-extractvecelt-crash.ll:10
+;
+;   t4: i32 = extract_vector_elt t10, Constant:i32<0>
+;
----------------
What exactly broke? Technically the return type is allowed to be a wider element than the original source vector (don't think trunc is legal though)


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

https://reviews.llvm.org/D136829



More information about the llvm-commits mailing list