blob: d52d51de2b39fee71616bc5e2a57352244fc327e [file] [log] [blame]
Dan Gohman5bb7c7c2009-09-08 22:34:10 +00001; RUN: llvm-as < %s | opt -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}