diff options
author | Chris Lattner <sabre@nondot.org> | 2003-05-26 23:41:13 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-05-26 23:41:13 +0000 |
commit | f449a2a6acb4b3c1a81e33ac047b1a86fa1ce44f (patch) | |
tree | 02a343f478966609e87432b4ff4b1a374f4a9159 | |
parent | 8e9da62030c36d13788121df9d9c572fe345c9be (diff) | |
download | llvm-f449a2a6acb4b3c1a81e33ac047b1a86fa1ce44f.tar.gz llvm-f449a2a6acb4b3c1a81e33ac047b1a86fa1ce44f.tar.bz2 llvm-f449a2a6acb4b3c1a81e33ac047b1a86fa1ce44f.tar.xz |
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6337 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Transforms/InstCombine/2003-05-26-CastMiscompile.ll | 7 |
1 files changed, 7 insertions, 0 deletions
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 0000000000..e285120598 --- /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 ; <uint> [#uses=1] + %tmp.8 = cast uint %tmp.3 to ulong ; <ulong> [#uses=1] + ret ulong %tmp.8 +} |