[X86][AVX512] Tag CLWB instruction to CLFLUSH/PREFETCH scheduler class

llvm-svn: 320156
This commit is contained in:
Simon Pilgrim 2017-12-08 15:19:10 +00:00
parent ad1d023d94
commit 83708cabc0
1 changed files with 2 additions and 3 deletions

View File

@ -2723,10 +2723,9 @@ def CLFLUSHOPT : I<0xAE, MRM7m, (outs), (ins i8mem:$src),
"clflushopt\t$src", [(int_x86_clflushopt addr:$src)],
IIC_SSE_PREFETCH>, PD;
let Predicates = [HasCLWB] in
let Predicates = [HasCLWB], SchedRW = [WriteLoad] in
def CLWB : I<0xAE, MRM6m, (outs), (ins i8mem:$src), "clwb\t$src",
[(int_x86_clwb addr:$src)]>, PD;
[(int_x86_clwb addr:$src)], IIC_SSE_PREFETCH>, PD;
//===----------------------------------------------------------------------===//
// Subsystems.