mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-13 23:18:51 +00:00
842db07c61
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127358 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
289 B
LLVM
14 lines
289 B
LLVM
; RUN: llc < %s -march=mipsel | FileCheck %s
|
|
; RUN: llc < %s -march=mips | FileCheck %s
|
|
|
|
define void @f(i64 %l, i64* nocapture %p) nounwind {
|
|
entry:
|
|
; CHECK: lui
|
|
; CHECK: ori
|
|
; CHECK: addu
|
|
%add = add i64 %l, 1311768467294899695
|
|
store i64 %add, i64* %p, align 4
|
|
ret void
|
|
}
|
|
|