Commit some changes I had managed to lose last night while refactoring the code....
[oota-llvm.git] / test / CodeGen / X86 / 2004-04-09-SameValueCoalescing.ll
1 ; Linear scan does not currently coalesce any two variables that have
2 ; overlapping live intervals. When two overlapping intervals have the same
3 ; value, they can be joined though.
4 ;
5 ; RUN: llc < %s -march=x86 -regalloc=linearscan | \
6 ; RUN:   not grep {mov %\[A-Z\]\\\{2,3\\\}, %\[A-Z\]\\\{2,3\\\}}
7
8 define i64 @test(i64 %x) {
9 entry:
10         %tmp.1 = mul i64 %x, 4294967297         ; <i64> [#uses=1]
11         ret i64 %tmp.1
12 }
13