view test/Assembler/2009-03-24-ZextConstantExpr.ll @ 129:9ec641e857f8

Fix compile error to update llvm 5.0
author mir3636
date Tue, 12 Dec 2017 19:42:58 +0900
parents 54457678186b
children
line wrap: on
line source

; 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)