[llvm] [RISCV][GISEL] Add legalizer for G_BSWAP (PR #70226)

Michael Maitland via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 26 15:11:27 PDT 2023


================
@@ -82,7 +82,7 @@ RISCVLegalizerInfo::RISCVLegalizerInfo(const RISCVSubtarget &ST) {
   }
 
   getActionDefinitionsBuilder(G_BSWAP)
-    .clampScalar(0, s16, XLenLLT)
+    .minScalar(0, s16)
----------------
michaelmaitland wrote:

Updated. Dropped the previous change to show it had no impact on diff.

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


More information about the llvm-commits mailing list