15 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc -mtriple=x86_64-linux < %s | FileCheck %s3 4define void @okay(ptr %p, i32 %x) nounwind {5; CHECK-LABEL: okay:6; CHECK: # %bb.0:7; CHECK-NEXT: #APP8; CHECK-NEXT: addl %esi, %eax9; CHECK-NEXT: #NO_APP10; CHECK-NEXT: movl %eax, (%rdi)11; CHECK-NEXT: retq12 call void asm "addl $1, $0", "=*r,r"(ptr elementtype(i32) %p, i32 %x)13 ret void14}15