Home | History | Annotate | Download | only in ConstProp
      1 ; RUN: opt < %s -constprop -S | FileCheck %s
      2 
      3 define i32* @test1() {
      4         %X = inttoptr i64 0 to i32*             ; <i32*> [#uses=1]
      5         ret i32* %X
      6 }
      7 
      8 ; CHECK:  ret i32* null
      9 
     10 define i32* @test2() {
     11         ret i32* null
     12 }
     13 
     14 ; CHECK:  ret i32* null
     15 
     16