[llvm] [X86] Support APX CMOV/CFCMOV instructions (PR #82592)

Shengchen Kan via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 22 00:43:00 PST 2024


================
@@ -207,6 +219,13 @@ define zeroext i16 @select_cmov_i16(i1 zeroext %cond, i16 zeroext %a, i16 zeroex
 ; GISEL-X86-CMOV-NEXT:    cmovnew %dx, %ax
 ; GISEL-X86-CMOV-NEXT:    ## kill: def $ax killed $ax killed $eax
 ; GISEL-X86-CMOV-NEXT:    retl
+;
+; NDD-LABEL: select_cmov_i16:
+; NDD:       ## %bb.0:
----------------
KanRobert wrote:

Isn't it a bug here? CMOV is not enabled but you CMOV is generated.

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


More information about the llvm-commits mailing list