blob: 36a96c335715b3ccf1e073982915508524390419 [file] [log] [blame]
Dan Gohman66c80212009-09-11 18:17:12 +00001; RUN: opt < %s -sccp -S | not grep xor
Dan Gohmanf17a25c2007-07-18 16:29:46 +00002
3define i11129 @test1() {
4 %B = shl i11129 1, 11128
5 %C = sub i11129 %B, 1
6 %D = xor i11129 %B, %C
7
8 ret i11129 %D
9}