13 lines · plain
1; RUN: %lli -jit-kind=mcjit %s > /dev/null2; RUN: %lli %s > /dev/null3 4; This tests to make sure that we can evaluate weird constant expressions5 6@A = global i32 5 ; <ptr> [#uses=1]7 8define i32 @main() {9 %A = or i1 false, ptrtoint (ptr @A to i1)10 ret i32 011}12 13