Changes

Summary

  1. [MLIR] Fix negative gcd in `normalizeDivisionByGCD` function. (details)
  2. [JITLink] Add anonymous symbols in LinkGraph for unnamed temporary symbols (details)
  3. Revert "[JITLink] Add anonymous symbols in LinkGraph for unnamed temporary symbols" (details)
Commit b6098c07cb2076e53b4251df9edfc0a01d75ee4c by pk5561
[MLIR] Fix negative gcd in `normalizeDivisionByGCD` function.

When the coefficients of dividend are negative, the gcd may be negative
which will change the sign of dividend and overflow denominator.

Reviewed By: Groverkss

Differential Revision: https://reviews.llvm.org/D117911
The file was modifiedmlir/unittests/Analysis/Presburger/IntegerPolyhedronTest.cpp
The file was modifiedmlir/lib/Analysis/Presburger/Utils.cpp
Commit de872382951572b70dfaefe8d77eb98d15586115 by luxufan
[JITLink] Add anonymous symbols in LinkGraph for unnamed temporary symbols

In RISCV, temporary symbols will be used to generate dwarf, eh_frame sections..., and will be placed in object code's symbol table. However, LLVM does not use names on these temporary symbols. This patch add anonymous symbols in LinkGraph for these temporary symbols.

Reviewed By: lhames

Differential Revision: https://reviews.llvm.org/D116475
The file was modifiedllvm/lib/ExecutionEngine/JITLink/ELF_riscv.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/JITLink/riscv.h
The file was addedllvm/test/ExecutionEngine/JITLink/RISCV/anonymous_symbol.s
The file was modifiedllvm/lib/ExecutionEngine/JITLink/riscv.cpp
The file was modifiedllvm/lib/ExecutionEngine/JITLink/ELFLinkGraphBuilder.h
Commit fdb6578514dd3799ad23c8bbb7699577c0fb414d by luxufan
Revert "[JITLink] Add anonymous symbols in LinkGraph for unnamed temporary symbols"

This reverts commit de872382951572b70dfaefe8d77eb98d15586115.

Buildbot check error
The file was modifiedllvm/include/llvm/ExecutionEngine/JITLink/riscv.h
The file was modifiedllvm/lib/ExecutionEngine/JITLink/ELFLinkGraphBuilder.h
The file was modifiedllvm/lib/ExecutionEngine/JITLink/ELF_riscv.cpp
The file was modifiedllvm/lib/ExecutionEngine/JITLink/riscv.cpp
The file was removedllvm/test/ExecutionEngine/JITLink/RISCV/anonymous_symbol.s