[all-commits] [llvm/llvm-project] cc8dd6: [X86] Use kmovw, not kmovq, for VK16 copies withou...
Justin Lebar via All-commits
all-commits at lists.llvm.org
Fri May 29 17:00:58 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cc8dd6ccd30774d3e084be01653c7c075d30c254
https://github.com/llvm/llvm-project/commit/cc8dd6ccd30774d3e084be01653c7c075d30c254
Author: Justin Lebar <justin.lebar at gmail.com>
Date: 2026-05-29 (Fri, 29 May 2026)
Changed paths:
M llvm/lib/Target/X86/X86InstrInfo.cpp
M llvm/test/CodeGen/X86/apx/kmov-kk.ll
Log Message:
-----------
[X86] Use kmovw, not kmovq, for VK16 copies without BWI (#200337)
`copyPhysReg` selected `KMOVQkk_EVEX` for a `$k -> $k` VK16 copy on a
`+egpr` (APX) subtarget even without BWI, but `KMOVQ` requires BWI. Use
`KMOVW` instead.
This bug was found by a large run of Opus 4.7 looking for bugs in LLVM.
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