================ @@ -81,6 +81,8 @@ RISCVLegalizerInfo::RISCVLegalizerInfo(const RISCVSubtarget &ST) { .clampScalar(BigTyIdx, XLenLLT, XLenLLT); } + getActionDefinitionsBuilder(G_BSWAP).lower(); ---------------- tschuett wrote: Any plans to limit the legal types? https://github.com/llvm/llvm-project/pull/70226