[WebAssembly] Don't perform the returned-argument optimization on constants.
[oota-llvm.git] / test / CodeGen / Generic / 2007-04-27-InlineAsm-X-Dest.ll
1 ; RUN: llc -no-integrated-as < %s
2
3 ; Test that we can have an "X" output constraint.
4
5 define void @test(i16 * %t) {
6         call void asm sideeffect "foo $0", "=*X,~{dirflag},~{fpsr},~{flags},~{memory}"( i16* %t )
7         ret void
8 }