Tags: rust-lang/llvm-project
Tags
Merge remote-tracking branch 'upstream/release/18.x' into rustc/18.1-… …2024-05-19
Merge pull request #172 from nikic/rustc/18.0-2024-02-13 Update to LLVM 18.1.2
[AArch64] Only apply bool vector bitcast opt if result is scalar (llv… …m#81256) This optimization tries to optimize bitcasts from `<N x i1>` to iN, but currently also triggers for `<N x i1>` to `<M x iK>` bitcasts, if custom lowering has been requested for these for an unrelated reason. Fix this by explicitly checking that the result type is scalar. Fixes llvm#81216. (cherry picked from commit 92d7992)
[AArch64] Only apply bool vector bitcast opt if result is scalar (llv… …m#81256) This optimization tries to optimize bitcasts from `<N x i1>` to iN, but currently also triggers for `<N x i1>` to `<M x iK>` bitcasts, if custom lowering has been requested for these for an unrelated reason. Fix this by explicitly checking that the result type is scalar. Fixes llvm#81216. (cherry picked from commit 92d7992)
[AArch64] Only apply bool vector bitcast opt if result is scalar (llv… …m#81256) This optimization tries to optimize bitcasts from `<N x i1>` to iN, but currently also triggers for `<N x i1>` to `<M x iK>` bitcasts, if custom lowering has been requested for these for an unrelated reason. Fix this by explicitly checking that the result type is scalar. Fixes llvm#81216. (cherry picked from commit 92d7992)
[MergeFunc] Fix comparison of constant expressions Functions using different constant expressions were incorrectly merged, because a lot of state was missing from the comparison, including the opcode, the comparison predicate, the GEP element type, as well as the inbounds, inrange and nowrap poison flags. (cherry picked from commit 8b8f2ef)
[AArch64] ORRWrs is copy instruction when there's no implicit def of… … the X register (llvm#75184) Follows llvm#74682 (comment). Fixes llvm#74680. (cherry picked from commit 7649d22)
Merge remote-tracking branch 'upstream/release/17.x' into rustc/17.0-… …2023-09-19
Merge remote-tracking branch 'upstream/release/17.x' into rustc/17.0-… …2023-09-19
[MemCpyOpt] Merge alias metadatas when replacing arguments (llvm#67539) Alias metadata may no longer be valid after replacing the call argument. Fix this by merging it with the memcpy alias metadata. This fixes a miscompilation encountered in https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/Failing.20tests.20when.20rustc.20is.20compiled.20with.201.20CGU. (cherry picked from commit 4e6e476)