1 2 3 4 5 6 7 8
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine -disable-output %X = global int 5 long %test() { %C = add long 1, 2 %V = add long cast(int* %X to long), %C ret long %V }