; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc < %s -mtriple=i686-unknown-unknown -mattr=+wbnoinvd | FileCheck %s -check-prefix=CHECK32
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+wbnoinvd | FileCheck %s -check-prefix=CHECK64

define void @wbnoinvd() nounwind {
; CHECK32-LABEL: wbnoinvd:
; CHECK32:       # %bb.0:
; CHECK32-NEXT:    wbnoinvd
; CHECK32-NEXT:    retl
;
; CHECK64-LABEL: wbnoinvd:
; CHECK64:       # %bb.0:
; CHECK64-NEXT:    wbnoinvd
; CHECK64-NEXT:    retq
  tail call void @llvm.x86.wbnoinvd()
  ret void
}
declare void @llvm.x86.wbnoinvd() nounwind