Skip to content
Snippets Groups Projects
Commit 2be2ab59 authored by Chris Lattner's avatar Chris Lattner
Browse files

Test that large absolute addresses are properly folded into addr modes on

both ppc32 and ppc64.

llvm-svn: 34370
parent 56e5fea1
No related branches found
No related tags found
No related merge requests found
; RUN: llvm-as < %s | llc -march=ppc32 | grep 'stw r3, 32751' &&
; RUN: llvm-as < %s | llc -march=ppc64 | grep 'stw r3, 32751' &&
; RUN: llvm-as < %s | llc
define void @test() {
store i32 0, i32* inttoptr (i64 48725999 to i32*)
ret void
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment