aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/Mips/addc.ll
blob: e5d05b1d6dbb84572ba742d7bbf8fae51b68af44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; 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
}