It's not necessary to do rounding for alloca operations when the requested
alignment is equal to the stack alignment.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40004 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/ExecutionEngine/hello2.ll b/test/ExecutionEngine/hello2.ll
new file mode 100644
index 0000000..b186c52
--- /dev/null
+++ b/test/ExecutionEngine/hello2.ll
@@ -0,0 +1,22 @@
+; RUN: llvm-upgrade < %s | llvm-as -f -o %t.bc
+; RUN: lli %t.bc > /dev/null
+
+
+%X = global int 7
+%msg = internal global [13 x sbyte] c"Hello World\0A\00"
+
+
+implementation
+
+declare void %printf([13 x sbyte]*,...)
+
+void %bar() {
+  call void([13 x sbyte]*,...)* %printf([13 x sbyte]* %msg)
+  ret void 
+}
+
+int %main() {
+        call void %bar()
+        ret int 0
+}
+