================ @@ -11068,6 +11078,7 @@ calculateByteProvider(const SDValue &Op, unsigned Index, unsigned Depth, } case ISD::TRUNCATE: { + if (IsVec) return std::nullopt; ---------------- arsenm wrote: new line https://github.com/llvm/llvm-project/pull/70240