diff options
author | Chris Lattner <sabre@nondot.org> | 2003-11-03 03:52:34 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-11-03 03:52:34 +0000 |
commit | 40cfd9ea413c6c4b4592c05775d544202fca02b8 (patch) | |
tree | ab24de75f5d266805b7477e7f368080287b1fc43 | |
parent | a5c5666d485a48eacc095bd8c05efc8615b0cdce (diff) |
Add the testcase from PR8
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9669 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Transforms/InstCombine/cast-set.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/cast-set.ll b/test/Transforms/InstCombine/cast-set.ll index 6ee4cd19e4..b87c22a49e 100644 --- a/test/Transforms/InstCombine/cast-set.ll +++ b/test/Transforms/InstCombine/cast-set.ll @@ -47,3 +47,9 @@ bool %test6(bool %A) { %C = setne int %B, 0 ret bool %C } + +bool %test7(sbyte* %A) { + %B = cast sbyte* %A to int* + %C = seteq int* %B, null + ret bool %C +} |