1 ; This test makes sure that these instructions are properly eliminated.
4 ; RUN: if as < %s | opt -instcombine | dis | grep set
9 %X = uninitialized global int
11 bool "test1"(int %A) {
13 %C = seteq int* %X, null ; Never true
18 bool "test2"(int %A) {
20 %C = setne int* %X, null ; Never false
25 bool "test3"(int %A) {
30 bool "test4"(int %A) {
35 bool "test5"(int %A) {
40 bool "test6"(int %A) {