Skip to content

Bump to llvm green 2b4807 for torch-mlir #54

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

Merged
merged 706 commits into from
Jun 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
706 commits
Select commit Hold shift + click to select a range
8a72906
[gn build] Port 217709cbae34
llvmgnsyncbot Jun 1, 2023
b092f41
[clang] Use `FileEntryRef` in modular header search (part 1/2)
jansvoboda11 May 31, 2023
be6c532
[mlir][sparse][gpu] fixing broken literal names in cuda runner macros
Jun 1, 2023
2b4c13f
[ARM] Emit code alignment after .arm and .thumb directives
antangelo Jun 1, 2023
7e44f07
[mlir][gpu][sparse] fix broken type in cusparseCreateCsr
Jun 1, 2023
1a6586e
[libc++] Add a few more mising HIDE_FROM_ABI macros
ldionne Jun 1, 2023
e48b1e8
[LV] Split off invariance check from isUniform (NFCI).
fhahn Jun 1, 2023
2de54b9
[tsan] Invoke malloc/free hooks on darwin
Northbadge Jun 1, 2023
5022fc2
[CodeGen] Make use of MachineInstr::all_defs and all_uses. NFCI.
jayfoad May 24, 2023
8dc1395
[clang][docs] document __attribute__((cleanup())) GNU C extension
nickdesaulniers Jun 1, 2023
b812932
[FLANG] Change loop versioning to use shift instead of divide
Leporacanthicus Jun 1, 2023
550c60e
Fixing broken test in D140524 "Flang implementation for COMPILER_VERS…
hmk46 Jun 1, 2023
8995586
[MLIR][doc] Improve/fix the doc on mlir.vector.transfer_read (NFC)
joker-eph May 31, 2023
0a21fb3
[Fuchsia] Reland: Add llvm-debuginfod to toolchain
mysterymath May 30, 2023
09515f2
[SDAG] Preserve unpredictable metadata, teach X86CmovConversion to re…
davidbolvansky Jun 1, 2023
01ef213
[BOLT][DWARF] Fix handling of GCed CU function
ayermolo Jun 1, 2023
39ecf9d
[flang][hlfir] Separate -emit-fir and -emit-hlfir for flang-new
tblah May 22, 2023
81ea6b7
[flang][hlfir] Separate -emit-fir and -emit-hlfir for bbc
tblah May 22, 2023
0e1fa91
[flang] Fix character initialization after continuation
luporl May 31, 2023
c20a9bb
Allow configuring InlinerThreshold in C bindings for the new pass man…
erthalion Jun 1, 2023
460d136
[libc++] Extract ccache stats after the bootstrapping build
ldionne Jun 1, 2023
f674ddc
[flang] CUDA Fortran - part 5/5: statement semantics
klausler May 6, 2023
6a28d3c
[FuzzMutate] Avoid calling function with metadata/token parameter/ret…
HazyFish Jun 1, 2023
f166b39
[RISCV] Rename VPseudoBinaryTailPolicy to VPseudoTernaryMaskPolicy. NFC
topperc Jun 1, 2023
6df9b06
[Sanitizers][Darwin][ASanABI] Fix architecture config for ASan Abi
thetruestblue May 31, 2023
ee27e5d
[TargetLowering][ARM][AArch64] Remove usage of NoSignedWrap/NoUnsigne…
topperc Jun 1, 2023
7f374b6
[GlobalISel] Delete code in GIMatcher complaining about unreachable r…
aemerson Jun 1, 2023
722832e
[libc] Add strtoint32 and strtoint64 tests
michaelrj-google Jun 1, 2023
d51a84b
[libc++][PSTL] Implement std::stable_sort
philnik777 Jun 1, 2023
10e422d
[gn build] Port d51a84b4059c
llvmgnsyncbot Jun 1, 2023
45b25d2
[mlir][Vector] Disable 'vector.extract' folding for unsupported 0-D v…
dcaballe Jun 1, 2023
0935c05
[mlir][Vector] Add support for 0-D 'vector.shape_cast' lowering
dcaballe Jun 1, 2023
d3e1398
[mlir][Vector] Prevent vector-to-scalar xfer patterns from triggering…
dcaballe Jun 1, 2023
834fcfe
Reland "[mlir][Vector] Extend xfer drop unit dim patterns"
dcaballe Jun 1, 2023
94a8be4
[RISCV] Move vslideup/down tablegen classes together. NFC
topperc Jun 1, 2023
37cfcfc
[RISCV] Separate slideup/down pseudoinstructions from FMA instruction…
topperc Jun 1, 2023
8609df7
AMDGPU: Refine undef handling for llvm.amdgcn.class intrinsic
arsenm May 24, 2023
c8ea669
[lld][COFF] Retry failed paths to take advantage of winsysroot search…
aeubanks May 31, 2023
9c6bee6
[RISCV][GlobalISel] Add lowerCall for calling convention
nitinjohnraj Jun 1, 2023
0a043e6
[RISCV][GlobalISel] Remove unused variable 'Index' (NFC)
DamonFool Jun 1, 2023
22667e3
Fix regex & startsWith name lookup in SBTarget::FindGlobalVariables
jimingham Jun 1, 2023
378f188
[mlir][sparse] enhance sparse reduction support
aartbik Jun 1, 2023
a5a6c03
[lldb/crashlog] Fix crash when loading non-symbolicated report
medismailben May 31, 2023
032d91c
[lldb/crashlog] Create interactive crashlog with no binary
medismailben Jun 2, 2023
0b08026
[lldb/crashlog] Run python formatter (nfc)
medismailben Jun 2, 2023
78ecb42
[lldb/crashlog] Add test for non-symbolicated report crash
medismailben Jun 2, 2023
df1bb2e
Restrict the test from 22667e3220de5ead353a2148265d841644b63824
jimingham Jun 2, 2023
15a719d
[X86][MC] Use MCInstrDesc to access CondCode operand
aaupov Jun 2, 2023
258cd1f
[FuzzMutate] Handle BB without predecessor, avoid insertion after `mu…
HazyFish Jun 2, 2023
6091025
[libc++] Make sure we use POSIX paths in header_information.py
ldionne Jun 1, 2023
45307f1
[libc++] Refactor the mandatory header inclusion tests to .gen.py
ldionne May 31, 2023
5dae706
[lldb] Take StringRef name in GetIndexOfChildWithName (NFC)
kastiglione May 28, 2023
00e52cc
[lldb] Take StringRef names in GetChildAtNamePath (NFC)
kastiglione May 28, 2023
9823c39
[RISCV][NFC] Use common prefix to simplify test.
jacquesguan Jun 1, 2023
3e83426
Fix TableGen emitter: hasValue() has been renamed has_value()
joker-eph Jun 2, 2023
2e87ed8
[AMDGPU] WQM: Allow insertion of exact mode transition as terminator
perlfu Jun 2, 2023
76cc78d
[RISCV] Modify a tablegen multiclass for a future patch. NFC
topperc Jun 2, 2023
f1a318b
[clang][Interp][NFC] Add FunctionPointer.h header comment
tbaederr May 19, 2023
cc69bc4
[clang][Interp][NFC] Print Function name in unreachable type failures
tbaederr May 19, 2023
e66f2be
[mlir][IR][NFC] Move CastOpInterface helpers to mlir/Interfaces
matthias-springer Jun 2, 2023
fc1262b
[clang][Diagnostics] Split source ranges into line ranges before...
tbaederr May 23, 2023
a0d83c3
Revert "[clang][Diagnostics] Split source ranges into line ranges bef…
tbaederr Jun 2, 2023
3e37c98
[cuda, NVPTX] Signed char and (unsigned)long builtins of ldg and ldu
jchlanda Jun 1, 2023
97b5cc2
[ValueTracking] Remove ORE argument (NFC-ish)
nikic May 26, 2023
0930ee8
[SimplifyLibCalls] Fix isKnownNeverInfinity() call after ORE removal
nikic Jun 2, 2023
8db674a
[X86] Add schedule module for SapphireRapids
HaohaiWen Jun 2, 2023
5563543
Fix isKnownNeverInfOrNaN() call in AMDGPU after ORE removal 97b5cc214…
hokein Jun 2, 2023
1efbef4
[MI] Don't use std::function for all_uses/all_defs iterators (NFC)
nikic Jun 2, 2023
75cdd1c
[AArch64] Add additional zext/mull tests.
fhahn Jun 2, 2023
fb447e7
[LoongArch] Use Subtarget consistently during LoongArchISelLowering i…
SixWeining Jun 2, 2023
371835e
[ValueTracking] Replace Query with SimplifyQuery (NFC)
nikic Jun 2, 2023
3ac9aa2
[GlobalIsel][X86] Legalize G_BSWAP III
tschuett Jun 2, 2023
77b18ff
[MLIR][Bufferization] Improve documentation of introduction and `summ…
rikhuijzer Jun 2, 2023
a68cd63
[GlobalIsel][X86] Update legalization of G_ADD/G_SUB
RKSimon Jun 2, 2023
e97b8a7
[AArch64] Don't use tbl lowering if ZExt can be folded into user.
fhahn Jun 2, 2023
be8da1f
[clangd] Use FileManager for getCanonicalPath, NFC
hokein Jun 2, 2023
dc63b35
[SVE ACLE] Extend IR combines for fmul, fsub, fadd to cover _u variants
JolantaJensen May 17, 2023
fa45fb7
[InstCombine] Handle assumes in multi-use demanded bits simplification
nikic Jun 2, 2023
2fef38f
SimpleLoopUnswitch: Add missing test coverage for divergent target check
arsenm Jun 2, 2023
39b680f
[ValueTracking] Use correct struct kind for forward declaration (NFC)
nikic Jun 2, 2023
a584f0f
[Clang][RISCV] Add test coverage for `_mu` overloaded variant for the…
eopXD Jun 2, 2023
000bc58
[mlir][transform] Utilize op interface instead of tensor::TrackingLis…
matthias-springer Jun 2, 2023
0b52fa9
[mlir][transform] Add ApplyPatternsOp and PatternRegistry
matthias-springer Jun 2, 2023
0ab4ffa
[GlobalIsel][X86] Move G_BSWAP/G_CTPOP/G_CTLZ legalization before leg…
RKSimon Jun 2, 2023
d95114c
[mlir][tensor][transform] Register tensor dialect patterns
matthias-springer Jun 2, 2023
4b1eb4c
[compiler-rt] Avoid memintrinsic calls inserted by the compiler
melver May 30, 2023
9dbb8ee
[mlir][tensor] Implement getBufferType for ReshapeOp.
ingomueller-net May 26, 2023
db3d6ac
[GlobalIsel][X86] Regenerate G_ADD/G_SUB vector legalization tests
RKSimon Jun 2, 2023
ec24d36
[GlobalIsel][X86] Add G_ADD/G_SUB i8/i16 and promotion legalization t…
RKSimon Jun 2, 2023
4ad6a0c
Fix "[compiler-rt] Avoid memintrinsic calls inserted by the compiler"
melver Jun 2, 2023
4b48063
[mlir][vector][transform] Register vector dialect patterns
matthias-springer Jun 2, 2023
cd8cdbd
[mlir] Fix unqualified call to 'std::move' in TransformOps.cpp
DamonFool Jun 2, 2023
a854f06
[AArch64] Add SVE predicated operations tests. NFC
davemgreen Jun 2, 2023
c3cf8a9
[MLIR][Docs] Unwrap video link in Rationale
jryans Jun 2, 2023
bb9b129
[libc++] Fix broken transitive includes test
ldionne Jun 2, 2023
fc011a7
Fix "[compiler-rt] Avoid memintrinsic calls inserted by the compiler"
melver Jun 2, 2023
8e54794
Revert "[compiler-rt] Avoid memintrinsic calls inserted by the compiler"
melver Jun 2, 2023
24231df
[clang-format] Parse the Verilog language option in configuration
sstwcw Jun 2, 2023
9299bde
[flang] Relax ALLOCATABLE/POINTER actual argument checks under INTENT…
klausler May 31, 2023
d01ddfe
[GlobalIsel][X86] Move G_SDIV/G_SREM/G_UDIV/G_UREM legalization befor…
RKSimon Jun 2, 2023
6d8f889
[GlobalIsel][X86] Move G_SHL/G_LSHR/G_ASHR legalization before legacy…
RKSimon Jun 2, 2023
cecd847
[Clang][Parser] Accept GNU attributes preceding C++ attributes on tem…
elizabethandrews Jun 1, 2023
f9753ef
[libc][Obvious] Fix a typo in setting FMA control option for RISCV64.
lntue Jun 2, 2023
c28506b
[clang-tidy] Implement an include-cleaner check.
VitaNuo Apr 19, 2023
4c5355d
[GlobalIsel][X86] Merge LZCNT 32-bit and 64-bit test coverage
RKSimon Jun 2, 2023
5c2072e
[clang-tidy] Fix docs.
VitaNuo Jun 2, 2023
726835c
[mlir] Update how scalable indices are printed
banach-space Jun 1, 2023
19841e4
[OpenMP] Fix transformed loop's var privacy
jdenny-ornl Jun 2, 2023
8b5dbc3
[CodeGen] Use llvm::LLVMContext::MD_invariant_load (NFC)
kazutakahirata Jun 2, 2023
2f08a08
[scudo] Support importing custom configuration
ChiaHungDuan Jun 2, 2023
5b77e75
[Driver] Move -nostdinc like options into IncludePath_Group
MaskRay Jun 2, 2023
94cefe4
[PowerPC] Add DFP compare instructions.
stefanp-synopsys Jun 2, 2023
c0f4b12
[libc++] Transition several remaining generated tests to the new .gen…
ldionne May 31, 2023
3b12d34
[libc++] Remove min_max_macros test
ldionne May 31, 2023
eb354f0
[gn build] Port c28506ba4b69
nico Jun 2, 2023
d72545b
[gn build] Port c28506ba4b69 more
nico Jun 2, 2023
2f9a4d3
[GlobalISel][X86] Add G_CTLZ_ZERO_UNDEF legalization handling
RKSimon Jun 2, 2023
ce6f8c5
[mlir][sparse] fix various bug to support sparse pooling
May 31, 2023
c5564a0
[bazel] Add include-cleaner targets, fix clang-tidy build for c28506b…
hokein Jun 2, 2023
4fcbe5f
Revert rG2f9a4d308d4517eee85e373bc09920f85f91fdcd "[GlobalISel][X86] …
RKSimon Jun 2, 2023
860e439
[Clang] Fix missing libraries for the include cleaner check
jhuber6 Jun 2, 2023
bbf96e6
[RISCV] Simplify vector instruction multiclasses. NFC
topperc Jun 2, 2023
583e028
[test] Add -Wno-msvc-not-found to fix linker-opts.c on *-windows-msvc
MaskRay Jun 2, 2023
c6b2d25
Constexprify all eligible functions in MCRegister and Register
Jun 1, 2023
cfde5f2
[libc] Implement 'errno' on the GPU as a global integer internally
jhuber6 Jun 2, 2023
70fc081
[Flang][OpenMP][Parser] Resolve Declare Target Directive Symbols
agozillon Jun 2, 2023
2831a27
[KCFI] Emit debugtrap to make indirect call checks recoverable
samitolvanen Jun 1, 2023
18ccca4
[UBSan] Consider zero input to __builtin_clz/ctz to be undefined inde…
topperc Jun 2, 2023
1f30087
[RISCV] Remove optype parameter from most V instruction multiclasses.…
topperc Jun 2, 2023
02ce49a
[NFC][CLANG] Fix bug with dereference null return value in GetFunctio…
smanna12 Jun 2, 2023
8265994
[NFC][CLANG] Fix Static Code Analyzer Concerns with dereference null …
smanna12 Jun 2, 2023
a15eb89
[TableGen] Allow bit fields in SearchableTables.
rampitec May 30, 2023
6b3ae49
[sanitizer] Calculate Range sets intersection
vitalybuka May 31, 2023
48bb7bb
[libc] Disable the string_to_float test on NVPTX
jhuber6 Jun 2, 2023
a6a7a1b
Fully qualify MLIR type in TableGen emitter
joker-eph Jun 2, 2023
0f49116
[CUDA] Update Kepler(sm_3*) support info.
Artem-B Jun 2, 2023
c42e555
[NFC][sanitizer] Delegate ArrayRef constructors
vitalybuka Jun 2, 2023
0375a2d
[NFC][sanitizer] Avoid O(N^2) algorithm
vitalybuka May 31, 2023
99dc683
[NFC][lsan] Use hash table to track root regions
vitalybuka May 31, 2023
1c8b7c5
[flang][hlfir] Added allocatable/pointer support in hlfir::convertToV…
vzakhari Jun 2, 2023
fa98bdb
[mlir][sparse][gpu] make computeType mandatory
Jun 2, 2023
61e1c3d
[Demangle] convert itaniumDemangle and nonMicrosoftDemangle to use st…
nickdesaulniers Jun 2, 2023
12d967c
[Damangle] convert rustDemangle to use std::string_view
nickdesaulniers Jun 2, 2023
1536e29
InstSimplify: Require instruction be parented
arsenm May 23, 2023
2ca21e8
InstSimplify: Remove null parent checks
arsenm May 24, 2023
f5371eb
[Damangle] convert dlangDemangle to use std::string_view
nickdesaulniers Jun 2, 2023
6a2e0cb
Properly restore SP tag on exceptions
fmayer Jun 2, 2023
456468a
[ThinLTO] Fix internalization decisions for weak/linkonce ODR
teresajohnson Jun 1, 2023
14c44df
clang: Update tests after InstSimplify change
arsenm Jun 2, 2023
d6f994a
[InlineCost] Check for conflicting target attributes early
kazutakahirata Jun 2, 2023
ddc7625
[gn] port 6b3ae49d3243
nico Jun 2, 2023
0a16813
[scudo] Add 'inline' to static secondary.h function
Caslyn Jun 2, 2023
6a38c77
[mlir][sparse] fixed bug with unary op, dense output
aartbik Jun 2, 2023
5a4e344
[libc][NFC] Add LIBC_INLINE and attribute.h header includes to target…
lntue Jun 2, 2023
e7b4c93
[mlir][sparse] fix crash when using sparse_tensor::UnaryOp and ReduceOp.
Jun 3, 2023
84ee08c
[RISCV] Avoid illegal DAG combination for strict-fp nodes.
Jun 2, 2023
fb7f50a
[CodeGen] Use DenseMapBase::lookup (NFC)
kazutakahirata Jun 3, 2023
e501ed8
[AMDGPU] Don't flush vmcnt for loops with use/def pairs
kerbowa May 22, 2023
aa7eace
[TableGen][GlobalISel] Account for HwMode in RegisterBank register sizes
nitinjohnraj Jun 3, 2023
39aa0f5
[CMake] Ensure `CLANG_RESOURCE_DIR` is respected.
Jun 3, 2023
1ac99bc
[InstSimplify] Simplify select i1 ConstExpr, i1 true, i1 false to Con…
Jun 1, 2023
57dc16f
[llvm] Strip stabs symbols in Mach-O when stripping debug info
glandium Jun 3, 2023
d072d11
Revert "[CMake] Ensure `CLANG_RESOURCE_DIR` is respected."
mstorsjo Jun 3, 2023
41f8b6f
[GlobalIsel][X86] Regenerate G_MUL scalar legalization tests
RKSimon Jun 2, 2023
2f62803
coach UpdateTestChecks to filter out certain symbol aliases for m68k
0x59616e Jun 3, 2023
6595cb1
[m68k] Implement BSR Instruction
0x59616e Jun 3, 2023
40d89de
[m68k] Implement absolution long addressing mode for ADDA instruction
0x59616e Jun 3, 2023
4c2ec08
[m68k] Add TLS Support
0x59616e Jun 3, 2023
0beffb8
[CMake] Ensure `CLANG_RESOURCE_DIR` is respected.
Jun 3, 2023
287f201
[flang] Fix for 541f5c4a6db35870091dd15dfa09dde751229a17 (D140524) br…
hmk46 Jun 3, 2023
34d380e
[IndVars] Add check of loop invariant for indirect use
vfdff Jun 3, 2023
684f3c9
[Clang] Fix status of P0960
cor3ntin May 8, 2023
8dc7647
[AST] Use DenseMapBase::lookup (NFC)
kazutakahirata Jun 3, 2023
8e6e659
[Serialization] Remove unused function getKnownModules
kazutakahirata Jun 3, 2023
2a8c1fd
[MCA] Modernize Pipeline (NFC)
kazutakahirata Jun 3, 2023
1cb3827
[Clang][RISCV] Avoid generating MaskedPrototype if the intrinsic does…
eopXD Jun 3, 2023
4dcd66a
[GlobalIsel][X86] Update legalization of G_MUL
RKSimon Jun 3, 2023
064b98f
[MCA] Modernize IncrementalSourceMgr (NFC)
kazutakahirata Jun 3, 2023
87709b7
[llvm-mca] Modernize MCACommentConsumer (NFC)
kazutakahirata Jun 3, 2023
b48ebad
[MCA] Modernize StallInfo (NFC)
kazutakahirata Jun 3, 2023
6d4d019
[MCA] Modernize MemoryGroup (NFC)
kazutakahirata Jun 3, 2023
83d4f68
[MCA] Modernize RAWHazard (NFC)
kazutakahirata Jun 3, 2023
7975641
[MCA] Modernize Stage (NFC)
kazutakahirata Jun 3, 2023
4b97649
[clang-format] Fix overlapping replacements before PPDirectives
owenca Jun 2, 2023
fcbbd96
[libcxx] Fix using std::wcout/wcin on Windows with streams configured…
mstorsjo Mar 15, 2023
ac0ea75
[clang-tools-extra] Fix linking when built with CLANG_LINK_CLANG_DYLI…
mstorsjo Jun 3, 2023
2f93cfe
[Docs][CMake] Add LLVM_ENABLE_HTTPLIB to CMake options list
boomanaiden154 Jun 3, 2023
2ff0aa2
[CMake][Fuchsia] Add LLVM_ENABLE_HTTPLIB to Stage 2 build
boomanaiden154 Jun 3, 2023
ea8f4b9
[libc][CMake] Place archives in build/lib/<target-triple>
boomanaiden154 Jun 3, 2023
79c27e0
Attributor: Fix comment typos
arsenm Jun 3, 2023
ff75a2b
[AVR] Fix incorrect operands of pseudo instruction 'ROLBRd'
Patryk27 Jun 4, 2023
808004f
[clang][NFC] Reformat expandTabs
tbaederr Jun 4, 2023
59048a3
[AST] Remove unused declaration makeDeclVisibleInContextInternal
kazutakahirata Jun 4, 2023
2029d39
[DWARFLinker] Remove unused declaration keepDIEAndDependencies
kazutakahirata Jun 4, 2023
5254354
[IR] Remove unused declaration removeParamUndefImplyingAttrs
kazutakahirata Jun 4, 2023
8514082
[MC] Modernize InlineAsmIdentifier (NFC)
kazutakahirata Jun 4, 2023
f4eafba
[MemCpyOpt] Remove unnecessary bitcast and reuse some variables for B…
khei4 Jun 3, 2023
fbdcd54
[GlobalISel] Fix DIVREM combine from inserting a divrem before its op…
aemerson Jun 4, 2023
c37e6a2
[Hexagon] Check if register is non-null before calling subregs_inclusive
s-barannikov May 25, 2023
9424a54
[GlobalIsel][X86] Update legalization of G_AND/G_OR/G_XOR
RKSimon Jun 4, 2023
7a25870
[CodeGen] Fix incorrect usage of MCPhysReg for diff list elements
s-barannikov May 20, 2023
e0ba9b2
[DWARFLinkerParallel] Add interface files, create a skeleton implemen…
avl-llvm Mar 31, 2023
2150231
[gn build] Port e0ba9b2ace7f
llvmgnsyncbot Jun 4, 2023
66e5678
Revert "[DWARFLinkerParallel] Add interface files, create a skeleton …
avl-llvm Jun 4, 2023
73f55f7
[GlobalIsel][X86] Remove some unused setLegalizerInfo* methods. NFC.
RKSimon Jun 4, 2023
e8bd2a5
[clang][CodeGen] Break up TargetInfo.cpp [6/8]
s-barannikov May 9, 2023
3a45825
[gn build] Port 66e5678fece3
llvmgnsyncbot Jun 4, 2023
6effec1
[GlobalIsel][X86] Move G_PTRTOINT/G_INTTOPTR legalization before lega…
RKSimon Jun 4, 2023
c9b9b08
[MC] Remove unused mc_difflist_iterator constructor (NFC)
s-barannikov Jun 4, 2023
53a7c25
[AVR][NFC][test] Suppement a test of the pseudo instruction RORBRd
benshi001 Jun 4, 2023
0702d4e
[GlobalIsel][X86] Move G_ICMP legalization before legacy handling and…
RKSimon Jun 4, 2023
c755031
[NFC][CLANG] Fix Static Code Analyzer Concerns
smanna12 Jun 4, 2023
b0525f6
[NFC][CLANG] [NFC][CLANG] Fix nullptr dereference issue in ConvertQua…
smanna12 Jun 4, 2023
7e1ee1e
[libcxx] Add strict weak ordering checks to sorting algorithms
danlark1 Jun 4, 2023
7226162
[gn build] Port 7e1ee1e10dc0
llvmgnsyncbot Jun 4, 2023
36f3510
[DWARFLinkerParallel][Reland] Add interface files, create a skeleton …
avl-llvm Mar 31, 2023
373b54b
[gn build] Port 36f351098cd5
llvmgnsyncbot Jun 4, 2023
0b8fbd4
make sanitizer happy for 36f351098cd50809658493d9b2e22a795874bab0.
avl-llvm Jun 4, 2023
e192974
[LV] Check if value was already not uniform for previous VF.
fhahn Jun 4, 2023
9d531c2
[bazel] Port 36f351098cd5
d0k Jun 4, 2023
8f7496b
[Docs][llvm-mc] Fix location of statement
boomanaiden154 Jun 4, 2023
ba0aa2e
[mlir][bytecodegen] Remove comments (NFC).
jpienaar Jun 4, 2023
a9d003e
[mlir][bytecodegen] Add ReservedOrDead marker.
jpienaar Jun 4, 2023
d4100f0
Fix test bot breakage from 36f351098cd50809658493d9b2e22a795874bab0
avl-llvm Jun 4, 2023
1f8a33c
[mlir][bytecodegen] Add list helper methods.
jpienaar Jun 4, 2023
4b27ad7
[AIX] use system assembler for assembly files
Jun 5, 2023
01cc388
[NFC][COFF] Use COFFSection.MCSection when writeSection
HaohaiWen Jun 5, 2023
29663e2
[clang][CodeGen] Account for VTT address space
AlexVlx Jun 5, 2023
01c755f
Make optimize llvm common to both gpu-to-hsaco/cubin
Jun 5, 2023
c45c962
[Affine-fusion] Fix a bug in mod detection
Jun 5, 2023
b56c439
[NFC][COFF] clang-format WinCOFFObjectWriter and MCWinCOFFObjectWriter
HaohaiWen Jun 5, 2023
69bc8ff
Reland "[PowerPC] Simplify fp-to-int store optimization"
ecnelises Jun 5, 2023
eecaeb6
[FPEnv] Intrinsics for access to FP environment
spavloff Jun 5, 2023
590c6a1
[PowerPC] Require FPCVT for store fptoi combination
ecnelises Jun 5, 2023
4abccd3
[mlir][memref][transform] Register memref dialect patterns
matthias-springer Jun 5, 2023
6f57d8d
Revert "[XCOFF][DWARF] XCOFF64 should be able to select the dwarf for…
Jun 5, 2023
3486615
[bazel] add missing dep for GPUTransforms
metaflow Jun 5, 2023
79caedf
[NFC][RFC][TableGen] Split GlobalISelEmitter.cpp
Pierre-vh May 25, 2023
c7ac32b
[gn build] Port 79caedf5f899
llvmgnsyncbot Jun 5, 2023
bbcd998
Revert "[NFC][RFC][TableGen] Split GlobalISelEmitter.cpp"
Pierre-vh Jun 5, 2023
95bfbf2
[gn build] Port bbcd998efdb5
llvmgnsyncbot Jun 5, 2023
8ec4498
[clangd] Do not end inactiveRegions range at position 0 of line
HighCommander4 May 23, 2023
bc7f65c
[mlir][Bazel] Adjust BUILD files for a9d003ef855ff7ed1bf4f8229ee9944b…
akuegel Jun 5, 2023
225cf64
fix failures caused by https://reviews.llvm.org/D148490
Jun 5, 2023
9e17e08
[PowerPC] Combine fptoint-store under strict cases
ecnelises Jun 5, 2023
d476ece
Adopt Properties in builtin dialect
joker-eph Jun 5, 2023
b447dc5
use // instad of ; in c file tests, NFC
Jun 5, 2023
2b4807b
[AArch64][SVE] Predicated mla/mls patterns
davemgreen Jun 5, 2023
62ad0bd
Merge commit '2b4807ba' into matthias.bump_llvm_green-2b4807
mgehre-amd Jun 15, 2023
ae98bc3
Merge remote-tracking branch 'xlnx/misc_fixes' into matthias.bump_llv…
mgehre-amd Jun 16, 2023
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
  •  
  •  
  •  
33 changes: 33 additions & 0 deletions .github/workflows/release-tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,36 @@ jobs:
git config user.name "llvmbot"
git commit -a -m "Add ${{ steps.validate-tag.outputs.release-version }} documentation"
git push https://${{ secrets.WWW_RELEASES_TOKEN }}@github.com/${{ github.repository_owner }}/www-releases main:main

release-lit:
runs-on: ubuntu-latest
if: github.repository == 'llvm/llvm-project'
steps:
- name: Checkout LLVM
uses: actions/checkout@v3

- name: Install dependencies
run: apt-get install -y python3-setuptools

- name: Test lit
run: |
cd llvm/utils/lit
python3 lit.py tests

- name: Package lit
run: |
cd llvm/utils/lit
# Remove 'dev' suffix from lit version.
sed -i "s/ + 'dev'//g" lit/__init__.py
python3 setup.py sdist

- name: Upload lit to test.pypi.org
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.LLVM_LIT_TEST_PYPI_API_TOKEN }}
repository-url: https://test.pypi.org/legacy/

- name: Upload lit to pypi.org
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.LLVM_LIT_PYPI_API_TOKEN }}
12 changes: 12 additions & 0 deletions bolt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ set(BOLT_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
set(BOLT_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR})
set(CMAKE_CXX_STANDARD 17)

# Add path for custom modules.
list(INSERT CMAKE_MODULE_PATH 0 "${BOLT_SOURCE_DIR}/cmake/modules")

# Determine default set of targets to build -- the intersection of
# those BOLT supports and those LLVM is targeting.
set(BOLT_TARGETS_TO_BUILD_all "AArch64;X86")
Expand Down Expand Up @@ -111,6 +114,15 @@ endif()

find_program(GNU_LD_EXECUTABLE NAMES ${LLVM_DEFAULT_TARGET_TRIPLE}-ld.bfd ld.bfd DOC "GNU ld")

include(AddBOLT)

option(BOLT_BUILD_TOOLS
"Build the BOLT tools. If OFF, just generate build targets." ON)

add_custom_target(bolt)
set_target_properties(bolt PROPERTIES FOLDER "BOLT")
add_llvm_install_targets(install-bolt DEPENDS bolt COMPONENT bolt)

include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/include
${CMAKE_CURRENT_BINARY_DIR}/include
Expand Down
36 changes: 36 additions & 0 deletions bolt/cmake/modules/AddBOLT.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
include(GNUInstallDirs)
include(LLVMDistributionSupport)

macro(add_bolt_executable name)
add_llvm_executable(${name} ${ARGN})
set_target_properties(${name} PROPERTIES FOLDER "BOLT")
endmacro()

macro(add_bolt_tool name)
if (NOT BOLT_BUILD_TOOLS)
set(EXCLUDE_FROM_ALL ON)
endif()

add_bolt_executable(${name} ${ARGN})

if (BOLT_BUILD_TOOLS)
get_target_export_arg(${name} BOLT export_to_bolttargets)
install(TARGETS ${name}
${export_to_bolttargets}
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
COMPONENT bolt)

if(NOT LLVM_ENABLE_IDE)
add_llvm_install_targets(install-${name}
DEPENDS ${name}
COMPONENT bolt)
endif()
set_property(GLOBAL APPEND PROPERTY BOLT_EXPORTS ${name})
endif()
endmacro()

macro(add_bolt_tool_symlink name dest)
llvm_add_tool_symlink(BOLT ${name} ${dest} ALWAYS_GENERATE)
# Always generate install targets
llvm_install_symlink(BOLT ${name} ${dest} ALWAYS_GENERATE COMPONENT bolt)
endmacro()
8 changes: 4 additions & 4 deletions bolt/include/bolt/Profile/DataAggregator.h
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,10 @@ class DataAggregator : public DataReader {
/// execution order.
///
/// Return true if the trace is valid, false otherwise.
bool recordTrace(
BinaryFunction &BF, const LBREntry &First, const LBREntry &Second,
uint64_t Count = 1,
SmallVector<std::pair<uint64_t, uint64_t>, 16> *Branches = nullptr) const;
bool
recordTrace(BinaryFunction &BF, const LBREntry &First, const LBREntry &Second,
uint64_t Count,
SmallVector<std::pair<uint64_t, uint64_t>, 16> &Branches) const;

/// Return a vector of offsets corresponding to a trace in a function
/// (see recordTrace() above).
Expand Down
37 changes: 19 additions & 18 deletions bolt/lib/Profile/DataAggregator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -838,11 +838,9 @@ bool DataAggregator::doTrace(const LBREntry &First, const LBREntry &Second,
}

bool DataAggregator::recordTrace(
BinaryFunction &BF,
const LBREntry &FirstLBR,
const LBREntry &SecondLBR,
BinaryFunction &BF, const LBREntry &FirstLBR, const LBREntry &SecondLBR,
uint64_t Count,
SmallVector<std::pair<uint64_t, uint64_t>, 16> *Branches) const {
SmallVector<std::pair<uint64_t, uint64_t>, 16> &Branches) const {
BinaryContext &BC = BF.getBinaryContext();

if (!BF.isSimple())
Expand Down Expand Up @@ -902,24 +900,27 @@ bool DataAggregator::recordTrace(
return false;
}

// Record fall-through jumps
BinaryBasicBlock::BinaryBranchInfo &BI = BB->getBranchInfo(*NextBB);
BI.Count += Count;

if (Branches) {
const MCInst *Instr = BB->getLastNonPseudoInstr();
uint64_t Offset = 0;
if (Instr)
Offset = BC.MIB->getOffsetWithDefault(*Instr, 0);
else
Offset = BB->getOffset();
const MCInst *Instr = BB->getLastNonPseudoInstr();
uint64_t Offset = 0;
if (Instr)
Offset = BC.MIB->getOffsetWithDefault(*Instr, 0);
else
Offset = BB->getOffset();

Branches->emplace_back(Offset, NextBB->getOffset());
}
Branches.emplace_back(Offset, NextBB->getOffset());

BB = NextBB;
}

// Record fall-through jumps
for (const auto &[FromOffset, ToOffset] : Branches) {
BinaryBasicBlock *FromBB = BF.getBasicBlockContainingOffset(FromOffset);
BinaryBasicBlock *ToBB = BF.getBasicBlockAtOffset(ToOffset);
assert(FromBB && ToBB);
BinaryBasicBlock::BinaryBranchInfo &BI = FromBB->getBranchInfo(*ToBB);
BI.Count += Count;
}

return true;
}

Expand All @@ -930,7 +931,7 @@ DataAggregator::getFallthroughsInTrace(BinaryFunction &BF,
uint64_t Count) const {
SmallVector<std::pair<uint64_t, uint64_t>, 16> Res;

if (!recordTrace(BF, FirstLBR, SecondLBR, Count, &Res))
if (!recordTrace(BF, FirstLBR, SecondLBR, Count, Res))
return std::nullopt;

return Res;
Expand Down
18 changes: 15 additions & 3 deletions bolt/lib/Rewrite/BoltDiff.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ static cl::opt<bool> NormalizeByBin1(
"collection time and sampling rate for this to make sense"),
cl::cat(BoltDiffCategory));

static cl::opt<bool>
SkipNonSimple("skip-non-simple",
cl::desc("skip non-simple functions in reporting"),
cl::ReallyHidden, cl::cat(BoltDiffCategory));

} // end namespace opts

namespace llvm {
Expand Down Expand Up @@ -428,8 +433,10 @@ class RewriteInstanceDiff {
llvm::make_second_range(llvm::reverse(LargestDiffs))) {
const double Score2 = getNormalizedScore(*BB2, RI2);
const double Score1 = getNormalizedScore(*BBMap[BB2], RI1);
outs() << "BB " << BB2->getName() << " from "
<< BBToFuncMap[BB2]->getDemangledName()
const BinaryFunction *Func = BBToFuncMap[BB2];
if (opts::SkipNonSimple && !Func->isSimple())
continue;
outs() << "BB " << BB2->getName() << " from " << Func->getDemangledName()
<< "\n\tScore bin1 = " << format("%.4f", Score1 * 100.0)
<< "%\n\tScore bin2 = " << format("%.4f", Score2 * 100.0);
outs() << "%\t(Difference: ";
Expand Down Expand Up @@ -460,9 +467,12 @@ class RewriteInstanceDiff {
EdgeTy &Edge1 = EI.second;
const double Score2 = std::get<2>(Edge2);
const double Score1 = std::get<2>(Edge1);
const BinaryFunction *Func = BBToFuncMap[std::get<0>(Edge2)];
if (opts::SkipNonSimple && !Func->isSimple())
continue;
outs() << "Edge (" << std::get<0>(Edge2)->getName() << " -> "
<< std::get<1>(Edge2)->getName() << ") in "
<< BBToFuncMap[std::get<0>(Edge2)]->getDemangledName()
<< Func->getDemangledName()
<< "\n\tScore bin1 = " << format("%.4f", Score1 * 100.0)
<< "%\n\tScore bin2 = " << format("%.4f", Score2 * 100.0);
outs() << "%\t(Difference: ";
Expand Down Expand Up @@ -537,6 +547,8 @@ class RewriteInstanceDiff {
Score2 = LTOAggregatedScore2[Iter2->second];
if (Score1 == 0.0 || Score2 == 0.0)
continue;
if (opts::SkipNonSimple && !Func1->isSimple() && !Func2->isSimple())
continue;
LargestDiffs.insert(
std::make_pair<>(std::abs(Score1 - Score2), MapEntry));
ScoreMap[Func2] = std::make_pair<>(Score1, Score2);
Expand Down
7 changes: 7 additions & 0 deletions bolt/lib/Rewrite/DWARFRewriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,13 @@ void DWARFRewriter::updateUnitDebugInfo(
DWARFAddressRangesVector &ModuleRanges = *ModuleRangesOrError;
DebugAddressRangesVector OutputRanges =
BC.translateModuleAddressRanges(ModuleRanges);
std::optional<AttrInfo> LowPCAttrInfo =
findAttributeInfo(DIE, dwarf::DW_AT_low_pc);
// For a case where LLD GCs only function used in the CU.
// If CU doesn't have DW_AT_low_pc we are not going to convert,
// so don't need to do anything.
if (OutputRanges.empty() && !Unit.isDWOUnit() && LowPCAttrInfo)
OutputRanges.push_back({0, 0});
const uint64_t RangesSectionOffset =
RangesSectionWriter.addRanges(OutputRanges);
if (!Unit.isDWOUnit())
Expand Down
2 changes: 0 additions & 2 deletions bolt/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ list(APPEND BOLT_TEST_DEPS
lld
llvm-config
llvm-bolt
llvm-boltdiff
llvm-bolt-heatmap
llvm-bat-dump
llvm-dwarfdump
Expand All @@ -52,7 +51,6 @@ list(APPEND BOLT_TEST_DEPS
llvm-objcopy
merge-fdata
not
perf2bolt
split-file
yaml2obj
)
Expand Down
Loading