[llvm] [DAGCombiner] Fold smax(X, -1)/smin(X, 0) to bitwise shift forms (PR #206242)

Aayush Shrivastava via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 29 04:03:40 PDT 2026


================
@@ -0,0 +1,63 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
+; RUN: llc < %s -mtriple=aarch64-linux -O2 | FileCheck %s --check-prefixes=NOCSSC
+; RUN: llc < %s -mtriple=aarch64-linux -O2 -mattr=+cssc | FileCheck %s --check-prefixes=CSSC
----------------
iamaayushrivastava wrote:

Removed. Thanks for pointing that out!

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


More information about the llvm-commits mailing list