[WebAssembly] Don't perform the returned-argument optimization on constants.
[oota-llvm.git] / test / CodeGen / Generic / trap.ll
1 ; RUN: llc < %s
2 define i32 @test() noreturn nounwind  {
3 entry:
4         tail call void @llvm.trap( )
5         unreachable
6 }
7
8 declare void @llvm.trap() nounwind 
9