summaryrefslogtreecommitdiffstats
path: root/test/Assembler/2007-04-20-AlignedLoad.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/2007-04-20-AlignedLoad.ll')
-rw-r--r--test/Assembler/2007-04-20-AlignedLoad.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Assembler/2007-04-20-AlignedLoad.ll b/test/Assembler/2007-04-20-AlignedLoad.ll
new file mode 100644
index 0000000..f0217ae
--- /dev/null
+++ b/test/Assembler/2007-04-20-AlignedLoad.ll
@@ -0,0 +1,7 @@
+; RUN: llvm-as < %s | llvm-dis | grep {align 1024}
+
+define i32 @test(i32* %arg) {
+entry:
+ %tmp2 = load i32* %arg, align 1024 ; <i32> [#uses=1]
+ ret i32 %tmp2
+}