blob: f942c9fc22168bf10c6fc687769cb6b7d9d3ce89 [file] [log] [blame]
Bob Wilson6c982bb2009-05-19 05:53:42 +00001; RUN: llvm-as < %s | llc -march=arm | grep swp
2; 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}