xref: /llvm-project/llvm/test/Transforms/SCCP/apint-bigint.ll (revision 8ebb3eac02a926ffa4298c12834c57aefb2e8579)
1*8ebb3eacSBjorn Pettersson; RUN: opt < %s -passes=sccp -S | not grep xor
2cee313d2SEric Christopher
3cee313d2SEric Christopherdefine i11129 @test1() {
4cee313d2SEric Christopher        %B = shl i11129 1, 11128
5cee313d2SEric Christopher        %C = sub i11129 %B, 1
6cee313d2SEric Christopher        %D = xor i11129 %B, %C
7cee313d2SEric Christopher
8cee313d2SEric Christopher	ret i11129 %D
9cee313d2SEric Christopher}
10