From f449a2a6acb4b3c1a81e33ac047b1a86fa1ce44f Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 26 May 2003 23:41:13 +0000 Subject: [PATCH] New testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6337 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/InstCombine/2003-05-26-CastMiscompile.ll | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/Transforms/InstCombine/2003-05-26-CastMiscompile.ll diff --git a/test/Transforms/InstCombine/2003-05-26-CastMiscompile.ll b/test/Transforms/InstCombine/2003-05-26-CastMiscompile.ll new file mode 100644 index 00000000000..e2851205983 --- /dev/null +++ b/test/Transforms/InstCombine/2003-05-26-CastMiscompile.ll @@ -0,0 +1,7 @@ +; RUN: as < %s | opt -instcombine | dis | grep 4294967295 + +ulong %test(ulong %Val) { + %tmp.3 = cast ulong %Val to uint ; [#uses=1] + %tmp.8 = cast uint %tmp.3 to ulong ; [#uses=1] + ret ulong %tmp.8 +} -- 2.50.1