1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py 2 ; RUN: llc < %s -mtriple=i686-unknown-unknown | FileCheck %s --check-prefix=i686 3 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown | FileCheck %s --check-prefix=x86_64 4 5 define void @test_wbinvd() { 6 ; i686-LABEL: test_wbinvd: 7 ; i686: # %bb.0: 8 ; i686-NEXT: wbinvd 9 ; i686-NEXT: retl 10 ; 11 ; x86_64-LABEL: test_wbinvd: 12 ; x86_64: # %bb.0: 13 ; x86_64-NEXT: wbinvd 14 ; x86_64-NEXT: retq 15 call void @llvm.x86.wbinvd() 16 ret void 17 } 18 19 declare void @llvm.x86.wbinvd() 20