Fix (and test) function-local metadata that occurs before the instruction that it...
[oota-llvm.git] / test / Assembler / 2009-03-24-ZextConstantExpr.ll
1 ; RUN: llvm-as < %s | llvm-dis
2 ; PR3876
3 @gdtr = external global [0 x i8]
4
5 define void @test() {
6         call zeroext i1 @paging_map(i64 zext (i32 and (i32 ptrtoint ([0 x i8]* @gdtr to i32), i32 -4096) to i64))
7         ret void
8 }
9
10 declare zeroext i1 @paging_map(i64)
11