| commit | bff50208c8622fbcf8c8fdaac61ff81670de1423 | [log] [tgz] |
|---|---|---|
| author | Christopher Lamb <christopher.lamb@gmail.com> | Sat Apr 21 08:16:25 2007 +0000 |
| committer | Christopher Lamb <christopher.lamb@gmail.com> | Sat Apr 21 08:16:25 2007 +0000 |
| tree | ab39674971382d5bb5d26ac2f3eef372113d986d | |
| parent | 64995e1b3f9311c8a44af06e4bd1d8d49c4dc862 [diff] [blame] |
add support for alignment attributes on load/store instructions llvm-svn: 36301
diff --git a/llvm/test/Assembler/2007-04-20-AlignedLoad.ll b/llvm/test/Assembler/2007-04-20-AlignedLoad.ll new file mode 100644 index 0000000..a01fdf0 --- /dev/null +++ b/llvm/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 +}