[llvm] [InstCombine]: Fold OR bit tests (PR #178366)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 27 22:10:32 PST 2026
================
@@ -0,0 +1,21 @@
+; RUN: opt -passes=instcombine -S < %s | FileCheck %s
+
+define i1 @src(i64 %arg0, ptr %arg1) {
----------------
boomanaiden154 wrote:
This needs more test coverage. At least a negative test. See https://llvm.org/docs/InstCombineContributorGuide.html#add-negative-tests.
https://github.com/llvm/llvm-project/pull/178366
More information about the llvm-commits
mailing list