1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 04:52:54 +02:00
llvm-mirror/test/CodeGen/Mips/micromips-gp-rc.ll
Simon Dardis 40d3617fa0 evert "[mips] Fix test mips64fpldst.ll with machine verifier enabled"
This reverts commit r301394. It broke some internal buildbots, reverting
while the issue is being investigated.

llvm-svn: 304896
2017-06-07 11:21:37 +00:00

19 lines
391 B
LLVM

; RUN: llc -march=mipsel -mcpu=mips32r2 -mattr=+micromips \
; RUN: -relocation-model=pic -O3 < %s | FileCheck %s
@g = external global i32
; Function Attrs: noreturn nounwind
define void @foo() #0 {
entry:
%0 = load i32, i32* @g, align 4
tail call void @exit(i32 signext %0)
unreachable
}
; Function Attrs: noreturn
declare void @exit(i32 signext)
; CHECK: move $gp, ${{[0-9]+}}