diff options
Diffstat (limited to 'test/CodeGen/XCore/alignment.ll')
-rw-r--r-- | test/CodeGen/XCore/alignment.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/XCore/alignment.ll b/test/CodeGen/XCore/alignment.ll new file mode 100644 index 0000000000000..28bdf3b742087 --- /dev/null +++ b/test/CodeGen/XCore/alignment.ll @@ -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 +} + |