[llvm] [GISel][RISCV] Legalize G_CONSTANT_FOLD_BARRIER (PR #89960)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 24 11:21:07 PDT 2024


================
@@ -0,0 +1,31 @@
+# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 4
+# RUN: llc -mtriple=riscv32 -run-pass=legalizer %s -o - | FileCheck %s
+---
+name:            xor_and_i32
----------------
arsenm wrote:

You can just hand write MIR, especially if it's just one instruction 

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


More information about the llvm-commits mailing list