1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2; RUN: llc < %s -disable-peephole -mtriple=i386-apple-darwin -mattr=-sse -show-mc-encoding | FileCheck %s
3; RUN: llc < %s -disable-peephole -mtriple=i386-apple-darwin -mattr=-avx,+sse2 -show-mc-encoding | FileCheck %s
4; RUN: llc < %s -disable-peephole -mtriple=i386-apple-darwin -mattr=+avx2 -show-mc-encoding | FileCheck %s
5; RUN: llc < %s -disable-peephole -mtriple=i386-apple-darwin -mcpu=skx -show-mc-encoding | FileCheck %s
6
7define void @test_x86_sse2_pause() {
8; CHECK-LABEL: test_x86_sse2_pause:
9; CHECK:       ## %bb.0:
10; CHECK-NEXT:    pause ## encoding: [0xf3,0x90]
11; CHECK-NEXT:    retl ## encoding: [0xc3]
12  tail call void @llvm.x86.sse2.pause()
13  ret void
14}
15declare void @llvm.x86.sse2.pause() nounwind
16