1 ; Check to make sure that Value Numbering doesn't merge casts of different
3 ; RUN: llvm-upgrade < %s | llvm-as | opt -load-vn -gcse | llvm-dis | \
4 ; RUN: grep {\[sz\]ext} | count 2
6 declare void %external(int)
8 int %test_casts(short %x) {
9 %a = sext short %x to int
10 %b = zext short %x to int
11 call void %external(int %a)