llvm-6502/test/Transforms/InstCombine/2003-05-26-CastMiscompile.ll
Chris Lattner f449a2a6ac New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6337 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-26 23:41:13 +00:00

8 lines
254 B
LLVM

; RUN: as < %s | opt -instcombine | dis | grep 4294967295
ulong %test(ulong %Val) {
%tmp.3 = cast ulong %Val to uint ; <uint> [#uses=1]
%tmp.8 = cast uint %tmp.3 to ulong ; <ulong> [#uses=1]
ret ulong %tmp.8
}