[llvm] [AMDGPU][ISEL] Use target specific hook to block narrowing insert-extract sub-vector (PR #201056)

Krzysztof Drewniak via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 4 00:27:18 PDT 2026


================
@@ -27193,8 +27192,6 @@ static SDValue narrowInsertExtractVectorBinOp(SDNode *N, EVT SubVT,
     return SDValue();
 
   EVT VecVT = BinOp.getValueType();
-  if (!TLI.isNarrowingProfitable(N, VecVT, SubVT))
----------------
krzysz00 wrote:

Why remove this?

https://github.com/llvm/llvm-project/pull/201056


More information about the llvm-commits mailing list