[WebAssembly] Don't perform the returned-argument optimization on constants.
[oota-llvm.git] / test / CodeGen / ARM / arguments7.ll
1 ; RUN: llc < %s -mtriple=arm-linux-gnueabi
2 ; RUN: llc < %s -mtriple=arm-apple-darwin
3
4 define double @f(i32 %a1, i32 %a2, i32 %a3, i32 %a4, i32 %a5, double %b) {
5         %tmp = call double @g(i32 %a2, i32 %a3, i32 %a4, i32 %a5, double %b)
6         ret double %tmp
7 }
8
9 declare double @g(i32, i32, i32, i32, double)