[llvm] [DAG] Propagate OrZero and DemandedElts for min/max in isKnownToBeAPowerOfTwo (PR #182369)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 20 01:18:48 PST 2026


================
@@ -0,0 +1,19 @@
+; RUN: llc -mtriple=aarch64-unknown-linux-gnu -O2 %s -o - | FileCheck %s
----------------
arsenm wrote:

```suggestion
; RUN: llc -mtriple=aarch64-unknown-linux < %s | FileCheck %s
```

-O2 is the default and this doesn't depend on the environment

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


More information about the llvm-commits mailing list