mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
Add a testcase for the addc improvements introduced some commits ago. Patch by Akira Hatanaka
llvm-svn: 127358
This commit is contained in:
parent
51df3638f8
commit
f34376b0e1
13
test/CodeGen/Mips/addc.ll
Normal file
13
test/CodeGen/Mips/addc.ll
Normal file
@ -0,0 +1,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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user