aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/LevelRaise/2002-11-04-ConstantSharing.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-05-11 22:46:23 +0000
committerChris Lattner <sabre@nondot.org>2003-05-11 22:46:23 +0000
commit82df8dfe877ba02f73e03e0d1e9e93b40e771a21 (patch)
tree8d4b5b5bab7263dbf2c4d0a3ffc4f54c0df2bb84 /test/Transforms/LevelRaise/2002-11-04-ConstantSharing.ll
parent1e8166a92a48bf7a5b114625b5b157363f078c22 (diff)
downloadexternal_llvm-82df8dfe877ba02f73e03e0d1e9e93b40e771a21.zip
external_llvm-82df8dfe877ba02f73e03e0d1e9e93b40e771a21.tar.gz
external_llvm-82df8dfe877ba02f73e03e0d1e9e93b40e771a21.tar.bz2
Checkin old test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6102 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/LevelRaise/2002-11-04-ConstantSharing.ll')
-rw-r--r--test/Transforms/LevelRaise/2002-11-04-ConstantSharing.ll11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Transforms/LevelRaise/2002-11-04-ConstantSharing.ll b/test/Transforms/LevelRaise/2002-11-04-ConstantSharing.ll
new file mode 100644
index 0000000..4c5c97b
--- /dev/null
+++ b/test/Transforms/LevelRaise/2002-11-04-ConstantSharing.ll
@@ -0,0 +1,11 @@
+
+implementation
+
+bool %test(int *%X, uint* %Y) {
+ %A = cast int* %X to sbyte*
+ %B = cast uint* %Y to sbyte*
+ %c1 = seteq sbyte* %A, null
+ %c2 = seteq sbyte* %B, null
+ %c = and bool %c1, %c2
+ ret bool %c
+}