[PATCH] D43380: [X86] Disable CLWB in Cannon Lake
Gabor Buella via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 19 03:02:28 PST 2018
GBuella added a comment.
In https://reviews.llvm.org/D43380#1010794, @craig.topper wrote:
> How do we test this? You'd have to verify that the clwb intrinsic throws a cannot select error on cannonlake, but do we do that in llc lit tests today?
I have not seen any such tests for CPU being selected in LLVM.
The closest thing I found is in clang ( test/Preprocessor/predefined-arch-macros.c ), I'm adding it there.
Repository:
rL LLVM
https://reviews.llvm.org/D43380
More information about the llvm-commits
mailing list