[llvm] [X86][Atomic] Fix bts/btr/btc regression caused by InstCombine trunc to i1 (PR #200667)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 1 03:12:10 PDT 2026


================
@@ -0,0 +1,42 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: opt < %s -O2 | llc -mtriple=x86_64-unknown-linux-gnu | FileCheck %s
----------------
RKSimon wrote:

Please can you add 32-bit test coverage as well:
```
; RUN: opt < %s -O2 | llc -mtriple=x86_64-unknown-linux-gnu | FileCheck %s --check-prefixes=CHECK,X64
; RUN: opt < %s -O2 | llc -mtriple=i686-unknown-linux-gnu | FileCheck %s --check-prefixes=CHECK,X86
```

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


More information about the llvm-commits mailing list