[PATCH] D23652: [mips] N64 static relocation model support

Simon Dardis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 23 07:39:42 PST 2017


sdardis updated this revision to Diff 85386.
sdardis added a comment.
This revision is now accepted and ready to land.

Cleaned up a broken test, and fixed the flags in the elf header when doing CPIC/PIC or static.

When the N64 abi is used with the static relocation model and symbols are 64 bit, we always enable the 'noabicalls' feature. This matches GCC's output.


https://reviews.llvm.org/D23652

Files:
  lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
  lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
  lib/Target/Mips/MicroMips64r6InstrInfo.td
  lib/Target/Mips/Mips.td
  lib/Target/Mips/Mips64InstrInfo.td
  lib/Target/Mips/MipsAsmPrinter.cpp
  lib/Target/Mips/MipsISelLowering.cpp
  lib/Target/Mips/MipsISelLowering.h
  lib/Target/Mips/MipsInstrInfo.td
  lib/Target/Mips/MipsSEISelDAGToDAG.cpp
  lib/Target/Mips/MipsSubtarget.cpp
  lib/Target/Mips/MipsSubtarget.h
  test/CodeGen/Mips/2009-11-16-CstPoolLoad.ll
  test/CodeGen/Mips/2010-07-20-Switch.ll
  test/CodeGen/Mips/abicalls.ll
  test/CodeGen/Mips/blockaddr.ll
  test/CodeGen/Mips/cconv/arguments-float.ll
  test/CodeGen/Mips/cconv/arguments-fp128.ll
  test/CodeGen/Mips/cconv/arguments-hard-float-varargs.ll
  test/CodeGen/Mips/cconv/arguments-hard-float.ll
  test/CodeGen/Mips/cconv/arguments-hard-fp128.ll
  test/CodeGen/Mips/cconv/arguments-struct.ll
  test/CodeGen/Mips/cconv/arguments-varargs-small-structs-byte.ll
  test/CodeGen/Mips/cconv/arguments-varargs-small-structs-combinations.ll
  test/CodeGen/Mips/cconv/arguments-varargs.ll
  test/CodeGen/Mips/cconv/arguments.ll
  test/CodeGen/Mips/cconv/return-float.ll
  test/CodeGen/Mips/cconv/return-hard-float.ll
  test/CodeGen/Mips/cconv/return-hard-fp128.ll
  test/CodeGen/Mips/cconv/return-hard-struct-f128.ll
  test/CodeGen/Mips/cconv/return-struct.ll
  test/CodeGen/Mips/cconv/return.ll
  test/CodeGen/Mips/cconv/roundl-call.ll
  test/CodeGen/Mips/compactbranches/compact-branches-64.ll
  test/CodeGen/Mips/compactbranches/compact-branches.ll
  test/CodeGen/Mips/cstmaterialization/stack.ll
  test/CodeGen/Mips/elf_eflags.ll
  test/CodeGen/Mips/fcmp.ll
  test/CodeGen/Mips/fcopysign-f32-f64.ll
  test/CodeGen/Mips/global-address.ll
  test/CodeGen/Mips/inlineasm-constraint_ZC_2.ll
  test/CodeGen/Mips/llvm-ir/call.ll
  test/CodeGen/Mips/mips64-f128-call.ll
  test/CodeGen/Mips/mips64-f128.ll
  test/CodeGen/Mips/mips64-libcall.ll
  test/CodeGen/Mips/mips64instrs.ll
  test/CodeGen/Mips/start-asm-file.ll
  test/CodeGen/Mips/tailcall/tailcall-wrong-isa.ll
  test/CodeGen/Mips/tailcall/tailcall.ll
  test/MC/Mips/elf_eflags.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23652.85386.patch
Type: text/x-patch
Size: 105280 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170123/f4a57141/attachment-0001.bin>


More information about the llvm-commits mailing list