[llvm] [X86] Select i8 ANDN via i32 promotion (PR #205050)

Phoebe Wang via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 14 22:24:17 PDT 2026


================
@@ -381,7 +381,7 @@ define i1 @andn_cmp_swap_ops(i64 %x, i64 %y) {
   ret i1 %cmp
 }
 
-; Use a 'test' (not an 'and') because 'andn' only works for i32/i64.
+; Use a 'test' for the final i8 compare.
----------------
phoebewang wrote:

Comment changed but assemble not?

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


More information about the llvm-commits mailing list