blob: 6b253efab6d14d60881c1f8e85799177a6981a66 [file] [log] [blame]
Chris Lattner679da032002-05-06 17:00:47 +00001; This test makes sure that these instructions are properly eliminated.
2;
3
Chris Lattnerf6f95d02002-08-02 19:27:58 +00004; RUN: if as < %s | opt -instcombine -die | dis | grep not
Chris Lattner679da032002-05-06 17:00:47 +00005; RUN: then exit 1
6; RUN: else exit 0
7; RUN: fi
8
9implementation
10
11int "test1"(int %A) {
12 %B = not int %A
13 %C = not int %B
14 ret int %C
15}
16