1 # RUN: llc -mtriple=wasm32-unknown-unknown %s -o - -run-pass=postrapseudos | FileCheck %s
5 # CHECK-LABEL: copy_i32
8 ; CHECK-NEXT: %0:i32 = COPY_I32 %1:i32
12 RETURN implicit-def $arguments
16 # CHECK-LABEL: copy_i64
19 ; CHECK-NEXT: %0:i64 = COPY_I64 %1:i64
23 RETURN implicit-def $arguments
27 # CHECK-LABEL: copy_f32
30 ; CHECK-NEXT: %0:f32 = COPY_F32 %1:f32
34 RETURN implicit-def $arguments
38 # CHECK-LABEL: copy_f64
41 ; CHECK-NEXT: %0:f64 = COPY_F64 %1:f64
45 RETURN implicit-def $arguments
49 # CHECK-LABEL: copy_v128
52 ; CHECK-NEXT: %0:v128 = COPY_V128 %1:v128
55 %0:v128 = COPY %1:v128
56 RETURN implicit-def $arguments
60 # CHECK-LABEL: copy_funcref
63 ; CHECK-NEXT: %0:funcref = COPY_FUNCREF %1:funcref
66 %0:funcref = COPY %1:funcref
67 RETURN implicit-def $arguments
71 # CHECK-LABEL: copy_externref
74 ; CHECK-NEXT: %0:externref = COPY_EXTERNREF %1:externref
77 %0:externref = COPY %1:externref
78 RETURN implicit-def $arguments
82 # CHECK-LABEL: copy_exnref
85 ; CHECK-NEXT: %0:exnref = COPY_EXNREF %1:exnref
88 %0:exnref = COPY %1:exnref
89 RETURN implicit-def $arguments