[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 09:23:53 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:

Are you using `-passes=codegenprepare`? IIRC CGP hasn't been ported to new pass manager.


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


More information about the llvm-commits mailing list