mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
13f5c5896d
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216022 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
283 B
LLVM
13 lines
283 B
LLVM
; RUN: llvm-as < %s | llvm-dis
|
|
; RUN: verify-uselistorder %s
|
|
; PR3876
|
|
@gdtr = external global [0 x i8]
|
|
|
|
define void @test() {
|
|
call zeroext i1 @paging_map(i64 zext (i32 and (i32 ptrtoint ([0 x i8]* @gdtr to i32), i32 -4096) to i64))
|
|
ret void
|
|
}
|
|
|
|
declare zeroext i1 @paging_map(i64)
|
|
|