llvm-6502/test/Transforms/ConstProp/2002-09-03-SetCC-Bools.ll
Reid Spencer 43b40035ba For PR1319:
Fix syntax of tests to ensure grep pattern is properly quoted.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36134 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 15:31:49 +00:00

21 lines
461 B
LLVM

; SetCC on boolean values was not implemented!
; RUN: llvm-upgrade < %s | llvm-as | opt -constprop -die | llvm-dis | \
; RUN: not grep set
bool "test1"() {
%A = setle bool true, false
%B = setge bool true, false
%C = setlt bool false, true
%D = setgt bool true, false
%E = seteq bool false, false
%F = setne bool false, true
%G = and bool %A, %B
%H = and bool %C, %D
%I = and bool %E, %F
%J = and bool %G, %H
%K = and bool %I, %J
ret bool %K
}