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

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 24 11:16:31 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
----------------
dtcxzyw wrote:

> You've bypassed the creation condition and are writing the instruction directly though

I generated these tests with `bin/llc -mtriple=riscv64 -stop-before=legalizer -global-i
sel -o - test.ll`. Is it correct?


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


More information about the llvm-commits mailing list