Skip to content

Commit

Permalink
[AVR] Update the rust-lang/llvm-project submodule to include AVR fixe…
Browse files Browse the repository at this point in the history
…s recently merged

This commit updates rustc's LLVM submodule to include new AVR-specific
fixes recently merged on the Rust LLVM 'rustc/10.0-2020-05-05' branch.

All of these cherry-picked commits exist in upstream LLVM and were
cherry-picked into Rust's LLVM fork in commit 6c040dd86ed.

  |- 6c040dd86ed Merge pull request rust-lang#66 from dylanmckay/avr-pick-upstream-llvm-fixes
    |- 12dfdd3aed7 [AVR] Rewrite the function calling convention.
    |- 118ac53f12b [AVR] Don't adjust for instruction size
    |- bc27c282e13 [AVR] Fix miscompilation of zext + add
    |- cfbe205a7e8 [AVR] Remove faulty stack pushing behavior
    |- 143e1469e96 [AVR] Fix stack size in functions with a frame pointer
    |- 6b2445d841e [LLVM][AVR] Support for R_AVR_6 fixup
    |- 93ee4da19cf [AVR]  Fix I/O instructions on XMEGA
    |- 962c2415ffb [AVR] Do not place functions in .progmem.data
    |- 65b8b170aef [AVR] Do not use divmod calls for bigger integers
    |- 93a3b595d1c [AVR] Generalize the previous interrupt bugfix to signal
    |- handlers too
    |- cc4286349b4 [AVR] Respect the 'interrupt' function attribute
    |- 954d0a92205 [AVR] Fix reads of uninitialized variables from constructor of AVRSubtarget
    |- 1c0ddae73c9 [AVR] Fix read of uninitialized variable AVRSubtarget:::ELFArch
    |- 0ed0823fe60 [AVR] Fix incorrect register state for LDRdPtr
    |- 96075fc433d [AVR] Don't adjust addresses by 2 for absolute values
    |- 6dfc55ba53b [AVR] Use correct register class for mul instructions

These changes include both correctness fixes and LLVM assertion error
fixes. Once all of these commits have been cherry-picked, all of the
LLVM plumbing for rust-lang/master to compile the AVR blink program will
be in place. Once this commit is merged, only PR rust-lang#73270 will
be blocking successful compilation and emission of the AVR LED blink program.
  • Loading branch information
dylanmckay committed Jun 23, 2020
1 parent 1557fb0 commit 50f20ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/llvm-project
Submodule llvm-project updated 36 files
+1 −17 llvm/lib/Target/AVR/AVRCallingConv.td
+13 −5 llvm/lib/Target/AVR/AVRDevices.td
+2 −2 llvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp
+38 −59 llvm/lib/Target/AVR/AVRFrameLowering.cpp
+167 −216 llvm/lib/Target/AVR/AVRISelLowering.cpp
+2 −4 llvm/lib/Target/AVR/AVRISelLowering.h
+1 −1 llvm/lib/Target/AVR/AVRInstrInfo.cpp
+17 −14 llvm/lib/Target/AVR/AVRInstrInfo.td
+19 −1 llvm/lib/Target/AVR/AVRMachineFunctionInfo.h
+8 −5 llvm/lib/Target/AVR/AVRRegisterInfo.cpp
+26 −0 llvm/lib/Target/AVR/AVRRegisterInfo.td
+7 −4 llvm/lib/Target/AVR/AVRSubtarget.cpp
+12 −7 llvm/lib/Target/AVR/AVRSubtarget.h
+1 −1 llvm/lib/Target/AVR/AVRTargetObjectFile.cpp
+15 −13 llvm/lib/Target/AVR/MCTargetDesc/AVRAsmBackend.cpp
+1 −1 llvm/test/CodeGen/AVR/PR37143.ll
+45 −0 llvm/test/CodeGen/AVR/add.ll
+1 −1 llvm/test/CodeGen/AVR/brind.ll
+18 −18 llvm/test/CodeGen/AVR/call.ll
+84 −0 llvm/test/CodeGen/AVR/calling-conv/c/basic_aggr.ll
+89 −0 llvm/test/CodeGen/AVR/calling-conv/c/call.ll
+48 −0 llvm/test/CodeGen/AVR/calling-conv/c/call_aggr.ll
+31 −0 llvm/test/CodeGen/AVR/calling-conv/c/return_aggr.ll
+4 −4 llvm/test/CodeGen/AVR/calling-conv/c/stack.ll
+4 −20 llvm/test/CodeGen/AVR/div.ll
+21 −3 llvm/test/CodeGen/AVR/dynalloca.ll
+48 −0 llvm/test/CodeGen/AVR/features/xmega_io.ll
+35 −0 llvm/test/CodeGen/AVR/interrupts.ll
+1,045 −0 llvm/test/CodeGen/AVR/jmp-long.ll
+1 −1 llvm/test/CodeGen/AVR/load.ll
+1 −1 llvm/test/CodeGen/AVR/pseudo/LDWRdPtr.mir
+12 −12 llvm/test/CodeGen/AVR/return.ll
+31 −0 llvm/test/CodeGen/AVR/sections.ll
+9 −9 llvm/test/CodeGen/AVR/varargs.ll
+8 −0 llvm/test/MC/AVR/relocations-abs.s
+3 −0 llvm/test/MC/AVR/relocations.s

0 comments on commit 50f20ec

Please sign in to comment.