opnsense-src/contrib/llvm/lib/Target
Dimitry Andric 6ca8079c85 Pull in r265122 from upstream llvm trunk (by James Molloy):
Fix for pr24346: arm asm label calculation error in sub

  Some ARM instructions encode 32-bit immediates as a 8-bit integer
  (0-255) and a 4-bit rotation (0-30, even) in its least significant 12
  bits. The original fixup, FK_Data_4, patches the instruction by the
  value bit-to-bit, regardless of the encoding. For example, assuming
  the label L1 and L2 are 0x0 and 0x104 respectively, the following
  instruction:

    add r0, r0, #(L2 - L1) ; expects 0x104, i.e., 260

  would be assembled to the following, which adds 1 to r0, instead of
  260:

    e2800104 add r0, r0, #4, 2 ; equivalently 1

  The new fixup kind fixup_arm_mod_imm takes care of the encoding:

    e2800f41 add r0, r0, #260

  Patch by Ting-Yuan Huang!

This fixes label calculation for ARM assembly, and is needed to enable
ARM assembly sources for OpenSSL.

Requested by:	jkim
MFC after:	3 days
2016-08-20 14:04:51 +00:00
..
AArch64 Update llvm and clang to release_38 branch r261684. 2016-02-24 22:07:56 +00:00
AMDGPU Update llvm, clang and lldb to release_38 branch r260756. 2016-02-13 15:58:51 +00:00
ARM Pull in r265122 from upstream llvm trunk (by James Molloy): 2016-08-20 14:04:51 +00:00
AVR Update llvm, clang and lldb to trunk r257626, and update build glue. 2016-01-14 17:42:46 +00:00
BPF Update llvm to trunk r256633. 2015-12-30 13:13:10 +00:00
CppBackend Update llvm to trunk r256633. 2015-12-30 13:13:10 +00:00
Hexagon Update llvm, clang and lldb to trunk r257626, and update build glue. 2016-01-14 17:42:46 +00:00
Mips Update llvm, clang and lldb to trunk r257626, and update build glue. 2016-01-14 17:42:46 +00:00
MSP430 Update llvm to trunk r256633. 2015-12-30 13:13:10 +00:00
NVPTX Update llvm, clang and lldb to trunk r257626, and update build glue. 2016-01-14 17:42:46 +00:00
PowerPC Update llvm and clang to release_38 branch r261684. 2016-02-24 22:07:56 +00:00
Sparc Update llvm and clang to release_38 branch r261369. 2016-02-21 16:23:44 +00:00
SystemZ Update llvm, clang and lldb to release_38 branch r260756. 2016-02-13 15:58:51 +00:00
WebAssembly Update llvm, clang and lldb to trunk r257626, and update build glue. 2016-01-14 17:42:46 +00:00
X86 Pull in r262772 from upstream clang trunk (by Simon Pilgrim): 2016-08-17 21:57:11 +00:00
XCore Update llvm to trunk r256633. 2015-12-30 13:13:10 +00:00
Target.cpp Merge llvm trunk r238337 from ^/vendor/llvm/dist, resolve conflicts, and 2015-05-27 20:26:41 +00:00
TargetIntrinsicInfo.cpp Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
TargetLoweringObjectFile.cpp Update llvm to trunk r256633. 2015-12-30 13:13:10 +00:00
TargetMachine.cpp Update llvm to trunk r256633. 2015-12-30 13:13:10 +00:00
TargetMachineC.cpp Update llvm to trunk r256633. 2015-12-30 13:13:10 +00:00
TargetRecip.cpp Update llvm to trunk r256633. 2015-12-30 13:13:10 +00:00
TargetSubtargetInfo.cpp Update llvm/clang to r242221. 2015-08-12 18:31:11 +00:00