llvm-project/llvm/test/CodeGen/Mips/mips64directive.ll
Fangrui Song ae26f50aea [test] Change llc -march=mips* to -mtriple=mips*
Similar to 806761a7629df268c8aed49657aeccffa6bca449
2024-12-10 22:14:06 -08:00

13 lines
310 B
LLVM

; RUN: llc < %s -mtriple=mips64el -mcpu=mips4 -target-abi=n64 | FileCheck %s
; RUN: llc < %s -mtriple=mips64el -mcpu=mips64 -target-abi=n64 | FileCheck %s
@gl = global i64 1250999896321, align 8
; CHECK: 8byte
define i64 @foo1() nounwind readonly {
entry:
%0 = load i64, ptr @gl, align 8
ret i64 %0
}