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/test-setcond-fp.ll b/test/ExecutionEngine/test-setcond-fp.ll
new file mode 100644
index 0000000..3f54d6f
--- /dev/null
+++ b/test/ExecutionEngine/test-setcond-fp.ll
@@ -0,0 +1,23 @@
+; RUN: llvm-upgrade < %s | llvm-as -f -o %t.bc
+; RUN: lli %t.bc > /dev/null
+
+
+int %main() {
+	%double1 = add double 0.0, 0.0
+	%double2 = add double 0.0, 0.0
+	%float1 = add float 0.0, 0.0
+	%float2 = add float 0.0, 0.0
+	%test49 = seteq float %float1, %float2
+	%test50 = setge float %float1, %float2
+	%test51 = setgt float %float1, %float2
+	%test52 = setle float %float1, %float2
+	%test53 = setlt float %float1, %float2
+	%test54 = setne float %float1, %float2
+	%test55 = seteq double %double1, %double2
+	%test56 = setge double %double1, %double2
+	%test57 = setgt double %double1, %double2
+	%test58 = setle double %double1, %double2
+	%test59 = setlt double %double1, %double2
+	%test60 = setne double %double1, %double2
+	ret int 0
+}