[llvm] [RISCV][GISEL] Add legalizer for G_BSWAP (PR #70226)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 25 10:21:14 PDT 2023
================
@@ -0,0 +1,180 @@
+# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 3
+# RUN: llc -mtriple=riscv32 -run-pass=legalizer %s -o - | FileCheck %s
+
+---
+name: bswap_i8
----------------
topperc wrote:
How was this test created? i8 bswap isn't allowed in IR. The number of bytes must be even.
https://github.com/llvm/llvm-project/pull/70226
More information about the llvm-commits
mailing list