SuccessChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. [Driver] Render -T for Gnu.cpp (details)
  2. [AVR]  Fix I/O instructions on XMEGA (details)
  3. [LLVM][AVR] Support for R_AVR_6 fixup (details)
Commit 3841ed4104ac32eae7305d07e4558ea607fa69f3 by maskray
[Driver] Render -T for Gnu.cpp

clang -T a.lds a.c currently does not render -T.
The file was modifiedclang/lib/Driver/ToolChains/Gnu.cpp
The file was modifiedclang/test/Driver/Xlinker-args.c
Commit 1420f4efbe7ca34355b2dd85d396197d92cd5e3f by me
[AVR]  Fix I/O instructions on XMEGA

Summary:
On XMEGA, I/O address space is same as data address space - there is no 0x20 offset,
because CPU General Purpose Registers are not mapped in data address space.

From https://en.wikipedia.org/wiki/AVR_microcontrollers
> In the XMEGA variant, the working register file is not mapped into the data address space; as such, it is not possible to treat any of the XMEGA's working registers as though they were SRAM. Instead, the I/O registers are mapped into the data address space starting at the very beginning of the address space.

Reviewers: dylanmckay

Reviewed By: dylanmckay

Subscribers: hiraditya, Jim, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D77207

Patch by Vlastimil Labsky.
The file was modifiedllvm/lib/Target/AVR/AVRInstrInfo.td
The file was modifiedllvm/lib/Target/AVR/AVRDevices.td
The file was modifiedllvm/lib/Target/AVR/AVRSubtarget.cpp
The file was modifiedllvm/lib/Target/AVR/AVRSubtarget.h
The file was addedllvm/test/CodeGen/AVR/features/xmega_io.ll
Commit 1335737ee119b59bc25ee6d1bb200cf3b975e196 by me
[LLVM][AVR] Support for R_AVR_6 fixup

Summary: Handle the emission of `R_AVR_6` ELF relocation type.

Reviewers: dylanmckay

Reviewed By: dylanmckay

Subscribers: hiraditya, Jim, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D78721

Patch by @LemonBoy https://reviews.llvm.org/p/LemonBoy/
The file was modifiedllvm/test/MC/AVR/relocations.s
The file was modifiedllvm/lib/Target/AVR/MCTargetDesc/AVRAsmBackend.cpp