bolt/deps/llvm-18.1.8/llvm/test/CodeGen/Mips/addc.ll

14 lines
287 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
; RUN: llc < %s -march=mipsel | FileCheck %s
; RUN: llc < %s -march=mips | FileCheck %s
define void @f(i64 %l, ptr nocapture %p) nounwind {
entry:
; CHECK: lui
; CHECK: ori
; CHECK: addu
%add = add i64 %l, 1311768467294899695
store i64 %add, ptr %p, align 4
ret void
}