diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2015-12-30 11:46:15 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2015-12-30 11:46:15 +0000 |
| commit | dd58ef019b700900793a1eb48b52123db01b654e (patch) | |
| tree | fcfbb4df56a744f4ddc6122c50521dd3f1c5e196 /test/CodeGen/PowerPC/vec-asm-disabled.ll | |
| parent | 2fe5752e3a7c345cdb59e869278d36af33c13fa4 (diff) | |
Notes
Diffstat (limited to 'test/CodeGen/PowerPC/vec-asm-disabled.ll')
| -rw-r--r-- | test/CodeGen/PowerPC/vec-asm-disabled.ll | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/CodeGen/PowerPC/vec-asm-disabled.ll b/test/CodeGen/PowerPC/vec-asm-disabled.ll new file mode 100644 index 0000000000000..333ccce6b89fa --- /dev/null +++ b/test/CodeGen/PowerPC/vec-asm-disabled.ll @@ -0,0 +1,14 @@ +; RUN: not llc -mcpu=pwr7 -o /dev/null %s 2>&1 | FileCheck %s +target datalayout = "E-m:e-i64:64-n32:64" +target triple = "powerpc64-unknown-linux-gnu" + +define <4 x i32> @testi1(<4 x i32> %b1, <4 x i32> %b2) #0 { +entry: + %0 = call <4 x i32> asm "xxland $0, $1, $2", "=^wd,^wd,^wd"(<4 x i32> %b1, <4 x i32> %b2) #0 + ret <4 x i32> %0 + +; CHECK: error: couldn't allocate output register for constraint 'wd' +} + +attributes #0 = { nounwind "target-features"="-vsx" } + |
