SuccessChanges

Summary

  1. [lld][WebAssembly] Convert lld/test/wasm/data-layout.ll to asm. NFC. (details)
  2. [lld][WebAssembly] Minor refactor in preparation for SHF_STRINGS supports. NFC. (details)
  3. Fix memleak for 5de2d189e6ad4 (details)
  4. [libunwind] This adds support in libunwind for rv32 hard float (details)
  5. [ARM] support symbolic expressions as branch target in b.w (details)
  6. [PowerPC] Use modulo arithmetic for vec_extract in altivec.h (details)
Commit 74ca5c2c1e0214f82b1c19e0c9f8f30fa59ffbf3 by sbc
[lld][WebAssembly] Convert lld/test/wasm/data-layout.ll to asm. NFC.

Part of ongoing conversion work started in https://reviews.llvm.org/D80361.

Differential Revision: https://reviews.llvm.org/D97651
The file was addedlld/test/wasm/data-layout.s
The file was removedlld/test/wasm/data-layout.ll
Commit 7d09e1d7cf27ce781e83f9d388a7a3e1e6487ead by sbc
[lld][WebAssembly] Minor refactor in preparation for SHF_STRINGS supports. NFC.

A couple of small changes to match the ELF linker in preparation
for adding support string mergings.

Differential Revision: https://reviews.llvm.org/D97654
The file was modifiedlld/wasm/InputChunks.h (diff)
The file was modifiedlld/wasm/Writer.cpp (diff)
The file was modifiedlld/wasm/OutputSegment.h (diff)
Commit 103928252e2fa178783059a3bec8b92af55ffaf4 by Yuanfang Chen
Fix memleak for 5de2d189e6ad4

Fix typo `release` -> `reset`
The file was modifiedllvm/lib/MC/MCContext.cpp (diff)
Commit b17d46430fce665d23661e23ade3ca57c3791836 by kamleshbhalui
[libunwind] This adds support in libunwind for rv32 hard float
            and soft-float for both rv32 and rv64.

Differential Revision: https://reviews.llvm.org/D80690
The file was modifiedlibunwind/src/libunwind.cpp (diff)
The file was modifiedlibunwind/src/UnwindRegistersSave.S (diff)
The file was modifiedlibunwind/src/Registers.hpp (diff)
The file was modifiedlibunwind/src/UnwindRegistersRestore.S (diff)
The file was modifiedlibunwind/src/assembly.h (diff)
The file was modifiedlibunwind/include/__libunwind_config.h (diff)
Commit c35105055ee4565ee6726d5b155538dd5c0307d3 by jiancai
[ARM] support symbolic expressions as branch target in b.w

Currently ARM backend validates the range of branch targets before the
layout of fragments is finalized. This causes build failure if symbolic
expressions are used, with the exception of a single symbolic value.
For example, "b.w ." works but "b.w . + 2" currently fails to
assemble. This fixes the issue by delaying this check (in
ARMAsmParser::validateInstruction) of b.w instructions until the symbol
expressions are resolved (in ARMAsmBackend::adjustFixupValue).

Link:
https://github.com/ClangBuiltLinux/linux/issues/1286

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D97568
The file was modifiedllvm/test/MC/ARM/thumb2-branch-ranges.s (diff)
The file was modifiedllvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp (diff)
The file was addedllvm/test/MC/ARM/thumb2-b.w-target.s
Commit 38a34e207f30747a4b0288d97ce67e422bf5f363 by nemanja.i.ibm
[PowerPC] Use modulo arithmetic for vec_extract in altivec.h

These interfaces are not covered in the ELFv2 ABI but are rather
implemented to emulate those available in GCC/XLC. However, the
ones in the other compilers are documented to perform modulo
arithmetic on the element number. This patch just brings clang
inline with the other compilers at -O0 (with optimization, clang
already does the right thing).
The file was modifiedclang/lib/Headers/altivec.h (diff)