blob: 981df5a97cb934da43f1c1f10a3529f4526ba724 [file] [log] [blame]
Alkis Evlogimenosd1862af2004-04-12 15:40:25 +00001; 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: llvm-as < %s | llc -march=x86 -regalloc=linearscan | not grep 'mov %[A-Z]\{2,3\}, %[A-Z]\{2,3\}'
6
Alkis Evlogimenos479f7e52004-04-12 19:04:22 +00007long %test(long %x) {
8entry:
9 %tmp.1 = mul long %x, 4294967297 ; <long> [#uses=1]
10 ret long %tmp.1
Alkis Evlogimenosd1862af2004-04-12 15:40:25 +000011}