[PATCH] D49673: [AArch64] Add Tiny Code Model for AArch64

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 30 08:19:12 PDT 2018


dmgreen updated this revision to Diff 157959.
dmgreen added reviewers: peter.smith, efriedma.
dmgreen added a comment.
Herald added subscribers: the_o, brucehoult, MartinMosbeck, rogfer01, atanasyan, mgrang, edward-jones, zzheng, niosHD, sabuasal, apazos, simoncook, johnrusso, rbar, asb, fedor.sergeev, kbarton, eraman, nhaehnle, nemanjai, sdardis, dylanmckay, jyknight, arsenm, jholewinski.

Now with more code. I will go through later and try to pull sensible parts of this out into separate patches. The llvm-test-suite all either pass or fail to link both with and without -fPIC (although more fail to link without PIC that I would have expected).

TLS still uses the same implementation as Small at the moment. This, as far as I can tell, is the same thing that gcc does.

Thanks to Peter for some pointers.


https://reviews.llvm.org/D49673

Files:
  bindings/go/llvm/target.go
  docs/CommandGuide/lli.rst
  include/llvm-c/TargetMachine.h
  include/llvm/CodeGen/CommandFlags.inc
  include/llvm/Support/CodeGen.h
  include/llvm/Target/CodeGenCWrappers.h
  lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
  lib/Target/AArch64/AArch64FrameLowering.cpp
  lib/Target/AArch64/AArch64ISelLowering.cpp
  lib/Target/AArch64/AArch64ISelLowering.h
  lib/Target/AArch64/AArch64InstrInfo.cpp
  lib/Target/AArch64/AArch64InstrInfo.td
  lib/Target/AArch64/AArch64InstructionSelector.cpp
  lib/Target/AArch64/AArch64Subtarget.cpp
  lib/Target/AArch64/AArch64TargetMachine.cpp
  lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
  lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp
  lib/Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp
  lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.cpp
  lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  lib/Target/ARC/ARCTargetMachine.cpp
  lib/Target/ARM/ARMFrameLowering.cpp
  lib/Target/ARM/ARMISelLowering.cpp
  lib/Target/ARM/ARMTargetMachine.cpp
  lib/Target/AVR/AVRTargetMachine.cpp
  lib/Target/BPF/BPFTargetMachine.cpp
  lib/Target/Hexagon/HexagonTargetMachine.cpp
  lib/Target/Lanai/LanaiTargetMachine.cpp
  lib/Target/MSP430/MSP430TargetMachine.cpp
  lib/Target/Mips/MipsTargetMachine.cpp
  lib/Target/NVPTX/NVPTXTargetMachine.cpp
  lib/Target/Nios2/Nios2TargetMachine.cpp
  lib/Target/PowerPC/PPCTargetMachine.cpp
  lib/Target/RISCV/RISCVTargetMachine.cpp
  lib/Target/Sparc/SparcTargetMachine.cpp
  lib/Target/SystemZ/SystemZTargetMachine.cpp
  lib/Target/X86/X86Subtarget.cpp
  lib/Target/X86/X86TargetMachine.cpp
  test/CodeGen/AArch64/GlobalISel/select-gv-cmodel-tiny.mir
  test/CodeGen/AArch64/blockaddress.ll
  test/CodeGen/AArch64/code-model-tiny-abs.ll
  test/CodeGen/AArch64/extern-weak.ll
  test/CodeGen/AArch64/fpimm.ll
  test/CodeGen/AArch64/jump-table.ll
  test/CodeGen/AArch64/literal_pools_float.ll
  test/CodeGen/AArch64/tiny_model.ll
  test/CodeGen/AArch64/tiny_supported.ll
  test/CodeGen/X86/tiny_codemodel.ll
  test/MC/AArch64/arm64-elf-relocs.s
  test/MC/AArch64/elf-reloc-pcreladdressing.s
  test/MC/AArch64/inline-asm-modifiers.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49673.157959.patch
Type: text/x-patch
Size: 62816 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180730/42aef91d/attachment-0001.bin>


More information about the llvm-commits mailing list