diff options
| author | Tim Northover <tnorthover@apple.com> | 2014-04-15 13:59:53 +0000 |
|---|---|---|
| committer | Tim Northover <tnorthover@apple.com> | 2014-04-15 13:59:53 +0000 |
| commit | 1291807e034cf8f91bc1f2bdc195b4c8d98eef2d (patch) | |
| tree | 4851155ece2ad680b2c47b3b47285b28cca442b8 /test/CodeGen | |
| parent | 03eecdccff8d3f69412d9cbcb07c0ace7709e1e4 (diff) | |
| download | llvm-1291807e034cf8f91bc1f2bdc195b4c8d98eef2d.tar.gz llvm-1291807e034cf8f91bc1f2bdc195b4c8d98eef2d.tar.bz2 llvm-1291807e034cf8f91bc1f2bdc195b4c8d98eef2d.tar.xz | |
ARM64: add constraints to various FastISel operations
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206284 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
| -rw-r--r-- | test/CodeGen/AArch64/fcvt-fixed.ll | 4 | ||||
| -rw-r--r-- | test/CodeGen/ARM64/2012-06-06-FPToUI.ll | 10 |
2 files changed, 10 insertions, 4 deletions
diff --git a/test/CodeGen/AArch64/fcvt-fixed.ll b/test/CodeGen/AArch64/fcvt-fixed.ll index 9d66da4943..b754b73517 100644 --- a/test/CodeGen/AArch64/fcvt-fixed.ll +++ b/test/CodeGen/AArch64/fcvt-fixed.ll @@ -1,4 +1,8 @@ ; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu -O0 | FileCheck %s +; RUN: llc -verify-machineinstrs < %s -mtriple=arm64-apple-ios7.0 -O0 + +; (The O0 test is to make sure FastISel still constrains its operands properly +; and the verifier doesn't trigger). @var32 = global i32 0 @var64 = global i64 0 diff --git a/test/CodeGen/ARM64/2012-06-06-FPToUI.ll b/test/CodeGen/ARM64/2012-06-06-FPToUI.ll index dda4ff5bad..168e921bcc 100644 --- a/test/CodeGen/ARM64/2012-06-06-FPToUI.ll +++ b/test/CodeGen/ARM64/2012-06-06-FPToUI.ll @@ -7,8 +7,9 @@ @.str3 = private unnamed_addr constant [7 x i8] c"%f %u\0A\00", align 1 define void @testDouble(double %d) ssp { -; CHECK: fcvtzu x{{.}}, d{{.}} -; CHECK: fcvtzu w{{.}}, d{{.}} +; CHECK-LABEL: testDouble: +; CHECK: fcvtzu x{{[0-9]+}}, d{{[0-9]+}} +; CHECK: fcvtzu w{{[0-9]+}}, d{{[0-9]+}} entry: %d.addr = alloca double, align 8 store double %d, double* %d.addr, align 8 @@ -26,8 +27,9 @@ entry: declare i32 @printf(i8*, ...) define void @testFloat(float %f) ssp { -; CHECK: fcvtzu x{{.}}, s{{.}} -; CHECK: fcvtzu w{{.}}, s{{.}} +; CHECK-LABEL: testFloat: +; CHECK: fcvtzu x{{[0-9]+}}, s{{[0-9]+}} +; CHECK: fcvtzu w{{[0-9]+}}, s{{[0-9]+}} entry: %f.addr = alloca float, align 4 store float %f, float* %f.addr, align 4 |
