mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-09 15:57:28 +00:00
to adding them in a determinstic order (bottom up from the root) based on the structure of the graph itself. This updates tests for some random changes, interesting bits: CodeGen/Blackfin/promote-logic.ll no longer crashes. I have no idea why, but that's good right? CodeGen/X86/2009-07-16-LoadFoldingBug.ll also fails, but now compiles to have one fewer constant pool entry, making the expected load that was being folded disappear. Since it is an unreduced mass of gnast, I just removed it. This fixes PR6370 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97023 91177308-0d34-0410-b5e6-96231b3b80d8
18 lines
467 B
LLVM
18 lines
467 B
LLVM
; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin | \
|
|
; RUN: grep {stw r3, 32751}
|
|
; RUN: llc < %s -march=ppc64 -mtriple=powerpc-apple-darwin | \
|
|
; RUN: grep {stw r3, 32751}
|
|
; RUN: llc < %s -march=ppc64 -mtriple=powerpc-apple-darwin | \
|
|
; RUN: grep {std r3, 9024}
|
|
|
|
define void @test() nounwind {
|
|
store i32 0, i32* inttoptr (i64 48725999 to i32*)
|
|
ret void
|
|
}
|
|
|
|
define void @test2() nounwind {
|
|
store i64 0, i64* inttoptr (i64 74560 to i64*)
|
|
ret void
|
|
}
|
|
|