[llvm] [DAGCombiner] Fix exact power-of-two signed division for large integers (PR #177340)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 30 07:35:04 PST 2026


================
@@ -4373,6 +4373,115 @@ define i128 @v_sdiv_i128_v_pow2k(i128 %lhs) {
   ret i128 %div
 }
 
+define i128 @v_sdiv_exact_i128_v_pow2k(i128 %lhs) {
----------------
arsenm wrote:

This was #176304 (and maybe another)?

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


More information about the llvm-commits mailing list