aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms')
-rw-r--r--test/Transforms/InstCombine/cast.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/cast.ll b/test/Transforms/InstCombine/cast.ll
index 7d6a3cb..ba0b304 100644
--- a/test/Transforms/InstCombine/cast.ll
+++ b/test/Transforms/InstCombine/cast.ll
@@ -199,3 +199,11 @@ bool %test31(ulong %A) {
ret bool %D
}
+
+void %test32(double** %tmp) {
+ %tmp8 = malloc [16 x sbyte]
+ %tmp8 = cast [16 x sbyte]* %tmp8 to double*
+ store double* %tmp8, double** %tmp
+ ret void
+}
+