https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117194
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- ;; vect_iftmp.29_100 = .BIT_ANDN ({ 1, 2, 3, 4, 5, 6, 7, 8 }, _68); (insn 33 32 34 (set (reg:V8QI 128) (mem/u/c:V8QI (symbol_ref/u:DI ("*.LC2") [flags 0x2]) [0 S8 A64])) -1 (expr_list:REG_EQUAL (const_vector:V8QI [ (const_int 1 [0x1]) (const_int 2 [0x2]) (const_int 3 [0x3]) (const_int 4 [0x4]) (const_int 5 [0x5]) (const_int 6 [0x6]) (const_int 7 [0x7]) (const_int 8 [0x8]) ]) (nil))) (insn 34 33 0 (set (reg:V8QI 101 [ vect_iftmp.29 ]) (and:V8QI (not:V8QI (reg:V8QI 128)) (reg:V8QI 99 [ _68 ]))) -1 (nil)) The operands of andn are swapped.