aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/align-inst.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/align-inst.ll')
-rw-r--r--test/Assembler/align-inst.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Assembler/align-inst.ll b/test/Assembler/align-inst.ll
new file mode 100644
index 0000000..7bf0b64
--- /dev/null
+++ b/test/Assembler/align-inst.ll
@@ -0,0 +1,8 @@
+; RUN: llvm-as %s -o /dev/null
+
+define void @foo() {
+ %p = alloca i1, align 536870912
+ load i1* %p, align 536870912
+ store i1 false, i1* %p, align 536870912
+ ret void
+}