1 ; This test makes sure that these instructions are properly eliminated.
4 ; RUN: if as < %s | opt -instcombine | dis | grep or
21 bool "test3"(bool %A) {
22 %B = or bool %A, false
26 bool "test4"(bool %A) {
31 bool "test5"(bool %A) {
32 %B = xor bool %A, false
41 bool "test7"(bool %A) {
51 int %testXOR9(int %A) {
56 bool "test9"(bool %A) {
61 int "test10"(int %A) {
66 bool %test11(bool %A) {
67 %B = xor bool %A, true