[llvm] [CodeGenPrepare] Folding `urem` with loop invariant value as remainder (PR #96625)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 3 01:47:18 PDT 2024


================
@@ -0,0 +1,884 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc < %s -mtriple=x86_64-unknown-unknown | FileCheck %s
----------------
dtcxzyw wrote:

It would be better to convert this into an opt test.
```suggestion
; RUN: opt -codegenprepare -S < %s | FileCheck %s
```



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


More information about the llvm-commits mailing list