blob: 6e9bdba00fb9e6483587516b9cea023ded16efdb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc -mtriple=x86_64-linux < %s | FileCheck %s
define void @okay(ptr %p, i32 %x) nounwind {
; CHECK-LABEL: okay:
; CHECK: # %bb.0:
; CHECK-NEXT: #APP
; CHECK-NEXT: addl %esi, %eax
; CHECK-NEXT: #NO_APP
; CHECK-NEXT: movl %eax, (%rdi)
; CHECK-NEXT: retq
call void asm "addl $1, $0", "=*r,r"(ptr elementtype(i32) %p, i32 %x)
ret void
}
|