[WebAssembly] Don't perform the returned-argument optimization on constants.
[oota-llvm.git] / test / CodeGen / Generic / asm-large-immediate.ll
1 ; RUN: llc -no-integrated-as < %s | FileCheck %s
2
3 define void @test() {
4 entry:
5 ; CHECK: /* result: 68719476738 */
6         tail call void asm sideeffect "/* result: ${0:c} */", "i,~{dirflag},~{fpsr},~{flags}"( i64 68719476738 )
7 ; CHECK: /* result: -68719476738 */
8         tail call void asm sideeffect "/* result: ${0:n} */", "i,~{dirflag},~{fpsr},~{flags}"( i64 68719476738 )
9         ret void
10 }