[X86][APX] Don't fold an NDD reload that needs a COPY into a split register (#246808)
This is an alternative solution to #237148 and #243055. If the
destination was created by splitting or spilling, just refuse the fold
rather than post handling the inserted COPY. It avoids unnecessary
spill/reload due to the COPY handling.
Assisted-by: Claude Opus 5.5
[AVR] Remove incorrect selection patterns of two pseudo instructions (#247453)
Remove the selection patterns of STDWSPQRr/STDSPQRr, which cannot guarantee the base pointer is the SP register..
Fixes https://github.com/llvm/llvm-project/issues/246837.
ports-autocomplete.cgi: use the OpenSearch suggestions content type
Send application/x-suggestions+json instead of text/javascript;
the response is JSON, not JavaScript.
ports-autocomplete.cgi: no default query
Without a query parameter the script returned suggestions for
the test query "bbbike". Return an empty list instead.
ports-autocomplete.cgi: apply Firefox workaround after sorting
The "::" and "." workaround changed the data before the prefix
sort, so queries containing "::" or "." never matched as a
prefix. Apply it to the final list instead.
ports-autocomplete.cgi: fix prefix sort for case-sensitive search
With icase=0 the data was still lowercased before the prefix
check, so queries with uppercase letters never matched as a
prefix.
[DirectX] Wire up CodeGenPassBuilder
Introduce DirectXCodeGenPassBuilder and wire up the pass pipeline to be
the same as the existing DirectXPassConfig/addPassesToEmitFile.
Assisted-By: LLM
Reviewers: hekota, bogner
Pull Request: https://github.com/llvm/llvm-project/pull/244834
[NFC][CodeGen][NewPM] Allow overriding buildPipeline
Also some refactoring around registerAsmPrinter to make targets that
want to override the entire pipeline (e.g., DirectX) easier. We can't
just do everything in buildCodeGenPipeline or otherwise we need to
reinvent all the start/stop machinery.
Assisted-By: LLM
Reviewers: arsenm, aeubanks
Pull Request: https://github.com/llvm/llvm-project/pull/244833
[Hexagon] Don't packetize a slot-0-only store with a later aliasing store (#246713)
When two stores in a packet write to the same location, the one in slot
0 takes effect last. The shuffler keeps program order by putting the
first store in slot 1, but it cannot when the first store can only go in
slot 0, such as an HVX vmem. The packetizer allowed any store followed
by a store, so the HVX store then overwrote the later store.
This miscompiles a variable-index insert element into a vector on the
stack: the vector spill and the element store land in one packet, and
the inserted element is lost.
Fixes #246036.
_AI Usage: Claude Code_
---------
Co-authored-by: soumikiith <cs21resch11004 at iith.ac.in>
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
ports-autocomplete.cgi: harden input handling
Limit the query to 64 characters, ignore the debug parameter
for web requests, and remove IFS, CDPATH, ENV and BASH_ENV from
the environment before running grep.
[Hexagon] Handle partially redefined QFP pair refills (#244193)
Add the conversion instruction for a subregister selectively if the
subregister has not been redefined.
Fixes #237218
Assisted by AI.
---------
Co-authored-by: quic-santdas <quic_santdas at qti.qualcomm.com>
[SPARC] Keep +0.0 for unsigned i32 to FP conversions on 32-bit SPARC (#247614)
The generic expansion gives -0.0 for 0 when rounding toward negative
infinity. This was fixed for 64-bit SPARC in #239907. On 32-bit SPARC,
convert the value as signed and add 2^32 if the sign bit is set, in a
similar way to how it is done by GCC.
Values known to be non-negative are converted as signed directly.
Assisted-by: Claude
www/nginx-module-sticky: Add New Port
The sticky module gives an upstream session affinity: a cookie names the
peer that served the first response, and requests bringing it back go to
the same peer.
www: https://github.com/sysadmin-labs/nginx-sticky-module
Sponsored by: Netzkommune GmbH
[clang-doc][NFC] Clean up includes and namespace use in Representation.h/cpp (#247741)
We're pretty inconsistent w/ our header hygiene and use of consistent
namespacing. Clean up the includes, and follow a style more consistent
w/ clang and llvm for namespace usage in implementation files.
[GlobalISel] Fail translation of GEPs with scalable elements (#247573)
Scalable GEPs are non-canonical (rewritten to an i8 GEP with
llvm.vscale) and should not be lowered in GISel. Now we fail IR
translation, so every target can fall back to SelectionDAG.
The AArch64-only GEP fallBackToDAGISel check from #234057 is no longer
needed. This also stops RISC-V -global-isel from aborting on the same
IR.