[all-commits] [llvm/llvm-project] 4b85f3: [X86] Select BLSMSK for i8 operands (#205093)

Chirag Patel via All-commits all-commits at lists.llvm.org
Thu Jun 25 04:54:38 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4b85f3ca6444f1c5cc2370b5cfe1a05657ba183f
      https://github.com/llvm/llvm-project/commit/4b85f3ca6444f1c5cc2370b5cfe1a05657ba183f
  Author: Chirag Patel <chirag198838 at gmail.com>
  Date:   2026-06-25 (Thu, 25 Jun 2026)

  Changed paths:
    M llvm/lib/Target/X86/X86InstrMisc.td
    M llvm/test/CodeGen/X86/bmi.ll

  Log Message:
  -----------
  [X86] Select BLSMSK for i8 operands (#205093)

Adds a tablegen pattern to select BLSMSK i8 for 
```
  %neg = sub i8 %x, 1
  %and = xor i8 %neg, %x
```

I've used Claude to generate the comment line before the tablegen entry and the ll file decoding which I confirmed after llc

Fixes #204984



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