[llvm] fix assertion failure in intrinsic distributive laws (PR #216483)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 15 08:25:19 PDT 2026
================
@@ -0,0 +1,19 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
+; RUN: opt -S -passes=instcombine %s | FileCheck %s
+
+declare i32 @llvm.smin.i32(i32, i32)
+
+define i32 @test_intrinsic_distributive_laws_crash(i32 %g, i32 %h, i32 %i) {
----------------
im-lunex wrote:
@andjo403 hey im being super confused about the test cause the fix i have implemented works fine and solves the crash.. but i just can't do anything about the test.. would be great if you could just help me out with the tests a bit... thanks
https://github.com/llvm/llvm-project/pull/216483
More information about the llvm-commits
mailing list