[PATCH] D64704: [WebAssembly] Simplify regcopy.mir
Heejin Ahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 14 03:33:32 PDT 2019
aheejin updated this revision to Diff 209717.
aheejin added a comment.
reg_instr.mir -> reg-instr.mir
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64704/new/
https://reviews.llvm.org/D64704
Files:
llvm/test/CodeGen/WebAssembly/reg-instr.mir
llvm/test/CodeGen/WebAssembly/regcopy.mir
Index: llvm/test/CodeGen/WebAssembly/reg-instr.mir
===================================================================
--- llvm/test/CodeGen/WebAssembly/reg-instr.mir
+++ llvm/test/CodeGen/WebAssembly/reg-instr.mir
@@ -1,32 +1,9 @@
-# RUN: llc %s -o - -run-pass=postrapseudos | FileCheck %s
---- |
- target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128"
- target triple = "wasm32-unknown-unknown"
+# RUN: llc -mtriple=wasm32-unknown-unknown %s -o - -run-pass=postrapseudos | FileCheck %s
- define void @copy_i32() {
- ret void
- }
-
- define void @copy_i64() {
- ret void
- }
-
- define void @copy_f32() {
- ret void
- }
-
- define void @copy_f64() {
- ret void
- }
-
- define void @copy_v128() {
- ret void
- }
-...
---
name: copy_i32
# CHECK-LABEL: copy_i32
-body: |
+body: |
; CHECK-LABEL: bb.0:
; CHECK-NEXT: %0:i32 = COPY_I32 %1:i32
; CHECK-NEXT: RETURN_VOID
@@ -48,7 +25,7 @@
---
name: copy_f32
# CHECK-LABEL: copy_f32
-body: |
+body: |
; CHECK-LABEL: bb.0:
; CHECK-NEXT: %0:f32 = COPY_F32 %1:f32
; CHECK-NEXT: RETURN_VOID
@@ -59,7 +36,7 @@
---
name: copy_f64
# CHECK-LABEL: copy_f64
-body: |
+body: |
; CHECK-LABEL: bb.0:
; CHECK-NEXT: %0:f64 = COPY_F64 %1:f64
; CHECK-NEXT: RETURN_VOID
@@ -70,7 +47,7 @@
---
name: copy_v128
# CHECK-LABEL: copy_v128
-body: |
+body: |
; CHECK-LABEL: bb.0:
; CHECK-NEXT: %0:v128 = COPY_V128 %1:v128
; CHECK-NEXT: RETURN_VOID
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64704.209717.patch
Type: text/x-patch
Size: 1490 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190714/63a743af/attachment.bin>
More information about the llvm-commits
mailing list