[llvm] [GlobalISel] Allow expansion of urem by constant in prelegalizer (PR #145914)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 26 22:49:36 PDT 2025


================
@@ -0,0 +1,243 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
+; RUN: llc < %s -mtriple=aarch64-unknown-unknown | FileCheck %s --check-prefixes=CHECK-SD
+; RUN: llc < %s -mtriple=aarch64-unknown-unknown -global-isel | FileCheck %s --check-prefixes=CHECK-GI
----------------
arsenm wrote:

If you're going to mix dag and globalisel run lines, should explicitly disable global-isel in the dag line.  Also is there an existing test you can just add run lines to?

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


More information about the llvm-commits mailing list