blob: 2fc9eb37417d448f54c99c50b81b033fe78ea90c [file] [log] [blame]
Dan Gohmanda594cf2009-09-09 00:09:15 +00001; RUN: llc < %s -march=arm | grep swp
Bob Wilson6c982bb2009-05-19 05:53:42 +00002; PR4091
3
4define void @foo(i32 %i, i32* %p) nounwind {
5 %asmtmp = call i32 asm sideeffect "swp $0, $2, $3", "=&r,=*m,r,*m,~{memory}"(i32* %p, i32 %i, i32* %p) nounwind
6 ret void
7}