[llvm] [AMDGPU][ISEL] Use target specific hook to block narrowing insert-extract sub-vector (PR #201056)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 4 01:21:13 PDT 2026
================
@@ -27207,6 +27207,13 @@ static SDValue narrowInsertExtractVectorBinOp(EVT SubVT, SDValue BinOp,
if (!Sub0 || !Sub1)
return SDValue();
+ // Every user of the wide binop must be an EXTRACT_SUBVECTOR; otherwise the
----------------
Shoreshen wrote:
Hi @krzysz00 , yes but if the other use of binop cannot narrow, there will be remaining both narrowed and wide binOp, like in the description.
https://github.com/llvm/llvm-project/pull/201056
More information about the llvm-commits
mailing list