blob: 633a61564558cf4c403cc8215c2200c222922bd9 [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;
Tanya Lattner6f729d62008-03-25 04:26:08 +00005; RUN: llvm-as < %s | llc -march=x86 -regalloc=linearscan | \
Reid Spencerd3b1f6d2007-04-15 22:20:47 +00006; RUN: not grep {mov %\[A-Z\]\\\{2,3\\\}, %\[A-Z\]\\\{2,3\\\}}
Alkis Evlogimenosd1862af2004-04-12 15:40:25 +00007
Tanya Lattner6f729d62008-03-25 04:26:08 +00008define i64 @test(i64 %x) {
Alkis Evlogimenos479f7e52004-04-12 19:04:22 +00009entry:
Tanya Lattner6f729d62008-03-25 04:26:08 +000010 %tmp.1 = mul i64 %x, 4294967297 ; <i64> [#uses=1]
11 ret i64 %tmp.1
Alkis Evlogimenosd1862af2004-04-12 15:40:25 +000012}
Tanya Lattner6f729d62008-03-25 04:26:08 +000013