mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
91bb437eb8
As discussed on PR27654, this patch fixes the triples of a lot of aarch64 tests and enables lit tests on windows This will hopefully help stop cases where windows developers break the aarch64 target Differential Revision: https://reviews.llvm.org/D22191 llvm-svn: 275973
15 lines
370 B
LLVM
15 lines
370 B
LLVM
; RUN: llc -mtriple=arm64-eabi < %s
|
|
|
|
|
|
; Make sure large offsets aren't mistaken for valid immediate offsets.
|
|
; <rdar://problem/13190511>
|
|
define void @f(i32* nocapture %p) {
|
|
entry:
|
|
%a = ptrtoint i32* %p to i64
|
|
%ao = add i64 %a, 25769803792
|
|
%b = inttoptr i64 %ao to i32*
|
|
store volatile i32 0, i32* %b, align 4
|
|
store volatile i32 0, i32* %b, align 4
|
|
ret void
|
|
}
|