[llvm-commits] [llvm] r123440 - in /llvm/trunk/test/Transforms/InstSimplify: 2010-12-20-Boolean.ll 2010-12-20-I1Arithmetic.ll
Duncan Sands
baldrick at free.fr
Fri Jan 14 06:16:33 PST 2011
Author: baldrick
Date: Fri Jan 14 08:16:33 2011
New Revision: 123440
URL: http://llvm.org/viewvc/llvm-project?rev=123440&view=rev
Log:
Rename this test.
Added:
llvm/trunk/test/Transforms/InstSimplify/2010-12-20-Boolean.ll
- copied unchanged from r123439, llvm/trunk/test/Transforms/InstSimplify/2010-12-20-I1Arithmetic.ll
Removed:
llvm/trunk/test/Transforms/InstSimplify/2010-12-20-I1Arithmetic.ll
Removed: llvm/trunk/test/Transforms/InstSimplify/2010-12-20-I1Arithmetic.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstSimplify/2010-12-20-I1Arithmetic.ll?rev=123439&view=auto
==============================================================================
--- llvm/trunk/test/Transforms/InstSimplify/2010-12-20-I1Arithmetic.ll (original)
+++ llvm/trunk/test/Transforms/InstSimplify/2010-12-20-I1Arithmetic.ll (removed)
@@ -1,29 +0,0 @@
-; RUN: opt < %s -instsimplify -S | FileCheck %s
-
-define i1 @add(i1 %x) {
-; CHECK: @add
- %z = add i1 %x, %x
- ret i1 %z
-; CHECK: ret i1 false
-}
-
-define i1 @sub(i1 %x) {
-; CHECK: @sub
- %z = sub i1 false, %x
- ret i1 %z
-; CHECK: ret i1 %x
-}
-
-define i1 @mul(i1 %x) {
-; CHECK: @mul
- %z = mul i1 %x, %x
- ret i1 %z
-; CHECK: ret i1 %x
-}
-
-define i1 @ne(i1 %x) {
-; CHECK: @ne
- %z = icmp ne i1 %x, 0
- ret i1 %z
-; CHECK: ret i1 %x
-}
More information about the llvm-commits
mailing list