summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/WebAssembly/fast-isel.ll
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2015-10-06 00:27:55 +0000
committerDan Gohman <dan433584@gmail.com>2015-10-06 00:27:55 +0000
commite51c058ecc2d06b329e176a78487144828a7ae51 (patch)
treeccbaecac243b7f16d7683c0bdc128ad892e7810f /llvm/test/CodeGen/WebAssembly/fast-isel.ll
parentd77e802f0772e3f0fe53027a9e09de3dae46b911 (diff)
downloadbcm5719-llvm-e51c058ecc2d06b329e176a78487144828a7ae51.tar.gz
bcm5719-llvm-e51c058ecc2d06b329e176a78487144828a7ae51.zip
[WebAssembly] Switch to a more traditional assembly syntax
This new syntax is built around putting each instruction on its own line in a "mnemonic op, op, op" like syntax. It also uses conventional data section directives like ".byte" and so on rather than requiring everything to be in hierarchical S-expression format. This is a more natural syntax for a ".s" file format from the perspective of LLVM MC and related tools, while remaining easy to translate into other forms as needed. llvm-svn: 249364
Diffstat (limited to 'llvm/test/CodeGen/WebAssembly/fast-isel.ll')
-rw-r--r--llvm/test/CodeGen/WebAssembly/fast-isel.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/WebAssembly/fast-isel.ll b/llvm/test/CodeGen/WebAssembly/fast-isel.ll
index f0dfc623f60..fa1870f6750 100644
--- a/llvm/test/CodeGen/WebAssembly/fast-isel.ll
+++ b/llvm/test/CodeGen/WebAssembly/fast-isel.ll
@@ -7,14 +7,14 @@ target triple = "wasm32-unknown-unknown"
; This tests very minimal fast-isel functionality.
-; CHECK-LABEL: (func $immediate_f32
-; CHECK: (immediate 0x1.4p1)
+; CHECK-LABEL: immediate_f32:
+; CHECK: f32.const 0x1.4p1{{$}}
define float @immediate_f32() {
ret float 2.5
}
-; CHECK-LABEL: (func $immediate_f64
-; CHECK: (immediate 0x1.4p1)
+; CHECK-LABEL: immediate_f64:
+; CHECK: f64.const 0x1.4p1{{$}}
define double @immediate_f64() {
ret double 2.5
}
OpenPOWER on IntegriCloud