aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Transforms/InstCombine/cast.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/cast.ll b/test/Transforms/InstCombine/cast.ll
index dc3f6a7201..fb0b899ef1 100644
--- a/test/Transforms/InstCombine/cast.ll
+++ b/test/Transforms/InstCombine/cast.ll
@@ -155,3 +155,9 @@ bool %test24(bool %C) {
ret bool %c
}
+void %test25(int** %P) {
+ %c = cast int** %P to float**
+ store float* null, float** %c ;; Fold cast into null
+ ret void
+}
+