[llvm] [CodeGen] Emit a more efficient magic number multiplication for exact udivs (PR #87161)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed May 8 05:05:48 PDT 2024


================
@@ -0,0 +1,171 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc < %s -mtriple=i686-unknown -mattr=+sse2 | FileCheck %s --check-prefix=X86
+; RUN: llc < %s -mtriple=x86_64-unknown -mattr=+avx2 | FileCheck %s --check-prefix=X64
+
+define i32 @test1(i32 %x) {
----------------
arsenm wrote:

Could move test to AArch64 and test both dag and globalisel paths? Also should add the scalable test 

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


More information about the llvm-commits mailing list