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