OSDN Git Service

New testcase
authorChris Lattner <sabre@nondot.org>
Mon, 31 Jan 2005 05:51:18 +0000 (05:51 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 31 Jan 2005 05:51:18 +0000 (05:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19952 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/InstCombine/cast.ll

index dc3f6a7..fb0b899 100644 (file)
@@ -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
+}
+