1. [ARM][MVE] Add invalidForTailPredication to TSFlags (details)
  2. Reland "[lldb][NFC] Make ApplyObjcCastHack less scary" (details)
  3. [RISCV] Define __riscv_cmodel_medlow and __riscv_cmodel_medany correctly (details)
  4. [bugpoint] Add support for -Oz and properly enable -Os. (details)
  5. [RISCV] Add option aliases: -mcmodel=medany and -mcmodel=medlow (details)
  6. [llvm-objcopy] - Remove python invocations from 2 test cases. (details)
  7. [Clang] Pragma vectorize_width() implies vectorize(enable) (details)
  8. [llvm-readobj] - Refactor the code. (details)
  9. [LoopUnroll] Use LoopSize+1 as threshold, to allow unrolling loops (details)
Commit 26a475afe5cf9acf8dfe3e6cf8ebf1343ec3b72c by sam.parker
[ARM][MVE] Add invalidForTailPredication to TSFlags
Set this bit for the MVE reduction instructions to prevent a loop from
becoming tail predicated in their presence.
Differential Revision:
llvm-svn: 372076
The file was addedllvm/unittests/Target/ARM/CMakeLists.txt
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMBaseInfo.h
The file was addedllvm/unittests/Target/ARM/MachineInstrTest.cpp
The file was modifiedllvm/lib/Target/ARM/
The file was modifiedllvm/lib/Target/ARM/
Commit 3ee98a1455cbd1ba6fcb3f74ddf137c503734a97 by Raphael Isemann
Reland "[lldb][NFC] Make ApplyObjcCastHack less scary"
First version had a typo.
llvm-svn: 372077
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
Commit 645593844164187a2de37b40e62cd790cfb48a03 by kito.cheng
[RISCV] Define __riscv_cmodel_medlow and __riscv_cmodel_medany correctly
RISC-V LLVM was only implement small/medlow code model, so it defined
__riscv_cmodel_medlow directly without check.
Now, we have medium/medany code model in RISC-V back-end, it should
define according the actually code model.
Reviewed By: lewis-revill
Differential Revision:
llvm-svn: 372078
The file was addedclang/test/Preprocessor/riscv-cmodel.c
The file was modifiedclang/lib/Basic/Targets/RISCV.cpp
Commit 5c17323dd8eeeb0d2d9c17c4ad0200c8a4e4ded7 by flo
[bugpoint] Add support for -Oz and properly enable -Os.
This patch adds -Oz as option and also properly enables support for -Os.
Currently, the existing check for -Os is dead, because the enclosing if
only checks of O1, O2 and O3.
There is still a difference between the -Oz pipeline compared to opt,
but I have not been able to track that down yet.
Reviewers: bogner, sebpop, efriedma
Reviewed By: efriedma
Differential Revision:
llvm-svn: 372079
The file was modifiedllvm/tools/bugpoint/bugpoint.cpp
Commit 42fe2fc8c9359f300413cbd0f105ff0eb9559d6f by kito.cheng
[RISCV] Add option aliases: -mcmodel=medany and -mcmodel=medlow
RISC-V GCC use -mcmodel=medany and -mcmodel=medlow, but LLVM use
-mcmodel=small and -mcmodel=medium.
Add those two option aliases for provide same user interface between GCC
and LLVM.
Reviewed By: lenary
Differential Revision:
llvm-svn: 372080
The file was modifiedclang/test/Preprocessor/riscv-cmodel.c
The file was modifiedclang/include/clang/Driver/
Commit a5dfa70806be78c5e07f14b14c758a4223935024 by grimar
[llvm-objcopy] - Remove python invocations from 2 test cases.
It is possible to use yaml2obj to create sections with overlapping
sh_offset now. This patch does that.
Differential revision:
llvm-svn: 372081
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/overlapping-sections.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/overlapping-sections-in-segments.test
Commit e573a9c03566814e925bf083c6c3c785273f80ae by sjoerd.meijer
[Clang] Pragma vectorize_width() implies vectorize(enable)
Specifying the vectorization width was supposed to implicitly enable
vectorization, except that it wasn't really doing this. It was only
setting the vectorize.width metadata, but not vectorize.enable.
This should fix PR27643.
Differential Revision:
llvm-svn: 372082
The file was modifiedclang/test/CodeGenCXX/pragma-loop-predicate.cpp
The file was modifiedclang/test/CodeGenCXX/pragma-loop.cpp
The file was modifiedclang/lib/CodeGen/CGLoopInfo.cpp
Commit 505553495c43b963512d7ae33a2aa9fe6769a15f by grimar
[llvm-readobj] - Refactor the code.
It's a straightforward refactoring that allows to simplify and
encapsulate the code.
Differential revision:
llvm-svn: 372083
The file was modifiedllvm/include/llvm/Object/ELFObjectFile.h
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
Commit 1bd58870e5bd715c7bcbd1180bd50c4f4c7663ff by flo
[LoopUnroll] Use LoopSize+1 as threshold, to allow unrolling loops
matching LoopSize.
We use `< UP.Threshold` later on, so we should use LoopSize + 1, to
allow unrolling if the result won't exceed to loop size.
Fixes PR43305.
Reviewers: efriedma, dmgreen, paquette
Reviewed By: dmgreen
Differential Revision:
llvm-svn: 372084
The file was modifiedllvm/test/Transforms/LoopUnroll/AArch64/unroll-optsize.ll
The file was addedllvm/test/Transforms/LoopUnroll/optsize-loop-size.ll
The file was modifiedllvm/lib/Transforms/Scalar/LoopUnrollPass.cpp