diff options
Diffstat (limited to 'test/Transforms/GlobalOpt')
-rw-r--r-- | test/Transforms/GlobalOpt/gv-align.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Transforms/GlobalOpt/gv-align.ll b/test/Transforms/GlobalOpt/gv-align.ll new file mode 100644 index 0000000..f99e8a6 --- /dev/null +++ b/test/Transforms/GlobalOpt/gv-align.ll @@ -0,0 +1,6 @@ +; RUN: opt -globalopt -S < %s | grep {, align 16} + +; Globalopt should refine the alignment for global variables. + +target datalayout = "e-p:64:64:64" +@a = global [4 x i32] [i32 2, i32 3, i32 4, i32 5 ] |