Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoBump] Merge with 51365212 (Aug 25) (10) #363

Open
wants to merge 427 commits into
base: bump_to_b96f18b2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
427 commits
Select commit Hold shift + click to select a range
5506831
[AMDGPU] GFX12 VMEM loads can write VGPR results out of order (#105549)
jayfoad Aug 22, 2024
5bbd598
[cmake] Include GNUInstallDirs before using variables defined by it. …
vgvassilev Aug 22, 2024
743e70b
[DebugInfo][NFC] Constify debug DbgVariableRecord::{isDbgValue,isDbgD…
enferex Aug 22, 2024
7323e7e
Revert "[lldb][swig] Use the correct variable in the return statement"
gribozavr Aug 22, 2024
aa70f83
Revert "[lldb-dap] Mark hidden frames as "subtle" (#105457)"
gribozavr Aug 22, 2024
547917a
Revert "[lldb] Extend frame recognizers to hide frames from backtrace…
gribozavr Aug 22, 2024
125aa10
[clang][bytecode] Fix void unary * operators (#105640)
tbaederr Aug 22, 2024
6932f47
[NFC][VPlan] Correct two typos in comments.
paulwalker-arm Aug 22, 2024
d7da79f
[NFC][SetTheory] Refactor to use const pointers and range loops (#105…
jurahul Aug 22, 2024
c73b14c
[libc++] Fix the documentation build
ldionne Aug 22, 2024
6d30b67
[libc++] Add link to the Github conformance table from the documentation
ldionne Aug 22, 2024
a964635
[mlir][OpenMP] Add optional alloc region to reduction decl (#102522)
tblah Aug 22, 2024
2efc81a
[mlir][OpenMP] Convert reduction alloc region to LLVMIR (#102524)
tblah Aug 22, 2024
f2027a9
[flang][OpenMP] use reduction alloc region (#102525)
tblah Aug 22, 2024
d163935
[InstCombine] Fold `scmp(x -nsw y, 0)` to `scmp(x, y)` (#105583)
Poseydon42 Aug 22, 2024
c82f797
[Clang][Sema] Rebuild template parameters for out-of-line template de…
sdkrystian Aug 22, 2024
db94852
[clang][bytecode] Allow adding offsets to function pointers (#105641)
tbaederr Aug 22, 2024
7e3f9dd
[InstCombine] Add more tests for foldLogOpOfMaskedICmps transform (NFC)
nikic Aug 22, 2024
dd3b43a
[mlir][OpenMP][NFC] clean up optional reduction region parsing (#105644)
tblah Aug 22, 2024
318b067
[mlir][LLVM] Add support for constant struct with multiple fields (#1…
Lancern Aug 22, 2024
d46812a
[Analysis] Teach ScalarEvolution::getRangeRef about more dereferencea…
david-arm Aug 22, 2024
327edbe
[PowerPC] Fix mask for __st[d/w/h/b]cx builtins (#104453)
syzaara Aug 22, 2024
11e1378
[LLVM][CodeGen][SVE] Increase vector.insert test coverage.
paulwalker-arm Aug 21, 2024
c8f40e7
[InstCombine] Add more test variants with poison elements (NFC)
nikic Aug 22, 2024
32679e1
[InstCombine] Handle logical op for and/or of icmp 0/-1
nikic Aug 22, 2024
41dcdfb
[libc++][docs] Major update to the documentation
ldionne Aug 22, 2024
00baa1a
[DAG][RISCV] Use vp_reduce_* when widening illegal types for reductio…
preames Aug 22, 2024
26a8a85
[RISCV] Introduce local peephole to reduce VLs based on demanded VL (…
preames Aug 22, 2024
29cb1e6
[AArch64] optimise SVE cmp intrinsics with no active lanes (#104779)
Lukacma Aug 22, 2024
58ac764
[libc++] Post-LLVM19-release docs cleanup (#99667)
H-G-Hristov Aug 22, 2024
4d85285
[SimplifyCFG] Fold switch over ucmp/scmp to icmp and br (#105636)
nikic Aug 22, 2024
9402bb0
[SLP]Do not count extractelement costs in unreachable/landing pad blo…
alexey-bataev Aug 22, 2024
ec5e585
[NFC] Replace bool <= bool comparison (#102948)
MitalAshok Aug 22, 2024
c4c5fdd
[AMDGPU] Generate checks for vector indexing. NFC. (#105668)
jayfoad Aug 22, 2024
8ba2ae3
[RISCV][GISel] Implement canLowerReturn. (#105465)
topperc Aug 22, 2024
e76db25
[DwarfEhPrepare] Assign dummy debug location for more inserted _Unwin…
sunfishcode Aug 22, 2024
69332bb
[SLP]Improve/fix subvectors in gather/buildvector nodes handling
alexey-bataev Aug 22, 2024
3c54aa1
[Verifier] Make lrint and lround intrinsic cases concise. NFC (#105676)
sgundapa Aug 22, 2024
9f41805
[lldb] Pick the correct architecutre when target and core file disagr…
JDevlieghere Aug 22, 2024
fe5d1f9
[ARM] Fix missing ELF FPU attributes for fp-armv8-fullfp16-d16 (#105…
rgwott Aug 22, 2024
b21756f
[lldb][test] Add a unit-test for importRecordLayoutFromOrigin
Michael137 Aug 22, 2024
8ab6140
[AArch64] Lower aarch64_neon_saddlv via SADDLV nodes. (#103307)
davemgreen Aug 22, 2024
24740ec
[X86] Add BSR/BSF tests to check for implicit zero extension
RKSimon Aug 22, 2024
8c6f8c2
Reland "[asan] Remove debug tracing from `report_globals` (#104404)" …
vitalybuka Aug 22, 2024
a625435
[Vectorize] Fix warnings
kazutakahirata Aug 22, 2024
0bd90ec
[AArch64] Fix a warning
kazutakahirata Aug 22, 2024
46707b0
[AArch64,ELF] Allow implicit $d/$x at section beginning
MaskRay Aug 22, 2024
2012b25
[AMDGPU][GlobalISel] Disable fixed-point iteration in all Combiners (…
jayfoad Aug 22, 2024
0926255
[lldb] Fix typos in ScriptedInterface.h
DavidSpickett Aug 22, 2024
83fc989
[CodeGen] Construct SmallVector with iterator ranges (NFC) (#105622)
kazutakahirata Aug 22, 2024
eb549da
[Driver] Add -Wa, options -mmapsyms={default,implicit}
MaskRay Aug 22, 2024
6ec4c9c
[MCA][X86] Add scatter instruction test coverage for #105675
RKSimon Aug 22, 2024
933f722
[bindings][ocaml] Add missing AtomicRMW operations (#105673)
anjenner Aug 22, 2024
27727d8
[C23] Remove WG14 N2517 from the status page
AaronBallman Aug 22, 2024
7d373ce
[WebAssembly] Change half-precision feature name to fp16. (#105434)
brendandahl Aug 22, 2024
bc860b4
[NFC] [SCCP] remove unused functions (#105603)
fmayer Aug 22, 2024
b9c4c4c
[clang][bytecode] Fix 'if consteval' in non-constant contexts (#104707)
tbaederr Aug 22, 2024
4a2a1b5
[libc++] Adjust armv7 XFAIL target triple for the setfill_wchar_max t…
vvereschaka Aug 22, 2024
c1e401f
[lldb] Change the two remaining SInt64 settings in Target to uint (#1…
jasonmolenda Aug 22, 2024
6b11573
Recommit "[FunctionAttrs] deduce attr `cold` on functions if all CG p…
goldsteinn Aug 21, 2024
b2cd81c
[IR] Simplify comparisons with std::optional (NFC) (#105624)
kazutakahirata Aug 22, 2024
7faf2c9
[MCA][X86] Add scatter instruction test coverage for #105675
RKSimon Aug 22, 2024
2c1f064
[MCA][X86] Add missing 512-bit vpscatterqd/vscatterqps schedule data
RKSimon Aug 22, 2024
c5a0c37
[Xtensa,test] Fix div.ll after #99981
MaskRay Aug 22, 2024
1fa6c99
[VPlan] Move EVL memory recipes to VPlanRecipes.cpp (NFC)
fhahn Aug 22, 2024
e31322b
[libc++] Fix transform_error.mandates.verify.cpp test on msvc (#104635)
zeroomega Aug 22, 2024
8f005f8
[libc] Add `ctype.h` locale variants (#102711)
jhuber6 Aug 22, 2024
2f4232d
Revert " [libc] Add `ctype.h` locale variants (#102711)"
jhuber6 Aug 22, 2024
78d8ab2
[libc] Initial support for 'locale.h' in the LLVM libc (#102689)
jhuber6 Aug 22, 2024
f3a47b9
[NFC] [Docs] add missing space
fmayer Aug 22, 2024
518b1f0
[libc] Fix leftover thread local
jhuber6 Aug 22, 2024
319c7a4
[HLSL][SPIRV]Add SPIRV generation for HLSL dot (#104656)
pow2clk Aug 22, 2024
e5140ae
Fix dap stacktrace perf issue (#104874)
jeffreytan81 Aug 22, 2024
7bcf4d6
[AMDGPU] Correctly insert s_nops for dst forwarding hazard (#100276)
jrbyrnes Aug 22, 2024
a7c8f41
[NFC] [MLIR] [OpenMP] Fixing typo of clause. (#105712)
raghavendhra Aug 22, 2024
856dadb
[libc] Add `ctype.h` locale variants (#102711)
jhuber6 Aug 22, 2024
c2a96a2
[libc] Fix locale structs with old headergen
jhuber6 Aug 22, 2024
e738c81
Revert "[MCA][X86] Add missing 512-bit vpscatterqd/vscatterqps schedu…
cjappl Aug 22, 2024
3082a38
[LTO] Introduce helper functions to add GUIDs to ImportList (NFC) (#1…
kazutakahirata Aug 22, 2024
ee08d9c
AMDGPU: Remove global/flat atomic fadd intrinics (#97051)
arsenm Aug 22, 2024
e454d31
[VPlan] Factor out precomputing costs from LVP::cost (NFC).
fhahn Aug 22, 2024
a2d8743
[LLD][COFF] Generate X64 thunks for ARM64EC entry points and patchabl…
cjacek Aug 22, 2024
cb4efe1
[VPlan] Don't trigger VF assertion if VPlan has extra simplifications.
fhahn Aug 22, 2024
768dba7
[VPlan] Fix typo in cb4efe1d.
fhahn Aug 22, 2024
172c4a4
[libunwind] Stop installing the mach-o module map (#105616)
ian-twilightcoder Aug 22, 2024
d010ec6
[clang][rtsan] Introduce realtime sanitizer codegen and driver (#102622)
cjappl Aug 22, 2024
8b5f606
[Clang] [Parser] Improve diagnostic for `friend concept` (#105121)
Sirraide Aug 22, 2024
42d06b8
[compiler-rt][test] Change tests to remove the use of `unset` command…
Harini0924 Aug 22, 2024
d7fc779
[mlir][SCF]-Fix loop coalescing with iteration arguements (#105488)
amirBish Aug 22, 2024
911e246
[NFC][ADT] Add reverse iterators and `value_type` to StringRef (#105579)
jurahul Aug 22, 2024
a1e9b7e
Revert "[clang][rtsan] Introduce realtime sanitizer codegen and drive…
cjappl Aug 22, 2024
4e6ff75
[Vectorize] Fix a warning
kazutakahirata Aug 22, 2024
ca48b01
[LTO] Use a helper function to add a definition (NFC) (#105721)
kazutakahirata Aug 22, 2024
424b87b
[RISCV][TTI] Use legalized element types when costing casts (#105723)
preames Aug 22, 2024
0d21c2b
[SandboxIR] Implement CatchReturnInst (#105605)
vporpo Aug 22, 2024
1df1504
Revert "[clang] Merge lifetimebound and GSL code paths for lifetime a…
vitalybuka Aug 22, 2024
ecfceb8
[clang][NFC] order C++ standards in reverse in release notes (#104866)
h-vetinari Aug 22, 2024
25d976b
[ScalarizeMaskedMemIntr] Don't use a scalar mask on GPUs (#104842)
krzysz00 Aug 23, 2024
08e5a1d
[llvm][NVPTX] Fix quadratic runtime in ProxyRegErasure (#105730)
Mogball Aug 23, 2024
be8ee09
[bazel] Move lldb-dap cc_binary to lldb/BUILD.bazel (#105733)
keith Aug 23, 2024
f06563a
[mlir][tensor] Add consumer fusion for `tensor.pack` op. (#103715)
Yun-Fly Aug 23, 2024
381405f
[NFC][TableGen] Emit more readable builtin string table (#105445)
jurahul Aug 23, 2024
987ffc3
[AMDGPU] Refactor code for GETPC bundle updates in hazards (NFCI)
perlfu Aug 23, 2024
714033a
[clang-format] Don't insert a space between :: and * (#105043)
owenca Aug 23, 2024
1519451
Revert "[Vectorize] Fix warnings" (#105771)
vitalybuka Aug 23, 2024
62da359
[SPIRV] Emitting DebugSource, DebugCompileUnit (#97558)
bwlodarcz Aug 23, 2024
e15abb7
[ORC] Add an identifier-override argument to loadRelocatableObject an…
lhames Aug 23, 2024
351f4a5
Reland "[Vectorize] Fix warnings"" (#105772)
vitalybuka Aug 23, 2024
fdaaa87
[Scalar] Remove an unused variable (#105767)
kazutakahirata Aug 23, 2024
7c3237d
[clang-format] Change BinPackParameters to enum and add AlwaysOnePerL…
VolatileAcorn Aug 23, 2024
3563907
[LTO] Turn ImportMapTy into a proper class (NFC) (#105748)
kazutakahirata Aug 23, 2024
96b3166
Revert "[SLP]Improve/fix subvectors in gather/buildvector nodes handl…
vitalybuka Aug 23, 2024
84aa02d
[memref] Handle edge case in subview of full static size fold (#105635)
MacDue Aug 23, 2024
59721f2
[MIPS] Optimize sortRelocs for o32
MaskRay Aug 23, 2024
a69ba0a
[clang][bytecode][NFC] Get rid of const_casts in Move fns (#105698)
tbaederr Aug 23, 2024
e5f196e
[NFCI] [C++20] [Modules] Relax the case for duplicated declaration in…
ChuanqiXu9 Aug 23, 2024
39986f0
[NFCI] [Serialization] Use demoteThisDefinitionToDeclaration instead …
ChuanqiXu9 Aug 23, 2024
85b6aac
[ConstraintElim] Fix miscompilation caused by PR97974 (#105790)
dtcxzyw Aug 23, 2024
28133d9
[AArch64] Add Add/Sub/Mul test coverage for GISel. NFC
davemgreen Aug 22, 2024
f53bfa3
[AArch64] Add And/Or/XOr test coverage for GISel. NFC
davemgreen Aug 23, 2024
b02b5b7
[AMDGPU] Simplify use of hasMovrel and hasVGPRIndexMode (#105680)
jayfoad Aug 23, 2024
96509bb
[Matrix] Preserve signedness when extending matrix index expression. …
fhahn Aug 23, 2024
fa2dccb
[AMDGPU] Remove one case of vmcnt loop header flushing for GFX12 (#10…
jayfoad Aug 23, 2024
cf6cd1f
[MCA][X86] Add missing 512-bit vpscatterqd/vscatterqps schedule data …
RKSimon Aug 23, 2024
3cca522
[C++20] [Modules] Warn for duplicated decls in mutliple module units …
ChuanqiXu9 Aug 23, 2024
c8ba317
[AMDGPU] Remove comment outdated by #96933
jayfoad Aug 23, 2024
646478f
[AArch64] Scalarize i128 add/sub/mul/and/or/xor vectors
davemgreen Aug 23, 2024
38b8e54
[clang][bytecode][NFC] Remove containsErrors() check from delegate (#…
tbaederr Aug 23, 2024
7b4b85b
[clang][bytecode] Reject void InitListExpr differently (#105802)
tbaederr Aug 23, 2024
4a12722
[ORC] Expose a non-destructive check-macho-buffer overload.
lhames Aug 23, 2024
cbf34a5
[AMDGPU] Remove dead pass: AMDGPUMachineCFGStructurizer (#105645)
jmmartinez Aug 23, 2024
2b4b909
[AMDGPU] Remove unused amdgpu-disable-structurizer flag (#105800)
jmmartinez Aug 23, 2024
2f144ac
[clang][bytecode][NFC] Remove containsErrors check from visitInitiali…
tbaederr Aug 23, 2024
2051a7b
[flang][NFC] turn fir.call is_bind_c into enum for procedure flags (#…
jeanPerier Aug 23, 2024
04ab647
[NFC][TableGen] Refactor StringToOffsetTable (#105655)
jurahul Aug 23, 2024
1e3dc8c
[Serialization] Fix a warning
kazutakahirata Aug 23, 2024
0d1d95e
[Transforms] Use a range-based for loop (NFC) (#105769)
kazutakahirata Aug 23, 2024
5def27c
[AMDGPU] Remove "amdgpu-enable-structurizer-workarounds" flag (#105819)
jmmartinez Aug 23, 2024
4d348f7
[RISCV] Let -data-sections also work on sbss/sdata sections (#87040)
KaiYG Aug 23, 2024
b084111
[mlir][mem2reg] Fix Mem2Reg attempting to promote in graph regions (#…
Moxinilian Aug 23, 2024
2617023
[clang][AArch64] Add SME2.1 feature macros (#105657)
SpencerAbson Aug 23, 2024
c9b6339
[NFC] Use stable_hash_combine instead of hash_combine (#105619)
kyulee-com Aug 23, 2024
f142f8a
[AMDGPU] Improve uniform argument handling in InstCombineIntrinsic (#…
jayfoad Aug 23, 2024
f3d2609
[SLP]Improve/fix subvectors in gather/buildvector nodes handling
alexey-bataev Aug 22, 2024
002ba17
[RISCV][MC] Name the vector tuple registers. NFC (#102726)
4vtomat Aug 23, 2024
e3ce979
Revert "[clang] Increase the default expression nesting limit (#104717)"
AaronBallman Aug 23, 2024
67a9093
[instCombine][bugfix] Fix crash caused by using of cast in instCombin…
cceerczw Aug 23, 2024
dab19da
[SLP]Fix a crash for the strided nodes with reversed order and extern…
alexey-bataev Aug 23, 2024
858afe9
Revert "[RISCV] Add isel optimization for (and (sra y, c2), c1) to re…
zmodem Aug 23, 2024
05ce95e
[PS5][clang][test] x86_64-scei-ps5 -> x86_64-sie-ps5 in tests (#105810)
playstation-edd Aug 23, 2024
885c436
[VPlan] Skip branches marked as dead in cost precomputation.
fhahn Aug 23, 2024
6a8f738
Revert "Reland "[asan] Remove debug tracing from `report_globals` (#1…
zmodem Aug 23, 2024
f77e8f7
[clang][rtsan] Reland realtime sanitizer codegen and driver (#102622)
cjappl Aug 23, 2024
3faf5b9
[C23] Update status page for TS 18661 integration (#105693)
AaronBallman Aug 23, 2024
7f37932
[BOLT][test] Removed the use of parentheses in BOLT tests with lit in…
Harini0924 Aug 23, 2024
7c90081
[SCF][PIPELINE] Handle the case when values from the peeled prologue …
pawelszczerbuk Aug 23, 2024
6e78aef
[Clang] Implement P2747 constexpr placement new (#104586)
cor3ntin Aug 23, 2024
8075576
[DAG] visitTRUNCATE_USAT_U - use sd_match to match FP_TO_UINT_SAT pat…
RKSimon Aug 23, 2024
ff5552c
[libc++] Remove status pages tracking SpecialMath and Zip (#105672)
ldionne Aug 23, 2024
b8f1505
[IR] Use a range-based for loop (NFC) (#105826)
kazutakahirata Aug 23, 2024
5a25854
[clangd] Construct SmallVector with ArrayRef (NFC) (#105829)
kazutakahirata Aug 23, 2024
a9f6224
[mlir][Transforms][NFC] Move `ReconcileUnrealizedCasts` implementatio…
matthias-springer Aug 23, 2024
b1560bd
Reland "[clang] Merge lifetimebound and GSL code paths for lifetime a…
hokein Aug 23, 2024
fd7904a
Revert "[lldb] Speculative fix for trap_frame_sym_ctx.test"
adrian-prantl Aug 23, 2024
0381e01
Recommit "[RISCV] Add isel optimization for (and (sra y, c2), c1) to …
topperc Aug 23, 2024
3d18cea
[libc++][regex] Add _LIBCPP_FALLTHROUGH to suppress fallthrough warni…
vegerot Aug 23, 2024
0bf5846
InstructionSelect: Use GISelChangeObserver instead of MachineFunction…
dsandersllvm Aug 23, 2024
aec3ec0
[SCCP] fix non-determinism (#105758)
fmayer Aug 23, 2024
df97673
[X86] Add some initial test coverage for half libcall expansion/promo…
RKSimon Aug 23, 2024
1821cb3
[NFC] Fix an incorrect comment about operator precedence. (#105784)
mpark Aug 23, 2024
960a210
[ctx_prof] Remove the dependency on the "name" GlobalVariable (#105731)
mtrofin Aug 23, 2024
fa089ef
[orc][mach-o] Unlock the JITDylib state mutex during +load (#105333)
benlangmuir Aug 23, 2024
ebc4a66
Implement resource binding type prefix mismatch diagnostic infrastruc…
bob80905 Aug 23, 2024
f607102
[mlir][sparse] partially support lowering sparse coiteration loops to…
Aug 23, 2024
f4cf93f
[Flang][OpenMP] Align map clause generation and fix issue with non-s…
agozillon Aug 23, 2024
d86349c
Fix some warnings in SemaHLSL.cpp.
hokein Aug 23, 2024
b7c1be1
Revert "Revert "[lldb] Speculative fix for trap_frame_sym_ctx.test""
adrian-prantl Aug 23, 2024
3c0fba4
Revert "Revert "[lldb] Extend frame recognizers to hide frames from b…
adrian-prantl Aug 23, 2024
9e9e823
Revert "Revert "[lldb-dap] Mark hidden frames as "subtle" (#105457)""
adrian-prantl Aug 23, 2024
ad75775
Revert "Revert "[lldb][swig] Use the correct variable in the return s…
adrian-prantl Aug 23, 2024
11d2de4
[lldb] Fix uninitialized variable
adrian-prantl Aug 23, 2024
a968ae6
[TableGen] Refactor SequenceToOffsetTable class (#104986)
jurahul Aug 23, 2024
7186704
[mlir][sparse] refactoring sparse_tensor.iterate lowering pattern imp…
Aug 23, 2024
8f08b75
[Clang] Assert non-null enum definition in CGDebugInfo::CreateTypeDef…
smanna12 Aug 23, 2024
57b89fd
[flang][runtime] Add FLANG_RUNTIME_NO_REAL_3 flag to build (#105856)
klausler Aug 23, 2024
caa844e
[LLD][COFF] Add support for CHPE redirection metadata. (#105739)
cjacek Aug 23, 2024
ceb587a
[AMDGPU] Fix crash in allowsMisalignedMemoryAccesses with i1 (#105794)
kerbowa Aug 23, 2024
00620ab
[mlir][SCF] Allow canonicalization of zero-trip count `scf.forall` wi…
MaheshRavishankar Aug 23, 2024
782bc4f
[DXIL][Analysis] Uniquify duplicate resources in DXILResourceAnalysis
bogner Aug 23, 2024
a0fac6f
[lldb] Add missing initialization (NFC)
adrian-prantl Aug 23, 2024
52a7116
[LLD][COFF] Add support for CHPE code ranges metadata. (#105741)
cjacek Aug 23, 2024
c505ce9
Deprecate -fheinous-gnu-extensions; introduce a new warning flag (#10…
AaronBallman Aug 23, 2024
a74f0ab
Fix rowspan formatting; NFC
AaronBallman Aug 23, 2024
aa61925
[DirectX] Lower `@llvm.dx.handle.fromBinding` to DXIL ops
bogner Aug 23, 2024
8b4147d
[GDBRemote] Fix processing of comma-separated memory region entries (…
felipepiovezan Aug 23, 2024
a2a5508
[nfc][mlgo] Incrementally update DominatorTreeAnalysis in FunctionPro…
mtrofin Aug 23, 2024
4dbaef6
[mlir][Linalg] Avoid doing op replacement in `linalg::dropUnitDims`. …
MaheshRavishankar Aug 23, 2024
d7073c5
[mlir][Transforms] Dialect conversion: Make materializations optional…
matthias-springer Aug 23, 2024
64afbf0
[rtsan][compiler-rt] Prevent UB hang in rtsan lock unit tests (#104733)
cjappl Aug 23, 2024
3b703d4
[Bitcode] Use DenseSet instead of std::set (NFC) (#105851)
kazutakahirata Aug 23, 2024
da6f423
[InstCombine] Fold `(x < y) ? -1 : zext(x > y)` and `(x > y) ? 1 : se…
Poseydon42 Aug 23, 2024
283dff4
[compiler-rt][nsan] Add support for nan detection (#101531)
cseslowpoke Aug 23, 2024
b48ef8d
[mlir][sparse] unify block arguments order between iterate/coiterate …
Aug 23, 2024
3e763db
[SPIRV] Fix return type mismatch for createSPIRVEmitNonSemanticDIPass…
bogner Aug 23, 2024
10407be
"Reland "[asan] Remove debug tracing from `report_globals` (#104404)"…
vitalybuka Aug 23, 2024
91e57c6
[mlir][tensor] Add TilingInterface support for fusing tensor.pad (#10…
qedawkins Aug 23, 2024
cdd11d6
Fix bot failures after PR #104867
mtrofin Aug 23, 2024
ca53611
[llvm] Use range-based for loops (NFC) (#105861)
kazutakahirata Aug 23, 2024
dbd7ce0
[IR] Inroduce ModuleToSummariesForIndexTy (NFC) (#105906)
kazutakahirata Aug 24, 2024
1f89cd4
Revert "[compiler-rt][nsan] Add support for nan detection" (#105909)
vitalybuka Aug 24, 2024
74b538d
[include-cleaner] Turn new/delete usages to ambiguous references (#10…
kadircet Aug 24, 2024
e439fdf
[clang-format] Treat new expressions as simple functions (#105168)
kadircet Aug 24, 2024
d021321
[SandboxIR] Implement CleanupReturnInst (#105750)
vporpo Aug 24, 2024
7615c0b
[StableHash] Implement with xxh3_64bits (#105849)
kyulee-com Aug 24, 2024
6260125
[docs] Fix links in github user guide - graphite section
mtrofin Aug 24, 2024
75ef955
[clang][bytecode][NFC] Move test to verify=expected,both style
tbaederr Aug 22, 2024
c81d666
[clang][bytecode] Fix IntegralAP::is{Positive,Negative} (#105924)
tbaederr Aug 24, 2024
68030f8
[clang][bytecode][NFC] Fix printing signed IntegralAP values
tbaederr Aug 24, 2024
62e7b59
[clang][bytecode][NFC] Move test case to -verify=expected,both style
tbaederr Aug 24, 2024
e185850
Revert ""Reland "[asan] Remove debug tracing from `report_globals` (#…
vitalybuka Aug 24, 2024
76236fa
[Clang] Overflow Pattern Exclusion - rename some patterns, enhance do…
JustinStitt Aug 24, 2024
99b85ca
[clang][bytecode][NFC] Add an additional assertion (#105927)
tbaederr Aug 24, 2024
43c6fb2
[InstCombine] Update the `select` operand when the `cond` is `trunc` …
c8ef Aug 24, 2024
001e423
[Tests] Attempt to fix PowerPC buildbots.
davemgreen Aug 24, 2024
be5ecc3
[RISCV] Don't move source if passthru already dominates in vmv.v.v pe…
lukel97 Aug 24, 2024
40975da
[VPlan] Wrap planContainsAdditionalSimplifications in NDEBUG (NFC)
fhahn Aug 24, 2024
83a5c7c
[ConstantFolding] Ensure TLI is valid when simplifying fp128 intrinsics.
davemgreen Aug 24, 2024
08acc3f
[Analysis] Copy-construct SmallVector (NFC) (#105911)
kazutakahirata Aug 24, 2024
65b7cbb
[lit] Export env vars in script to avoid pruning (#105759)
keith Aug 24, 2024
7036394
Update Python requirements to fix more CVEs (#105853)
StephanTLavavej Aug 24, 2024
886b761
[libc++][test] Fix `msvc_is_lock_free_macro_value()` (#105876)
StephanTLavavej Aug 24, 2024
a5d89d5
[Target] Use llvm::replace (NFC) (#105942)
kazutakahirata Aug 24, 2024
31b4bf9
[llvm][NVPTX] Fix RAUW bug in NVPTXProxyRegErasure (#105871)
Mogball Aug 24, 2024
2cb25d5
[DAG][RISCV] Use vp_reduce_fadd/fmul when widening types for FP reduc…
preames Aug 24, 2024
d252365
[IR] Modernize StructuralHashImpl (NFC) (#105951)
kazutakahirata Aug 24, 2024
6f618a7
Update my email
ecnelises Aug 24, 2024
9f82f6d
[ARM] Add a number of extra vmovimm tests for BE. NFC
davemgreen Aug 24, 2024
43b8885
[clang-cl] [AST] Reapply #102848 Fix placeholder return type name man…
MaxEW707 Aug 24, 2024
77fccb3
[AArch64] Replace AND with LSL#2 for LDR target (#34101) (#89531)
ParkHanbum Aug 24, 2024
b9a0276
[ARM] Add VECTOR_REG_CAST identity fold.
davemgreen Aug 24, 2024
a6f87ab
[Mips] Remove a trivial variable (NFC) (#105940)
kazutakahirata Aug 24, 2024
3ef64f7
Revert "Enable logf128 constant folding for hosts with 128bit long do…
chapuni Aug 24, 2024
6bc225e
[clang-format] Fix a misannotation of redundant r_paren as CastRParen…
owenca Aug 25, 2024
0916ae4
[clang-format] Fix a misannotation of less/greater as angle brackets …
owenca Aug 25, 2024
5c94dd7
[X86][AMX] Avoid to construct invalid shape for checking, NFCI (#105973)
phoebewang Aug 25, 2024
579fd59
[RISCV][ISel] Move VCIX ISDs to correct position. NFC (#105934)
4vtomat Aug 25, 2024
f22b1da
[CodeGen] Replace MCPhysReg with MCRegister in MachineBasicBlock::isL…
topperc Aug 25, 2024
2847020
[lldb][TypeSystemClang][NFC] Log failure to InitBuiltinTypes
Michael137 Aug 25, 2024
5136521
Reapply "[compiler-rt][nsan] Add support for nan detection" (#105909)
alexander-shaposhnikov Aug 25, 2024
f0747cd
[AutoBump] Merge with 51365212 (Aug 25)
mgehre-amd Sep 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/workflows/libcxx-build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ jobs:
'generic-no-experimental',
'generic-no-filesystem',
'generic-no-localization',
'generic-no-terminal',
'generic-no-random_device',
'generic-no-threads',
'generic-no-tzdb',
Expand Down
2 changes: 1 addition & 1 deletion .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<i@maskray.me> <maskray@google.com>
<JCTremoulet@gmail.com> <jotrem@microsoft.com>
<min@myhsu.dev> <minyihh@uci.edu>
<qiucofan@cn.ibm.com> <qiucf@cn.ibm.com>
<qcf@ecnelises.com> <qiucofan@cn.ibm.com> <qiucf@cn.ibm.com>
<rnk@google.com> <reid@kleckner.net>
<thakis@chromium.org> <nicolasweber@gmx.de>
Jianjian GUAN <jacquesguan@me.com>
Expand Down
3 changes: 2 additions & 1 deletion bolt/lib/Core/BinaryFunctionProfile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,8 @@ void BinaryFunction::inferFallThroughCounts() {
if (SuccBI.Count == 0) {
SuccBI.Count = Inferred;
SuccBI.MispredictedCount = BinaryBasicBlock::COUNT_INFERRED;
Succ->ExecutionCount += Inferred;
Succ->ExecutionCount =
std::max(Succ->getKnownExecutionCount(), Inferred);
}
}
}
Expand Down
6 changes: 4 additions & 2 deletions bolt/test/X86/end-symbol.test
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# RUN: yaml2obj %p/Inputs/plt-sec.yaml &> %t.exe
# RUN: llvm-bolt %t.exe -o %t.out
# RUN: (llvm-readelf --program-headers %t.out | grep LOAD | tail -n 1 ; llvm-nm %t.out) \
# RUN: | FileCheck %s

# RUN: llvm-readelf --program-headers %t.out | grep LOAD | tail -n 1 > %t.load
# RUN: llvm-nm %t.out >> %t.load
# RUN: FileCheck %s < %t.load

## Check that llvm-bolt correctly updates _end symbol to match the end of the
## last loadable segment.
Expand Down
45 changes: 45 additions & 0 deletions bolt/test/X86/infer-fall-throughs.s
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
## Test that infer-fall-throughs would correctly infer the wrong fall-through
## edge count in the example

# RUN: llvm-mc --filetype=obj --triple x86_64-unknown-unknown %s -o %t.o
# RUN: link_fdata %s %t.o %t.fdata
# RUN: llvm-strip --strip-unneeded %t.o
# RUN: %clang %cflags %t.o -o %t.exe -Wl,-q
# RUN: llvm-bolt %t.exe -o %t.bolt \
# RUN: --print-estimate-edge-counts --data=%t.fdata \
# RUN: 2>&1 | FileCheck --check-prefix=WITHOUTINFERENCE %s
# RUN: llvm-bolt %t.exe -o %t.bolt --infer-fall-throughs \
# RUN: --print-estimate-edge-counts --data=%t.fdata \
# RUN: 2>&1 | FileCheck --check-prefix=CORRECTINFERENCE %s


# WITHOUTINFERENCE: Binary Function "main" after estimate-edge-counts
# WITHOUTINFERENCE: {{^\.Ltmp0}}
# WITHOUTINFERENCE: Successors: .Ltmp1 (mispreds: 0, count: 10), .LFT0 (mispreds: 0, count: 0)
# WITHOUTINFERENCE: {{^\.LFT0}}
# WITHOUTINFERENCE: Exec Count : 490

# CORRECTINFERENCE: Binary Function "main" after estimate-edge-counts
# CORRECTINFERENCE: {{^\.Ltmp0}}
# CORRECTINFERENCE: Successors: .Ltmp1 (mispreds: 0, count: 10), .LFT0 (inferred count: 490)
# CORRECTINFERENCE: {{^\.LFT0}}
# CORRECTINFERENCE: Exec Count : 490


.globl main
.type main, @function
main:
LLmain_LLstart:
jmp LLstart
# FDATA: 1 main #LLmain_LLstart# 1 main #LLstart# 0 500
LLstart:
jge LLexit
# FDATA: 1 main #LLstart# 1 main #LLexit# 0 10
# FDATA: 1 main #LLstart# 1 main #LLmore# 0 0
LLmore:
movl $5, %eax
# FDATA: 1 main #LLmore# 1 main #LLexit# 0 490
LLexit:
ret
.LLmain_end:
.size main, .LLmain_end-main
5 changes: 3 additions & 2 deletions bolt/test/X86/instrumentation-eh_frame_hdr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
// RUN: %clangxx %cxxflags -static -Wl,-q %s -o %t.exe -Wl,--entry=_start
// RUN: llvm-bolt %t.exe -o %t.instr -instrument \
// RUN: --instrumentation-file=%t.fdata -instrumentation-sleep-time=1
// RUN: (llvm-readelf -SW %t.instr | grep -v bolt; llvm-readelf -lW %t.instr | \
// RUN: grep LOAD | tail -n 1) | FileCheck %s
// RUN: llvm-readelf -SW %t.instr | grep -v bolt > %t.sections
// RUN: llvm-readelf -lW %t.instr | grep LOAD | tail -n 1 >> %t.sections
// RUN: FileCheck %s < %t.sections

// CHECK: {{.*}} .eh_frame_hdr PROGBITS [[#%x, EH_ADDR:]]
// CHECK: LOAD 0x[[#%x, LD_OFFSET:]] 0x[[#%x, LD_VADDR:]] 0x[[#%x, LD_FSIZE:]]
Expand Down
2 changes: 1 addition & 1 deletion clang-tools-extra/clangd/TUScheduler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1838,7 +1838,7 @@ DebouncePolicy::compute(llvm::ArrayRef<clock::duration> History) const {
// Base the result on the median rebuild.
// nth_element needs a mutable array, take the chance to bound the data size.
History = History.take_back(15);
llvm::SmallVector<clock::duration, 15> Recent(History.begin(), History.end());
llvm::SmallVector<clock::duration, 15> Recent(History);
auto *Median = Recent.begin() + Recent.size() / 2;
std::nth_element(Recent.begin(), Median, Recent.end());

Expand Down
4 changes: 2 additions & 2 deletions clang-tools-extra/include-cleaner/lib/WalkAST.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -351,11 +351,11 @@ class ASTWalker : public RecursiveASTVisitor<ASTWalker> {
}

bool VisitCXXNewExpr(CXXNewExpr *E) {
report(E->getExprLoc(), E->getOperatorNew());
report(E->getExprLoc(), E->getOperatorNew(), RefType::Ambiguous);
return true;
}
bool VisitCXXDeleteExpr(CXXDeleteExpr *E) {
report(E->getExprLoc(), E->getOperatorDelete());
report(E->getExprLoc(), E->getOperatorDelete(), RefType::Ambiguous);
return true;
}
};
Expand Down
4 changes: 2 additions & 2 deletions clang-tools-extra/include-cleaner/unittests/WalkASTTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -557,9 +557,9 @@ TEST(WalkAST, FriendDecl) {
}

TEST(WalkAST, OperatorNewDelete) {
testWalk("void* $explicit^operator new(decltype(sizeof(int)), void*);",
testWalk("void* $ambiguous^operator new(decltype(sizeof(int)), void*);",
"struct Bar { void foo() { Bar b; ^new (&b) Bar; } };");
testWalk("struct A { static void $explicit^operator delete(void*); };",
testWalk("struct A { static void $ambiguous^operator delete(void*); };",
"void foo() { A a; ^delete &a; }");
}
} // namespace
Expand Down
6 changes: 4 additions & 2 deletions clang/cmake/caches/CrossWinToARMLinux.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ endif()

message(STATUS "Toolchain target to build: ${LLVM_TARGETS_TO_BUILD}")

# Allow to override libc++ ABI version. Use 2 by default.
# Allow to override libc++ ABI version (1 is default).
if (NOT DEFINED LIBCXX_ABI_VERSION)
set(LIBCXX_ABI_VERSION 2)
set(LIBCXX_ABI_VERSION 1)
endif()

message(STATUS "Toolchain's Libc++ ABI version: ${LIBCXX_ABI_VERSION}")
Expand Down Expand Up @@ -217,6 +217,8 @@ set(RUNTIMES_${TOOLCHAIN_TARGET_TRIPLE}_LIBCXX_ENABLE_SHARED
set(RUNTIMES_${TOOLCHAIN_TARGET_TRIPLE}_LIBCXX_ABI_VERSION ${LIBCXX_ABI_VERSION} CACHE STRING "")
set(RUNTIMES_${TOOLCHAIN_TARGET_TRIPLE}_LIBCXX_CXX_ABI "libcxxabi" CACHE STRING "") #!!!
set(RUNTIMES_${TOOLCHAIN_TARGET_TRIPLE}_LIBCXX_ENABLE_NEW_DELETE_DEFINITIONS ON CACHE BOOL "")
# Merge libc++ and libc++abi libraries into the single libc++ library file.
set(RUNTIMES_${TOOLCHAIN_TARGET_TRIPLE}_LIBCXX_ENABLE_STATIC_ABI_LIBRARY ON CACHE BOOL "")

# Avoid searching for the python3 interpreter during the runtimes configuration for the cross builds.
# It starts searching the python3 package using the target's sysroot path, that usually is not compatible with the build host.
Expand Down
51 changes: 36 additions & 15 deletions clang/docs/ClangFormatStyleOptions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1617,7 +1617,7 @@ the configuration (without a prefix: ``Auto``).
**AllowAllParametersOfDeclarationOnNextLine** (``Boolean``) :versionbadge:`clang-format 3.3` :ref:`¶ <AllowAllParametersOfDeclarationOnNextLine>`
If the function declaration doesn't fit on a line,
allow putting all parameters of a function declaration onto
the next line even if ``BinPackParameters`` is ``false``.
the next line even if ``BinPackParameters`` is ``OnePerLine``.

.. code-block:: c++

Expand Down Expand Up @@ -2067,20 +2067,41 @@ the configuration (without a prefix: ``Auto``).

.. _BinPackParameters:

**BinPackParameters** (``Boolean``) :versionbadge:`clang-format 3.7` :ref:`¶ <BinPackParameters>`
If ``false``, a function declaration's or function definition's
parameters will either all be on the same line or will have one line each.
**BinPackParameters** (``BinPackParametersStyle``) :versionbadge:`clang-format 3.7` :ref:`¶ <BinPackParameters>`
The bin pack parameters style to use.

.. code-block:: c++
Possible values:

* ``BPPS_BinPack`` (in configuration: ``BinPack``)
Bin-pack parameters.

.. code-block:: c++

void f(int a, int bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb,
int ccccccccccccccccccccccccccccccccccccccccccc);

* ``BPPS_OnePerLine`` (in configuration: ``OnePerLine``)
Put all parameters on the current line if they fit.
Otherwise, put each one on its own line.

.. code-block:: c++

void f(int a, int b, int c);

void f(int a,
int b,
int ccccccccccccccccccccccccccccccccccccc);

* ``BPPS_AlwaysOnePerLine`` (in configuration: ``AlwaysOnePerLine``)
Always put each parameter on its own line.

.. code-block:: c++

void f(int a,
int b,
int c);

true:
void f(int aaaaaaaaaaaaaaaaaaaa, int aaaaaaaaaaaaaaaaaaaa,
int aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa) {}

false:
void f(int aaaaaaaaaaaaaaaaaaaa,
int aaaaaaaaaaaaaaaaaaaa,
int aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa) {}

.. _BitFieldColonSpacing:

Expand Down Expand Up @@ -4817,7 +4838,7 @@ the configuration (without a prefix: ``Auto``).
items into as few lines as possible when they go over ``ColumnLimit``.

If ``Auto`` (the default), delegates to the value in
``BinPackParameters``. If that is ``true``, bin-packs Objective-C
``BinPackParameters``. If that is ``BinPack``, bin-packs Objective-C
protocol conformance list items into as few lines as possible
whenever they go over ``ColumnLimit``.

Expand All @@ -4831,13 +4852,13 @@ the configuration (without a prefix: ``Auto``).

.. code-block:: objc

Always (or Auto, if BinPackParameters=true):
Always (or Auto, if BinPackParameters==BinPack):
@interface ccccccccccccc () <
ccccccccccccc, ccccccccccccc,
ccccccccccccc, ccccccccccccc> {
}

Never (or Auto, if BinPackParameters=false):
Never (or Auto, if BinPackParameters!=BinPack):
@interface ddddddddddddd () <
ddddddddddddd,
ddddddddddddd,
Expand Down
85 changes: 85 additions & 0 deletions clang/docs/RealtimeSanitizer.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
=================
RealtimeSanitizer
=================

.. contents::
:local:

Introduction
============
RealtimeSanitizer (a.k.a. RTSan) is a real-time safety testing tool for C and C++
projects. RTSan can be used to detect real-time violations, i.e. calls to methods
that are not safe for use in functions with deterministic runtime requirements.
RTSan considers any function marked with the ``[[clang::nonblocking]]`` attribute
to be a real-time function. If RTSan detects a call to ``malloc``, ``free``,
``pthread_mutex_lock``, or anything else that could have a non-deterministic
execution time in a function marked ``[[clang::nonblocking]]``
RTSan raises an error.

The runtime slowdown introduced by RealtimeSanitizer is negligible.

How to build
============

Build LLVM/Clang with `CMake <https://llvm.org/docs/CMake.html>` and enable the
``compiler-rt`` runtime. An example CMake configuration that will allow for the
use/testing of RealtimeSanitizer:

.. code-block:: console

$ cmake -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="clang" -DLLVM_ENABLE_RUNTIMES="compiler-rt" <path to source>/llvm

Usage
=====

There are two requirements:

1. The code must be compiled with the ``-fsanitize=realtime`` flag.
2. Functions that are subject to real-time constraints must be marked
with the ``[[clang::nonblocking]]`` attribute.

Typically, these attributes should be added onto the functions that are entry
points for threads with real-time priority. These threads are subject to a fixed
callback time, such as audio callback threads or rendering loops in video game
code.

.. code-block:: console

% cat example_realtime_violation.cpp
#include <vector>

void violation() [[clang::nonblocking]]{
std::vector<float> v;
v.resize(100);
}

int main() {
violation();
return 0;
}
# Compile and link
% clang++ -fsanitize=realtime -g example_realtime_violation.cpp

If a real-time safety violation is detected in a ``[[clang::nonblocking]]``
context, or any function invoked by that function, the program will exit with a
non-zero exit code.

.. code-block:: console

% clang++ -fsanitize=realtime -g example_realtime_violation.cpp
% ./a.out
Real-time violation: intercepted call to real-time unsafe function `malloc` in real-time context! Stack trace:
#0 0x000102893034 in __rtsan::PrintStackTrace() rtsan_stack.cpp:45
#1 0x000102892e64 in __rtsan::Context::ExpectNotRealtime(char const*) rtsan_context.cpp:78
#2 0x00010289397c in malloc rtsan_interceptors.cpp:286
#3 0x000195bd7bd0 in operator new(unsigned long)+0x1c (libc++abi.dylib:arm64+0x16bd0)
#4 0x5c7f00010230f07c (<unknown module>)
#5 0x00010230f058 in std::__1::__libcpp_allocate[abi:ue170006](unsigned long, unsigned long) new:324
#6 0x00010230effc in std::__1::allocator<float>::allocate[abi:ue170006](unsigned long) allocator.h:114
... snip ...
#10 0x00010230e4bc in std::__1::vector<float, std::__1::allocator<float>>::__append(unsigned long) vector:1162
#11 0x00010230dcdc in std::__1::vector<float, std::__1::allocator<float>>::resize(unsigned long) vector:1981
#12 0x00010230dc28 in violation() main.cpp:5
#13 0x00010230dd64 in main main.cpp:9
#14 0x0001958960dc (<unknown module>)
#15 0x2f557ffffffffffc (<unknown module>)
Loading