• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: opt < %s -instcombine -S | \
2; RUN:   grep call | not grep bitcast
3
4target datalayout = "e-p:32:32"
5target triple = "i686-pc-linux-gnu"
6
7define i32 @main() {
8entry:
9        %tmp = call i32 bitcast (i8* (i32*)* @ctime to i32 (i32*)*)( i32* null )          ; <i32> [#uses=1]
10        ret i32 %tmp
11}
12
13declare i8* @ctime(i32*)
14
15