[flang][OpenMP] Remove OmpEndLoopDirective from PFT (#193602)
It's no longer necessary. An end-directive for a loop construct used to
be a separate construct, but now it only exists as a member in
OpenMPLoopConstruct.
[NFC][LLVM] Simplify IIT encoding for scalable vectors (#191737)
Currently, scalable vectors are represented as an `IIT_SCALABLE_VEC`
token in the IIT info table, followed by a IIT encoding for the vector.
This requires remembering the last token seen when decoding the IIT
table and passing that into the recursive call to decode the vector.
Instead, change the representation to use:
```
IIT_V<Size>, IIT_SCALABLE_VEC (optional), Element Type
```
This allows decoding the scalable vector type without having to pass the
last token seen in `DecodeIITType` calls.
[lldb-server] Implement support for MultiBreakpoint packet
This is fairly straightforward, thanks to the helper functions created
in the previous commit.
https://github.com/llvm/llvm-project/pull/192910
[lldb-server][NFC] Factor out code handling breakpoint packets
This commit extracts the code handling breakpoint packets into a helper
function that can be used by a future implementation of the
MultiBreakpointPacket.
It is meant to be purely NFC.
There are two functions handling breakpoint packets (`handle_Z`
and `handle_z`) with a lot of repeated code. This commit did not attempt
to merge the two, as that would make the diff much larger due to subtle
differences in the error message produced by the two. The only
deduplication done is in the code processing a GDBStoppointType, where a
helper struct (`BreakpointKind`) and function (`std::optional<BreakpointKind> getBreakpointKind(GDBStoppointType stoppoint_type)`) was created.
https://github.com/llvm/llvm-project/pull/192910
[NFC][SPIR-V] Add urem, srem, and snegate tests for integer arithmetic (#193170)
Add test coverage for OpUMod, OpSRem, and OpISub (negate) for both
scalar and vector integer arithmetic
[lldb-dap] Make Breakpoint ids unique. (#193526)
In normal lldb you can have a breakpoint and watchpoint with the same
id. This is not the case in DAP protocol as Breakpoint id is unique for
each session.
So we end up waiting for the wrong breakpoint id that never gets hit.
Fix orc riscv64-specific code paths
orc previously failed to build because of inconsistent #ifdefs that
exposed Linux-only calls. While here hook up call to
(__builtin)__clear_cache and correct default assumptions (the 'V'
extension can't be assumed, on any OS).
Prompted by a report from matthieu@, maintainer timeout, ok sthen@
[LV][NFC] Remove more unnecessary passes from RUN lines (#193686)
Some instances of instsimplify and simplifycfg made no difference to the
actual IR so I've removed them.
[NFC][AArch64] Regenerate ldst-opt.ll checks to use update_llc_test_checks (#193712)
Updated test-names to test_names to allow use of update_llc_test_checks
script
Hit this as it was proving impossible to keep up to date while working
on topological dag regressions
cc80: Adjust cc_tools/libcpp to get rid of Makefile.intcxx_lib
The Makefile.intcxx_lib was a hack to build .c files with a C++
compiler and was only used by cc_tools/libcpp. Adjust the latter's
Makefile to use <bsd.hostlib.mk> by overriding MKDEPCC/CC/CFLAGS. As a
result, Makefile.intcxx_lib is removed.
[AArch64][GlobalISel] Do not run the Localizer at -O0 (#177359)
We have reports of this pass causing some severe compile time
regressions, in the order of ~30x. It should not be necessary at -O0 so
this patch disables it from the pass pipeline.