Home | History | Annotate | Download | only in X86
      1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
      2 ; RUN: llc < %s -mtriple=i686-unknown-unknown -mattr=+wbnoinvd | FileCheck %s -check-prefix=CHECK32
      3 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+wbnoinvd | FileCheck %s -check-prefix=CHECK64
      4 
      5 define void @wbnoinvd() nounwind {
      6 ; CHECK32-LABEL: wbnoinvd:
      7 ; CHECK32:       # %bb.0:
      8 ; CHECK32-NEXT:    wbnoinvd
      9 ; CHECK32-NEXT:    retl
     10 ;
     11 ; CHECK64-LABEL: wbnoinvd:
     12 ; CHECK64:       # %bb.0:
     13 ; CHECK64-NEXT:    wbnoinvd
     14 ; CHECK64-NEXT:    retq
     15   tail call void @llvm.x86.wbnoinvd()
     16   ret void
     17 }
     18 declare void @llvm.x86.wbnoinvd() nounwind
     19