[all-commits] [llvm/llvm-project] 466503: X86: Add pattern for optimized BLSIC IR form (#209...
Logan via All-commits
all-commits at lists.llvm.org
Fri Jul 17 14:07:34 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 466503dcf2ae2e43126c1a6d8a5b204883d5b0c1
https://github.com/llvm/llvm-project/commit/466503dcf2ae2e43126c1a6d8a5b204883d5b0c1
Author: Logan <143111092+Logans-olo at users.noreply.github.com>
Date: 2026-07-17 (Fri, 17 Jul 2026)
Changed paths:
M llvm/lib/Target/X86/X86InstrTBM.td
M llvm/test/CodeGen/X86/tbm_patterns.ll
Log Message:
-----------
X86: Add pattern for optimized BLSIC IR form (#209814)
Add DAG pattern to recognize the optimized IR form of BLSIC: (xor (and
x, -x), -1)
Fixes #209718 - matches the IR form produced after InstCombine
optimizations
Added tests for both 32-bit and 64-bit BLSIC patterns
Assisted by: Claude Code, helped me understand
pattern-matching/intrinsics, and some file structure. As well as how
testing for LLVM works.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list