Alkis Evlogimenos | d1862af | 2004-04-12 15:40:25 +0000 | [diff] [blame] | 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 | ; |
Reid Spencer | 69ccadd | 2006-12-02 04:23:10 +0000 | [diff] [blame] | 5 | ; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -regalloc=linearscan | not grep 'mov %[A-Z]\{2,3\}, %[A-Z]\{2,3\}' |
Alkis Evlogimenos | d1862af | 2004-04-12 15:40:25 +0000 | [diff] [blame] | 6 | |
Alkis Evlogimenos | 479f7e5 | 2004-04-12 19:04:22 +0000 | [diff] [blame] | 7 | long %test(long %x) { |
| 8 | entry: |
| 9 | %tmp.1 = mul long %x, 4294967297 ; <long> [#uses=1] |
| 10 | ret long %tmp.1 |
Alkis Evlogimenos | d1862af | 2004-04-12 15:40:25 +0000 | [diff] [blame] | 11 | } |