[llvm] [X86] Distribute Certain Bitwise Operations over SELECT (PR #136555)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Thu May 29 07:53:18 PDT 2025


================
@@ -0,0 +1,778 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
+; RUN: llc < %s -mtriple=i686-unknown-unknown -mattr=+cmov,+sse2,+bmi,+bmi2 | FileCheck %s --check-prefixes=X86
+; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+bmi,+bmi2 | FileCheck %s --check-prefixes=X64
+
+define i32 @and_select_neg_to_blsi1(i1 %a0, i32 inreg %a1) nounwind {
----------------
RKSimon wrote:

Add a `; PR131587` comment at the top of the define to help future search/referencing easier (same for PR133848)

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


More information about the llvm-commits mailing list