[llvm] [RISCV][GISel][NFC] Add MIR legalizer tests for G_UADDE (rv32 & rv64) (PR #152827)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 11 21:52:14 PDT 2025


================
@@ -0,0 +1,215 @@
+# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
+# RUN: llc -mtriple=riscv64 -run-pass=legalizer %s -o - \
+# RUN: | FileCheck %s
----------------
arsenm wrote:

If you avoid the physreg references (e.g. by using load and store for the sample values and use), you could share the two run lines in the same test 

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


More information about the llvm-commits mailing list