Dan Gohman | fce288f | 2009-09-09 00:09:15 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s |
Chris Lattner | 5bee46d | 2007-04-28 06:05:59 +0000 | [diff] [blame] | 2 | |
3 | ; Test that we can have an "X" output constraint. | ||||
4 | |||||
5 | define void @test(i16 * %t) { | ||||
Chris Lattner | 15c9286 | 2007-04-28 06:07:55 +0000 | [diff] [blame] | 6 | call void asm sideeffect "foo $0", "=*X,~{dirflag},~{fpsr},~{flags},~{memory}"( i16* %t ) |
Chris Lattner | 5bee46d | 2007-04-28 06:05:59 +0000 | [diff] [blame] | 7 | ret void |
8 | } |