[PATCH] D42989: [X86] When doing callee save/restore for k-registers make sure we don't use KMOVQ on non-BWI targets

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 7 12:34:52 PST 2018


craig.topper added a comment.

In https://reviews.llvm.org/D42989#999914, @efriedma wrote:

> Does the intel_ocl_bicc calling convention vary depending on whether the CPU has BWI?  If it does, we need more tests, to show code generation works correctly when BWI is enabled.


I think this calling convention is  used to compile code that accesses some opencl library methods. The library itself is not compiled with llvm, but rather icc. So this issue may not manifest in any real world code.

But you're right we should check both CPUs


https://reviews.llvm.org/D42989





More information about the llvm-commits mailing list