1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py 2 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=x86-64 -mattr=+clwb | FileCheck %s --check-prefix=GENERIC 3 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=skx | FileCheck %s --check-prefix=SKX 4 5 define void @clwb(i8* %a0) nounwind { 6 ; GENERIC-LABEL: clwb: 7 ; GENERIC: # %bb.0: 8 ; GENERIC-NEXT: clwb (%rdi) # sched: [5:0.50] 9 ; GENERIC-NEXT: retq # sched: [1:1.00] 10 ; 11 ; SKX-LABEL: clwb: 12 ; SKX: # %bb.0: 13 ; SKX-NEXT: clwb (%rdi) # sched: [5:0.50] 14 ; SKX-NEXT: retq # sched: [7:1.00] 15 tail call void @llvm.x86.clwb(i8* %a0) 16 ret void 17 } 18 declare void @llvm.x86.clwb(i8*) nounwind 19