[PATCH] D24953: [X86][FastISel] Use a COPY from K register to a GPR instead of a K operation
Guy Blank via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 26 23:48:43 PDT 2016
guyblank created this revision.
guyblank added reviewers: delena, igorb, craig.topper, zvi.
guyblank added a subscriber: llvm-commits.
The KORTEST was introduced due to a bug where a TEST instruction used a K register.
but, turns out that the opposite case of KORTEST using a GPR is now happening (as seen in several bug reports, [[ https://llvm.org/bugs/show_bug.cgi?id=30502 | for example ]])
The change removes the KORTEST flow and adds a COPY instruction from the K reg to a GPR.
https://reviews.llvm.org/D24953
Files:
lib/Target/X86/X86FastISel.cpp
test/CodeGen/X86/avx512-fsel.ll
test/CodeGen/X86/fast-isel-select-cmov.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24953.72605.patch
Type: text/x-patch
Size: 5100 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160927/a83e9349/attachment.bin>
More information about the llvm-commits
mailing list