]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/blob - test/Transforms/InstCombine/2008-01-06-CastCrash.ll
[canonicalize] Teach InstCombine to canonicalize loads which are only
[opencl/llvm.git] / test / Transforms / InstCombine / 2008-01-06-CastCrash.ll
1 ; RUN: opt < %s -instcombine -disable-output
3 define <2 x i32> @f() {
4         ret <2 x i32> undef
5 }
7 define i32 @g() {
8         %x = call i32 bitcast (<2 x i32> ()* @f to i32 ()*)( )          ; <i32> [#uses=1]
9         ret i32 %x
10 }