mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
c168815f4b
Summary: The -mcpu=mips16 option caused the Integrated Assembler to crash because it couldn't figure out the architecture revision number to write to the .MIPS.abiflags section. This CPU definition has been removed because, like microMIPS, MIPS16 is an ASE to a base architecture. Reviewers: vkalintiris Subscribers: rkotler, llvm-commits, dsanders Differential Revision: http://reviews.llvm.org/D13656 llvm-svn: 250407
14 lines
392 B
LLVM
14 lines
392 B
LLVM
; RUN: llc -march=mipsel -mattr=mips16 -relocation-model=static < %s | FileCheck %s -check-prefix=CHECK-STATIC16
|
|
|
|
@x = common global float 0.000000e+00, align 4
|
|
|
|
define void @foo() nounwind {
|
|
entry:
|
|
%0 = load float, float* @x, align 4
|
|
%1 = load float, float* @x, align 4
|
|
%mul = fmul float %0, %1
|
|
store float %mul, float* @x, align 4
|
|
; CHECK-STATIC16: jal __mips16_mulsf3
|
|
ret void
|
|
}
|