1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+uintr | FileCheck %s --check-prefix=X64
3 ; RUN: llc < %s -mtriple=x86_64-linux-gnux32 -mattr=+uintr | FileCheck %s --check-prefix=X32
5 define i8 @test_uintr(i64 %arg) {
6 ; X64-LABEL: test_uintr:
7 ; X64: # %bb.0: # %entry
10 ; X64-NEXT: senduipi %rdi
15 ; X32-LABEL: test_uintr:
16 ; X32: # %bb.0: # %entry
19 ; X32-NEXT: senduipi %rdi
25 call void @llvm.x86.clui()
26 call void @llvm.x86.stui()
27 call void @llvm.x86.senduipi(i64 %arg)
28 %0 = call i8 @llvm.x86.testui()
32 declare void @llvm.x86.clui()
33 declare void @llvm.x86.stui()
34 declare i8 @llvm.x86.testui()
35 declare void @llvm.x86.senduipi(i64 %arg)