[CIR] Support zero/one result trivial operation lower via tablegen (#203183)
### summary
Lower zero result operation have been supported in this PR:
https://github.com/llvm/llvm-project/pull/202273
In this PR, the lowering of operations with zero-result and one-result
is changed to be automatically lowered via TableGen. This helps reduce
the size of the file
`clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp`
#### test
I thought existing lower tests can cover this PR, so I didn't add more
tests.
Assisted-by: Claude Opus 4.8
[Fuzzer] Make two tests compatible with the internal shell. (#203448)
1. Remove redundant parntheses that broke the internal shell's parsing
logic.
2. Use env when specifying environment variables.
3. Rewrite a bash one-line loop in python.
Inline stack probes immediately after `allocateStack` in `eliminateCallFramePseudoInstr` (#195456)
[ Upstream commit 589faedadf141e5e63f7a1e92a0327fc9bdc9b09 ]
Revert `bltu` in probing loops to `blt` because commit
f162be248636046a20e71209e139347e084b637a isn't applied on release/22.x
yet.
Link: https://github.com/llvm/llvm-project/pull/192485 ("[RISCV] Use
unsigned comparison for stack clash probing loop")
---
This PR adds a call to `inlineStackProbe` immediately after
`allocateStack` in `eliminateCallFramePseudoInstr`. This allows code
generation for stack probe pseudoinstructions in non-entry BBs.
Fixes #195454.
AMDGPU/Tests: Remove redundant explicit data layouts from AMDGPU tests
These all look like either cargo culting of outdated requirements or
test cases that were not fully reduced. Since the data layout evolves
over time with new address spaces being added, it seems good practice to
avoid hard-coding it in tests that don't need it.
commit-id:1f845f5e
clang-format/test: Anchor the empty .clang-format-ignore to test_exec_root
The test suite's lit.local.cfg creates an empty .clang-format-ignore at
config discovery time to protect the multiple-inputs[-inplace].cpp tests
that work on files in temporary locations.
This file should be written to where the tests execute instead of the
CWD during config discovery. The CWD might not even be an ancestor of
where the tests execute, and it might be the repository root which does
have a .clang-format-ignore that is incorrectly clobbered without this
change.
An alternative would be to just fix the tests that need to be protected,
but having a blanket guard like this does seem like a reasonable thing
to do.
Fixes: 915de1a5889c ("Generate empty .clang-format-ignore before running tests (#136154)")
commit-id:fe858dac
[PassBuilder] Table-drive pass name printing (#202656)
Replace the macro-expanded raw_ostream operations in
PassBuilder::printPassNames with static pass-name arrays and two shared
noinline printing loops. Preserve the generated category order and the
exact spelling of parameterized pass names.
The change only executes when a client requests the pass-name listing;
normal pipeline parsing and optimization do not access the new tables or
helpers.
A stripped opt binary shrinks from 115,493,720 to 115,394,640 bytes,
saving 99,080 bytes. The linked __TEXT section shrinks by 98,304 bytes.
Work towards #202616
AI tool disclosure: Co-authored with OpenAI Codex.
[Clang][RISCV] packed comparison intrinsics (#203191)
Add header wrappers for pmseq/pmsne/pmslt[u]/pmsgt[u]/pmsge[u]/pmsle[u]
as element-wise vector comparisons cast to the unsigned result type.
[clang][Darwin] Disable ObjC class selector stubs when using LLD (#203388)
LLD does not support ObjC class selector stubs yet (which requires
synthesizing `objc_msgSendClass$...` stubs). This change disables
`-fobjc-msgsend-class-selector-stubs` by default when the linker is LLD.
Ref: https://github.com/llvm/llvm-project/issues/203385
Update in preparation for 15.1-RELEASE
- Bump BRANCH to RELEASE
- Add the anticipated RELEASE announcement date
- Set a static __FreeBSD_version
Approved by: re (implicit)
Sponsored by: OpenSats Initiative
vt: Do not lock request comming from terminal
only those originated by mouse. Because the terminal surrounds
requests to vt(4) with locking.
Reported by: bz, adrian
Reviewed by: adrian, glebius
Approved by: glebius (mentor)
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D57442