XCore target: return error for unsupported alignment

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194463 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Robert Lytton
2013-11-12 10:11:05 +00:00
parent 3cda2d3885
commit c17ea93ed5
2 changed files with 13 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
; RUN: not llc < %s -march=xcore 2>&1 | FileCheck %s
; CHECK: emitPrologue unsupported alignment: 8
define void @f() nounwind {
entry:
%BadAlignment = alloca i64, align 8
ret void
}