1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+tsxldtrk | FileCheck %s --check-prefix=X64
3 ; RUN: llc < %s -mtriple=i386-unknown-unknown -mattr=+tsxldtrk | FileCheck %s --check-prefix=X86
4 ; RUN: llc < %s -mtriple=x86_64-linux-gnux32 -mattr=+tsxldtrk | FileCheck %s --check-prefix=X32
6 define void @test_tsxldtrk() {
7 ; X64-LABEL: test_tsxldtrk:
8 ; X64: # %bb.0: # %entry
13 ; X86-LABEL: test_tsxldtrk:
14 ; X86: # %bb.0: # %entry
19 ; X32-LABEL: test_tsxldtrk:
20 ; X32: # %bb.0: # %entry
25 call void @llvm.x86.xsusldtrk()
26 call void @llvm.x86.xresldtrk()
30 declare void @llvm.x86.xsusldtrk()
31 declare void @llvm.x86.xresldtrk()