You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
This commit is contained in:
parent
5cd5df71cc
commit
8e12397d70
15
external/llvm/test/ExecutionEngine/MCJIT/test-data-align.ll
vendored
Normal file
15
external/llvm/test/ExecutionEngine/MCJIT/test-data-align.ll
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
; RUN: %lli -O0 %s
|
||||
|
||||
; Check that a variable is always aligned as specified.
|
||||
|
||||
@var = global i32 0, align 32
|
||||
define i32 @main() {
|
||||
%addr = ptrtoint i32* @var to i64
|
||||
%mask = and i64 %addr, 31
|
||||
%tst = icmp eq i64 %mask, 0
|
||||
br i1 %tst, label %good, label %bad
|
||||
good:
|
||||
ret i32 0
|
||||
bad:
|
||||
ret i32 1
|
||||
}
|
Reference in New Issue
Block a user