[llvm] [InstCombine] Drop nonnull assumes if the pointer is already known to be nonnull (PR #180434)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 9 00:50:37 PST 2026


================
@@ -1,18 +1,22 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -passes='loop(loop-rotate),instcombine' -enable-knowledge-retention -S < %s  | FileCheck %s
+; RUN: opt -passes='loop(loop-rotate),instcombine' -enable-knowledge-retention -S %s  | FileCheck %s
----------------
nikic wrote:

I was really confused by what is going on in this test until I realized that the previous check lines were partial. Can you please rebase over https://github.com/llvm/llvm-project/commit/2ead49ff09802bec6fdaad69133369357299a3b9?

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


More information about the llvm-commits mailing list