Skip to content

LLVM and SPIRV-LLVM-Translator pulldown (WW29) #10427

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

Closed
wants to merge 2,783 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2783 commits
Select commit Hold shift + click to select a range
636f772
[mlir][Arith] Make previous load-bearing assert into a real error
krzysz00 Jul 12, 2023
4ea6cee
Add test case back but with !REQUIRES: amdgpu-registered-target.
jsjodin Jul 13, 2023
fa46feb
[AMDGPU] Use V_FMA_MIX* more often
Jul 13, 2023
0249ea6
[TableGen][CodeEmitterGen] Fix SubOpAliases MIOperandNo mixup
iii-i Jul 13, 2023
d85b94b
[Flang] -funderscoring bug fix
madanial0 Jul 13, 2023
11b9865
[RISCV] Simplify glue handling logic in performCombineVMergeAndVOps […
preames Jul 13, 2023
a25edba
[flang][NFC] Remove duplicate of getDesignatorNameIfDataRef function
clementval Jul 13, 2023
d3a0df7
[flang][openacc] Add semantic check for reduction operator and types
clementval Jul 13, 2023
c660a2f
[X86] Fold ANDNP(X,NOT(Y)) -> NOT(OR(X,Y))
RKSimon Jul 13, 2023
d986462
[Driver] Recognize powerpc-unknown-eabi as a bare-metal toolchain
cwalther Jul 13, 2023
1fa4a0a
[flang][hlfir] Fixed character allocatable in structure constructor.
vzakhari Jul 13, 2023
ca8ef82
[RISCV] Factor out a dupiicate bit of repeated code in performCombine…
preames Jul 13, 2023
22a1677
[flang] Fix OMPEarlyOutlining erasing declare target functions
jsjodin Jul 13, 2023
f648c9f
[RISCV] Tail common repeated code in performCombineVMergeAndVOps [nfc]
preames Jul 13, 2023
e909a2c
[Flang][OpenMP][Lower] Program level implicit SAVE variable handling …
agozillon Jul 13, 2023
8bb9414
[Demangle] use std::string_view::data rather than &*std::string_view:…
nickdesaulniers Jul 13, 2023
c1bb2d0
[RISCV] Common post-mask operand construction in performCombineVMerge…
preames Jul 13, 2023
c0de76c
[Driver] Remove unneeded useRelaxRelocations overrides
MaskRay Jul 13, 2023
41afc42
[BOLT][DWARF][NFC] Set initial offset of DIE
ayermolo Jul 13, 2023
86eff48
[mlir][sparse][gpu] force 16-byte alignment on data structs for cuSpa…
aartbik Jul 12, 2023
d212e99
[RISCV] Update test after the addition for rounding mode to vfadd int…
topperc Jul 13, 2023
432338a
Don't assert on a non-pointer value being used for a "p" inline asm c…
aemerson Jul 11, 2023
4940128
[BOLT][DWARF][NFC] Fix false positive error
ayermolo Jul 13, 2023
1d7a3dc
[lldb] Forward declare SBPlatform and SBTypeMember in SBDefines
bulbazord Jul 12, 2023
790b75e
[BOLT][DWARF] Fix adding DW_AT_GNU_ranges_base
ayermolo Jul 13, 2023
dab5f56
[libc++] Fix filesystem tests on platforms that don't have IO
ldionne Jul 11, 2023
d74421a
Remove Clang :: CodeGenCXX/unified-cfi-lto.cpp due to buildbot failures
ormris Jul 13, 2023
e6724cb
[BOLT] Add reading support for Linux ORC sections
maksfb Jul 10, 2023
844fba2
[RISCV] Reason explicitly about mask and rounding mode in performComb…
preames Jul 13, 2023
dd630d8
[BOLT][NFC] Add post-CFG processing to MetadataRewriter interface
maksfb Jul 13, 2023
138e2ab
[BOLT] Attach ORC info to instructions in CFG
maksfb Jul 13, 2023
59715e7
Switch to strncpy to silence GCC stringop overflow warnings.
lhames Jul 13, 2023
dd1a4bb
[flang][openacc] Add support for complex mul reduction
clementval Jul 13, 2023
c25e48c
[lldb] Move CommandOverrideCallbackWithResult to lldb_private namespace
bulbazord Jul 12, 2023
b8e29db
[RISCV] Common remaining operand logic in performCombineVMergeAndVOps…
preames Jul 13, 2023
e5aa4cf
[lldb] Support Compact C Type Format (CTF) section
JDevlieghere Jul 6, 2023
ee44310
[lldb] Support Compact C Type Format (CTF)
JDevlieghere Jul 10, 2023
b7acb3d
[DebugInfo] Force users of DWARFDebugAbbrev to call parse before iter…
bulbazord Jul 6, 2023
4f58e16
[AMDGPU][MC] Pre-commit tests for the noa16 intersect_ray instruction…
kosarev Jul 13, 2023
201cf54
[RISCV] Correct resource cycles for vzext/vsext in SiFive7 scheduler.
topperc Jul 13, 2023
55e2772
[RISCV] Add initial SDNode patterns for unary zvbb instructions
lukel97 Jul 13, 2023
289ae65
[AMDGPU][MC] Fix handling of A16 operands in intersect_ray instructions.
kosarev Jul 13, 2023
7b6e606
[AMDGPU][AsmParser][NFC] Translate parsed MIMG instructions to MCInst…
kosarev Jul 13, 2023
9a53afd
[flang][runtime] Support in-tree device build of Flang runtime.
vzakhari Jul 13, 2023
6b7805f
[AMDGPU][IGLP] Add iglp_opt(1) strategy for single wave gemms
Apr 28, 2023
22a32f7
[mlir][gpu] Add dump-ptx option
grypp Jul 13, 2023
329b8cd
[PowerPC] Improve code gen for vector add
nemanjai Jul 4, 2023
0aecddc
[RISCV] Add Zce extension.
topperc Jul 13, 2023
7972b9c
[AMDGPU] Move SIEncodingFamily into SIDefines.h. NFC.
rampitec Jul 13, 2023
3ff3af3
[lldb] Add missing StringExtras.h includes
elliotgoodrich Jul 13, 2023
3900860
[Support] Move StringExtras.h include from Error.h to Error.cpp
elliotgoodrich Jul 8, 2023
91b9bde
[AMDGPU] Support -mcpu=native for OpenCL
yxsamliu Jul 5, 2023
6dc2ab9
[mlir] Don't make the ROCm conversions depend on the execution engine
krzysz00 Jul 13, 2023
a48f32d
Include some llvm/Support/StringExtras.h after D155178
MaskRay Jul 13, 2023
8fc433f
[mlir][MemRef] Move narrow type emulation common methods to MemRefUtils.
hanhanW Jul 11, 2023
816141c
[llvm-debuginfod] Include llvm/Support/StringExtras.h after D155178
MaskRay Jul 13, 2023
6504d87
[clang][modules] Deserialize included files lazily
jansvoboda11 Jul 13, 2023
0e285a1
[lldb] Support compressed CTF
JDevlieghere Jul 13, 2023
ec6b40a
[SLP]Add a test with the stores with long distances between them, NFC.
alexey-bataev Jul 13, 2023
b716d4e
[lldb] Move decorators to test method
JDevlieghere Jul 13, 2023
f0acfaf
[llvm][utils] Disable lldb formatters for PointerIntPair and PointerU…
kastiglione Jul 13, 2023
bd03e0c
[libc++][NFC] Suppress -Wdeprecated-literal-operator
poyaoc97 Jul 13, 2023
74e928a
[amdgpu][lds] Remove recalculation of LDS frame from backend
JonChesterfield Jul 13, 2023
f6f817d
[mlir][sparse][gpu] minor improvements in 2:4 example
aartbik Jul 13, 2023
b31be75
[AArch64] Replace OperandMatchResultTy with ParseStatus (NFC)
s-barannikov Jul 2, 2023
5141a52
[ARM] Replace OperandMatchResultTy with ParseStatus (NFC)
s-barannikov Jul 1, 2023
d3316bc
[amdgpu] Delete elide-module-lds attribute
JonChesterfield Jul 13, 2023
61962aa
[compiler-rt][AArch64] Correct how FMV use ifunc resolver abi.
ilinpv Jul 11, 2023
f05b58a
[clang] Support '-fgpu-default-stream=per-thread' for NVIDIA CUDA
boxu-zhang Jul 12, 2023
a01d183
[DebugInfo] Add missing dependency on intrinsics_gen
jroelofs Jul 14, 2023
fd691fc
[InstCombine] Add tests for `icmp eq/ne ({su}div exact X, Y), C`; NFC
goldsteinn May 7, 2023
ddd18d0
[InstCombine] Transform `icmp eq/ne ({su}div exact X,Y),C` -> `icmp e…
goldsteinn Jul 14, 2023
5e28d30
[XCOFF][AIX] Peephole optimization for toc-data.
mandlebug Jul 13, 2023
682fe17
[MC/AsmLexer] Add '?' (Question) token
s-barannikov Jun 30, 2023
97678ce
[mlir][sparse][gpu] remove zero init memset
aartbik Jul 14, 2023
ef33d6c
[XRay] Add initial support for loongarch64
SixWeining Jul 14, 2023
28c3380
Remove unnecessary std::moves [NFC]
Sterling-Augustine Jul 14, 2023
3a9683f
Fix comparison of constrained deduced return types in explicit
zygoloid Jul 14, 2023
cf40fde
[mlir] Don't emit forward declaration for user defined storage classes
uenoku Jul 14, 2023
bac3a63
Merge from 'main' to 'sycl-web' (127 commits)
wwXing0 Jul 14, 2023
629460a
[mlir] Improve syntax of `distinct[n]<unit>`
zero9178 Jul 13, 2023
61d2a9b
[libc++] Implement istringstream members of P0408R7 (Efficient Access…
pfusik Jul 10, 2023
3277aaa
[libcxx] [test] Skip timezone formatting tests on Windows
mstorsjo Jul 13, 2023
e5296c5
[AMDGPU] Relax restrictions on unbreakable PHI users in BreakLargePHis
Pierre-vh Jul 13, 2023
53717ca
[IR] Remove -opaque-pointers option
nikic Jul 12, 2023
8338354
[MLIR] Remove explicit -opaque-pointers flag from test (NFC)
nikic Jul 14, 2023
5649b24
[clangd] Fix an assertion failure in NamedDecl::getName during the pr…
hokein Jul 14, 2023
4136e08
[IR] Remove LLVMPointerToElt and LLVMAnyPointerToElt intrinsic types …
nikic Jul 13, 2023
8e55e33
[llvm] Remove calls to setOpaquePointers() (NFC)
nikic Jul 14, 2023
0d81093
[llvm] Remove calls to supportsTypedPointers() (NFC)
nikic Jul 14, 2023
2d6a5ab
[X86]Recommit D154193 - Remove TEST in AND32ri+TEST16rr in peephole-opt
XinWang10 Jul 10, 2023
2ac9920
[RISCV] Narrow types of index operand matched pattern (shl (zext), C).
Jul 7, 2023
6040044
[mlir][vector] VectorToSCF: Omit redundant out-of-bounds check
matthias-springer Jul 14, 2023
7a328cf
[include-cleaner] Bail out in the standalone tool for invalid ignore-…
hokein Jul 14, 2023
8fe0449
[RISCV] Fix required features checking with empty string
tclin914 Jul 14, 2023
61e0822
[llvm][clang] Remove uses of isOpaquePointerTy() (NFC)
nikic Jul 14, 2023
0680795
[llvm] Remove uses of hasSameElemenTypeAs() (NFC)
nikic Jul 14, 2023
a8e76e8
[Verifier] Remove typed pointer verification (NFC)
nikic Jul 14, 2023
2cc79ba
[LLParser] Remove checks related to typed pointers (NFC)
nikic Jul 14, 2023
69365ae
[RandomIRBuilder] Remove use of getNonOpaquePointerElementType() (NFC)
nikic Jul 14, 2023
afdb83b
[RandomIRBuilder] Remove use of getNonOpaquePointerElementType() (NFC)
nikic Jul 14, 2023
78d00a1
[mlir][LLVM] Convert alias metadata to using attributes instead of ops
zero9178 Jul 12, 2023
305ad9a
[Flang][OpenMP] Use typed assignment in Atomic Write lowering
kiranchandramohan Jul 14, 2023
0489cfe
Revert "[RandomIRBuilder] Remove use of getNonOpaquePointerElementTyp…
nicolasvasilache Jul 14, 2023
8b161e9
[mlir][memref] NFC - Move utility function declaration from IR/MemRef…
nicolasvasilache Jul 14, 2023
edf9f88
[AArch64] Handle 64bit vector s/umull from extracts
davemgreen Jul 14, 2023
f8ffd67
[HexagonVectorCombine] Remove use of getNonOpaquePointerElementType()…
nikic Jul 14, 2023
720debc
[X86] Fold PACKSS(NOT(X),NOT(Y)) -> NOT(PACKSS(X,Y))
RKSimon Jul 14, 2023
3eae1bf
[llvm] Remove uses of getNonOpaquePointerElementType() (NFC)
nikic Jul 14, 2023
701a8b3
[InstCombine] Add test for ctlz->cttz fold with constant in select (NFC)
nikic Jul 14, 2023
cd1dcd2
[InstCombine] Handle const select arm in foldSelectCtlzToCttz()
nikic Jul 14, 2023
b6c2f10
[lld][COFF] Find libraries with relative paths.
tru Jul 14, 2023
5c5a1a2
[RISCV] Introduce RISCVISD::CZERO_{EQZ,NEZ} nodes produce them when z…
asb Jul 14, 2023
c2f8fe7
[EarlyCSE] Precommit test for D153151
jayfoad Jun 16, 2023
9ff7181
[EarlyCSE] Do not CSE convergent calls with memory effects
jayfoad Jun 16, 2023
88f4292
[mlir][bufferization] OneShotBufferizeOp: Add options to use linalg.copy
matthias-springer Jul 14, 2023
1a5aa77
[mlir][linalg] BufferizeToAllocationOp: Add option to specify custom …
matthias-springer Jul 14, 2023
95075d3
[RISCV][test] Add RV32I and RV64I RUN lines to condops.ll test
asb Jul 14, 2023
c8bc1ab
[InstCombine] Add tests for cttz of lowest set bit (NFC)
nikic Jul 14, 2023
dc2b2ae
[InstCombine] Fold cttz of lowest set bit
nikic Jul 14, 2023
af744f0
[LLD][COFF] Add LLVM toolchain library paths by default.
tru Jul 14, 2023
96e5079
[clangd] Fix the range for include reference to itself.
VitaNuo Jul 13, 2023
893ad30
[InstCombine] Add test for add of zext and sext (NFC)
nikic Jul 14, 2023
2182726
[InstCombine] Fold add of zext and sext of i1
nikic Jul 14, 2023
9170fa5
[mlir][LLVM] Convert access group metadata to using attributes instea…
zero9178 Jul 14, 2023
bb6d60b
[FuncSpec][NFC] Sink cast into function.
labrinea Jul 13, 2023
d76338f
[mlir][vector] Simplify ExtractSliceOp/TransferWriteOp swapping pattern
matthias-springer Jul 14, 2023
fd5cda3
[mlir][vector][NFC] Minor VectorTransferOpInterface cleanup
matthias-springer Jul 14, 2023
6fdfc81
[SLP]Relax assertion to check if the input scalars were extended to
alexey-bataev Jul 14, 2023
6e55370
Hide some implementation details so they can't cause ODR conflicts. NFC.
d0k Jul 14, 2023
176981a
[clang][Diagnostics] Fix distant source ranges in bad-conversion notes
hazohelet Jul 14, 2023
bc8abb4
Revert "[SLP]Relax assertion to check if the input scalars were exten…
alexey-bataev Jul 14, 2023
91b8481
[InstSimplify] Add tests for recursive simplify with op replaced (NFC)
nikic Jul 14, 2023
5475441
[InstSimplify] Allow gep inbounds x, 0 -> x in non-refining op replac…
nikic Jul 14, 2023
8ab962e
[SLP]Relax assertion to check if the input scalars were extended to
alexey-bataev Jul 14, 2023
e21ccdc
[InstSimplify] Revert unintentional change
nikic Jul 14, 2023
70eafa3
[InstCombine] Regenerate AMDGPU test checks
jayfoad Jul 14, 2023
ed68282
Revert "[mlir][memref] NFC - Move utility function declaration from I…
nicolasvasilache Jul 14, 2023
3d199d0
[InstSimplify] Make simplifyWithOpReplaced() recursive (PR63104)
nikic Jul 13, 2023
9e54d5e
[mlir] NFC - Basic improvements to IndexingUtils (product and sum)
nicolasvasilache Jul 14, 2023
5e877ca
[mlir] Add an IntNEQValue predicate
nicolasvasilache Jul 14, 2023
668a3ef
Revert "[lldb][LocateModuleCallback] Fix LocateModuleCallbackTest"
rastogishubham Jul 14, 2023
df05449
Revert "[lldb][LocateModuleCallback] Call locate module callback"
rastogishubham Jul 14, 2023
b159c5f
[SystemZ] Use named MI sub-operands
iii-i Jul 14, 2023
98770ec
[mlir][bufferization] Add `buffer_loop_hoisting` transform op
matthias-springer Jul 14, 2023
25a81a1
Precommit tests on lowering *_fpenv on X86
spavloff May 12, 2023
be794e3
[X86][FPEnv] Lowering of {get,set,reset}_fpenv
spavloff Jul 14, 2023
55147ce
Revert "Revert "[lldb][LocateModuleCallback] Call locate module callb…
rastogishubham Jul 14, 2023
a76b3be
Revert "Revert "[lldb][LocateModuleCallback] Fix LocateModuleCallback…
rastogishubham Jul 14, 2023
76f2009
[libc++][NFC] Update emojis in the buildkite pipeline
philnik777 Jul 14, 2023
1ae4726
[AArch64] Mark some operands as OPERAND_IMMEDIATE.
davemgreen Jul 14, 2023
424392b
[PowerPC] Add DFP format instructions definitions and MC tests
lei137 Jul 4, 2023
3c0a136
[clang][Sema] Suggest static_cast in C++ code
abrachet Jul 14, 2023
563a23c
[clang][Sema] Add fixit for scoped enum format error
abrachet Jul 14, 2023
2bc7d02
Revert "[InstSimplify] Make simplifyWithOpReplaced() recursive (PR631…
nikic Jul 14, 2023
f6db55e
ubsan: disable sigaction test for aarch64
dvyukov Jul 14, 2023
0d3eee3
[RISCV] Add support for custom CSRs for Sifive S76.
quic-garvgupt Jul 14, 2023
4083ecf
[RISCV] Cleanups in CORE-V (xcv) extensions
simonpcook Jul 14, 2023
43b9d62
[lldb][Windows] Fix TestLocateModuleCallback
splhack Jul 12, 2023
ce22598
Disable GetOrCreateModuleWithCachedModule and GetOrCreateModuleWithCa…
rastogishubham Jul 14, 2023
7ee633a
[lldb][NFCI] Remove unneeded temporary std::string allocations in SBAPI
bulbazord Jul 12, 2023
4db6c71
[ORC] Switch from strncpy to memcpy to silence more GCC warnings.
lhames Jul 14, 2023
20c6b9d
[libc++][mdspan] Implement default_accessor
crtrott Jul 14, 2023
4c1e36f
[PowerPC] Add DFP test instruction definitions and MC tests
kamaub Jul 14, 2023
cb9f8a1
[gn build] Port 20c6b9d451ca
llvmgnsyncbot Jul 14, 2023
df71216
[RISCV] Make __builtin_riscv_clz/ctz return an unsigned int instead o…
topperc Jul 14, 2023
3a0a25f
[RISCV] Support i32 clmul* intrinsics on RV64.
topperc Jul 14, 2023
ad1e78b
[X86] Fix -Wunused-variable in -DLLVM_ENABLE_ASSERTIONS=off builds af…
MaskRay Jul 14, 2023
48da626
[OpenMP] Add documentation on using the `libc` in OpenMP
jhuber6 Jul 14, 2023
a5e093e
[llvm-objcopy] Remove stray periods from usage text
tkoeppe Jul 14, 2023
68d2814
[Debuginfod][unittest] Include llvm/Support/StringExtras.h
Caslyn Jul 14, 2023
62c1cf7
[PowerPC][Future] Enable __builtin_mma_xxm[t|f]acc
kamaub Jul 14, 2023
739164c
[OpenMP] Build device runtimes for sm_87
Munesanz Jul 14, 2023
4df01dc
[mlir][sparse][gpu][nvidia] add pruning step and check to 2:4 matrix …
aartbik Jul 14, 2023
db647f5
[mlir][GPU] Initialize LLVM exactly once during GPU compiles
krzysz00 Jul 11, 2023
28460a8
[RISCV] Add SEW to RISCVInversePseudoTable
michaelmaitland Jun 29, 2023
3d7d463
[llvm-mca][RISCV] Add RISCV-SEW instrument
michaelmaitland Jun 28, 2023
5185705
[CMake] Don't exclude llvm-debuginfod if httplib isn't available
petrhosek Jul 14, 2023
c158ddd
Reapply [RISCV] Fold binary op into select if profitable.
mgudim Jun 14, 2023
7a59e2c
[clang][NFC] Remove trailing whitespace from riscv_vector.td
philnik777 Jul 14, 2023
21ca892
[NFC][AMDGPU] Add automated tests in or.ll
kmitropoulou Jul 14, 2023
0af663f
[llvm-objdump] Create ObjectFile specific dumpers
MaskRay Jul 14, 2023
d3c304f
[DWARF] Fix undefined behaviour in dwarf type printer
momo5502 Jul 14, 2023
a1cdb32
[ARM] Adjust strd/ldrd codegen alignment requirements
momo5502 Jul 14, 2023
361beee
[flang][openacc] Add extent when creating acc.bounds in genBaseBoundsOps
clementval Jul 14, 2023
7d1143b
[llvm-objdump] Move printDynamicRelocations into ELFDump.cpp. NFC
MaskRay Jul 14, 2023
dfaf458
Precommit follow-up testcase for interleaved miscompile
annamthomas Jul 14, 2023
9675e3f
[LV] Address post-commit NFC comments in interleave
annamthomas Jul 14, 2023
b9543f7
Revert "[clang][Interp][NFC] Trim Source.h includes"
Sterling-Augustine Jul 14, 2023
dc078e6
TargetParser: fix getProcessTriple in universal builds
jroelofs Jul 14, 2023
0dcc78a
ORC: drop a FIXME that was addressed in dc078e6eaacf. NFC
jroelofs Jul 14, 2023
5b8b9b3
Revert "[UTC] Adapt version matcher to glob CLANG_VENDOR"
jdoerfert Jul 14, 2023
c1b1c40
Revert "[UTC] Generalize version regex"
jdoerfert Jul 14, 2023
75836eb
Revert "[UTC] Fix git URL regex"
jdoerfert Jul 14, 2023
b9f1df7
Revert "[UTC] Add fallback support for specific metadata, and check t…
jdoerfert Jul 14, 2023
4dc5662
[Attributor][NFC] Update all tests with the script
jdoerfert Jul 14, 2023
5554451
[Attributor] Allow IR-attr deduction for non-IPO amendable functions
jdoerfert Jul 10, 2023
2dbc532
[OMPT] Fix use of 'DEBUG_PREFIX' in the OMPT headers
jhuber6 Jul 14, 2023
5b012bf
[-Wunsafe-buffer-usage] Improving insertion of the [[clang::unsafe_bu…
ziqingluo-90 Jul 14, 2023
9115f18
[clang][JumpDiagnostics] bring VerifyIndirectOrAsmJumps to C++17
nickdesaulniers Jul 14, 2023
6d3027e
MachineSink: Move helper function and use more const
arsenm Jul 14, 2023
c4ccd6e
MachineSink: Remove unnecessary empty block check
arsenm Jul 14, 2023
bac2a07
clang: Attach !fpmath metadata to __builtin_sqrt based on language flags
arsenm Jul 3, 2023
4d633ca
Add include llvm/ADT/StringExtras.h to fix build error (#10414)
wwXing0 Jul 17, 2023
5c5709e
Guard "[ConstantFold]Remove typed pointer specific folds" with INTEL_…
wwXing0 Jul 17, 2023
1fd30a2
Merge from 'sycl' to 'sycl-web' (12 commits)
wwXing0 Jul 17, 2023
5ddad65
Merge with Conflict Resolutions
sys-ce-bb Jul 17, 2023
eb79957
Merge remote-tracking branch 'origin/sycl-web' into llvmspirv_pulldown
sys-ce-bb Jul 17, 2023
fdcee20
Fix @llvm.annotation translation with opaque pointers enabled. (#2035)
jcranmer-intel Jun 23, 2023
e34647c
optimizing away pair type object copy in spv writer
jgstarIntel Jun 27, 2023
c3bccf3
Implement support for SPV_KHR_shader_clock (#2026)
jgstarIntel Jun 29, 2023
875be4d
Fix translation of SPV_INTEL_debug_module extension
vmaksimo Jul 3, 2023
3365a7a
Remove unnecessary semicolons (#2071)
svenvh Jul 6, 2023
8e68fb0
Cache CU value translated outside of usual flow (#2072)
vmaksimo Jul 7, 2023
7f1c923
Switch the default of reverse translation to emitting opaque pointers…
jcranmer-intel Jul 7, 2023
b73de08
Migrate queue argument tests (#2075)
svenvh Jul 10, 2023
4823e59
.clang-tidy: disable misc-include-cleaner (#2077)
svenvh Jul 11, 2023
8f86b89
Fix DebugTypeSubrange parameters order (#2076)
MrSidims Jul 12, 2023
4c82652
Update DebugInfo tests for op-index addition (#2079)
svenvh Jul 13, 2023
313ad0a
Emit target extension types for SPIR-V friendly IR.
jcranmer-intel Jul 12, 2023
d27b674
Use -emit-opaque-pointers for SPIR-V-friendly IR.
jcranmer-intel Jul 12, 2023
6a57011
Convert tests to use -emit-opaque-pointers (#2084)
jcranmer-intel Jul 17, 2023
e85dd11
Correctly use cached DICompilationUnit (#2080)
MrSidims Jul 17, 2023
0f1298e
Merge from 'sycl' to 'sycl-web' (5 commits)
wwXing0 Jul 18, 2023
2fecb72
Merge from 'sycl' to 'sycl-web' (34 commits)
Jul 18, 2023
b53ee9b
Merge from 'main' to 'sycl-web' (8 commits)
wwXing0 Jul 18, 2023
6220941
Merge from 'main' to 'sycl-web' (7 commits)
Jul 18, 2023
e6e8ec3
Guard "[IR] Remove LLVMPointerTo intrinsic type (NFC)" with INTEL_SYC…
wwXing0 Jul 19, 2023
8d8ed18
Merge from 'sycl' to 'sycl-web' (22 commits)
Jul 19, 2023
100d129
Merge from 'main' to 'sycl-web' (127 commits)
wwXing0 Jul 19, 2023
2ec02fa
Revert "[SCEVExpander] Remove GEP add rec splitting code (NFCI)"
Chenyang-L Jul 19, 2023
4d2136f
Revert "[SCEVExpander] Remove typed pointer support (NFC)"
Chenyang-L Jul 19, 2023
c62e91c
Revert "[Transforms] Remove FactorOutConstant to fix -Wunneeded-inter…
Chenyang-L Jul 19, 2023
1225223
fix lit tests
Chenyang-L Jul 20, 2023
faa9b2c
Merge branch 'sycl' into llvmspirv_pulldown
Chenyang-L Jul 20, 2023
49000f3
Fix lit tests failure (#10492)
wwXing0 Jul 20, 2023
35a8eb6
[SYCL][Codegen] Add -opaque-pointers to fix LIT tests (#10489)
KanRobert Jul 21, 2023
52284db
Merge from 'main' to 'sycl-web'
Jul 21, 2023
e168c96
Merge from 'sycl' to 'sycl-web' (5 commits)
wwXing0 Jul 21, 2023
72f55c7
Merge from 'sycl' to 'sycl-web' (26 commits)
Jul 21, 2023
b294d5a
Merge from 'main' to 'sycl-web' (1 commits)
wwXing0 Jul 21, 2023
99f5b90
Merge from 'main' to 'sycl-web' (2 commits)
wwXing0 Jul 21, 2023
4778b7e
Merge from 'main' to 'sycl-web' (6 commits)
wwXing0 Jul 21, 2023
e85760b
Merge from 'main' to 'sycl-web' (1 commits)
wwXing0 Jul 21, 2023
6241a64
Merge from 'main' to 'sycl-web' (106 commits)
wwXing0 Jul 21, 2023
6e4f663
Merge remote-tracking branch 'intel_llvm/sycl-web' into llvmspirv_pul…
Chenyang-L Jul 21, 2023
cee9c94
Merge remote-tracking branch 'origin/sycl' into llvmspirv_pulldown
jsji Aug 10, 2023
a14adb6
Revert "Revert "Revert "[lld][Arm] Big Endian - Byte invariant suppor…
Chenyang-L Aug 1, 2023
97ebd44
[llvm] Remove some uses of isOpaqueOrPointeeTypeEquals() (NFC)
nikic Jul 18, 2023
3963ab4
Guard Remove LLVMPointerToElt and LLVMAnyPointerToElt intrinsic types
Chenyang-L Aug 10, 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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
53 changes: 53 additions & 0 deletions .ci/generate-buildkite-pipeline-premerge
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
#!/usr/bin/env bash
#===----------------------------------------------------------------------===##
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
#===----------------------------------------------------------------------===##

#
# This file generates a Buildkite pipeline that triggers the various CI jobs for
# the LLVM project during pre-commit CI (each time a Phabricator diff is uploaded).
#
# See https://buildkite.com/docs/agent/v3/cli-pipeline#pipeline-format.
#

if ! git diff --name-only HEAD~1 | grep -q -E "^libcxx/|^libcxxabi/|^libunwind/|^runtimes/|^cmake/|^clang/"; then
# libcxx/, libcxxabi/, libunwind/, runtimes/, cmake/ or clang/ are not affected
exit 0
fi

reviewID="$(git log --format=%B -n 1 | sed -nE 's/^Review-ID:[[:space:]]*(.+)$/\1/p')"
if [[ "${reviewID}" != "" ]]; then
buildMessage="https://llvm.org/${reviewID}"
else
buildMessage="Push to branch ${BUILDKITE_BRANCH}"
fi

cat <<EOF
steps:
EOF

# If libc++ or one of the runtimes directories changed
if git diff --name-only HEAD~1 | grep -q -E "^libcxx/|^libcxxabi/|^libunwind/|^runtimes/|^cmake/"; then
cat <<EOF
- trigger: "libcxx-ci"
build:
message: "${buildMessage}"
commit: "${BUILDKITE_COMMIT}"
branch: "${BUILDKITE_BRANCH}"
EOF
fi

# If clang changed
if git diff --name-only HEAD~1 | grep -q -E "^clang/"; then
cat <<EOF
- trigger: "clang-ci"
build:
message: "${buildMessage}"
commit: "${BUILDKITE_COMMIT}"
branch: "${BUILDKITE_BRANCH}"
EOF
fi
30 changes: 30 additions & 0 deletions .ci/generate-buildkite-pipeline-scheduled
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#!/usr/bin/env bash
#===----------------------------------------------------------------------===##
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
#===----------------------------------------------------------------------===##

#
# This file generates a Buildkite pipeline that triggers the various CI jobs for
# the LLVM project on scheduled builds.
#
# See https://buildkite.com/docs/agent/v3/cli-pipeline#pipeline-format.
#

cat <<EOF
steps:
- trigger: "libcxx-ci"
build:
message: "${BUILDKITE_MESSAGE}"
commit: "${BUILDKITE_COMMIT}"
branch: "${BUILDKITE_BRANCH}"

- trigger: "clang-ci"
build:
message: "${BUILDKITE_MESSAGE}"
commit: "${BUILDKITE_COMMIT}"
branch: "${BUILDKITE_BRANCH}"
EOF
6 changes: 6 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,9 @@ f9008e6366c2496b1ca1785b891d5578174ad63e

# [libc++][NFC] Apply clang-format on large parts of the code base
5aa03b648b827128d439f705cd7d57d59673741d

# [clang][NFC] Remove trailing whitespaces and enforce it in lib, include and docs
f6d557ee34b6bbdb1dc32f29e34b4a4a8ad35e81

# [libc++][NFC] clang-format <shared_mutex>
2d7eb9c9ea1a146412a83603d5c0c6339a5d8284
5 changes: 3 additions & 2 deletions .github/workflows/closed-issues.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Labeling closed issues
on:
issues:
types: ['closed']
workflow_dispatch
# issues:
# types: ['closed']

permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion bolt/include/bolt/Core/BinaryBasicBlock.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class BinaryBasicBlock {
/// After output/codegen, map output offsets of instructions in this basic
/// block to instruction offsets in the original function. Note that the
/// output basic block could be different from the input basic block.
/// We only map instruction of interest, such as calls, and sdt markers.
/// We only map instruction of interest, such as calls and markers.
///
/// We store the offset array in a basic block to facilitate BAT tables
/// generation. Otherwise, the mapping could be done at function level.
Expand Down
11 changes: 0 additions & 11 deletions bolt/include/bolt/Core/BinaryContext.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCObjectFileInfo.h"
#include "llvm/MC/MCObjectWriter.h"
#include "llvm/MC/MCPseudoProbe.h"
#include "llvm/MC/MCSectionELF.h"
#include "llvm/MC/MCSectionMachO.h"
#include "llvm/MC/MCStreamer.h"
Expand Down Expand Up @@ -673,20 +672,10 @@ class BinaryContext {
/// List of functions that always trap.
std::vector<const BinaryFunction *> TrappedFunctions;

/// Map SDT locations to SDT markers info
std::unordered_map<uint64_t, SDTMarkerInfo> SDTMarkers;

/// Map linux kernel program locations/instructions to their pointers in
/// special linux kernel sections
std::unordered_map<uint64_t, std::vector<LKInstructionMarkerInfo>> LKMarkers;

/// List of external addresses in the code that are not a function start
/// and are referenced from BinaryFunction.
std::list<std::pair<BinaryFunction *, uint64_t>> InterproceduralReferences;

/// PseudoProbe decoder
MCPseudoProbeDecoder ProbeDecoder;

/// DWARF encoding. Available encoding types defined in BinaryFormat/Dwarf.h
/// enum Constants, e.g. DW_EH_PE_omit.
unsigned LSDAEncoding = dwarf::DW_EH_PE_omit;
Expand Down
49 changes: 30 additions & 19 deletions bolt/include/bolt/Core/BinaryFunction.h
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,9 @@ class BinaryFunction {
bool HasPseudoProbe{BC.getUniqueSectionByName(".pseudo_probe_desc") &&
BC.getUniqueSectionByName(".pseudo_probe")};

/// True if the function uses ORC format for stack unwinding.
bool HasORC{false};

/// True if the original entry point was patched.
bool IsPatched{false};

Expand Down Expand Up @@ -423,21 +426,6 @@ class BinaryFunction {
return BB->getIndex();
}

/// Return basic block that originally contained offset \p Offset
/// from the function start.
BinaryBasicBlock *getBasicBlockContainingOffset(uint64_t Offset);

const BinaryBasicBlock *getBasicBlockContainingOffset(uint64_t Offset) const {
return const_cast<BinaryFunction *>(this)->getBasicBlockContainingOffset(
Offset);
}

/// Return basic block that started at offset \p Offset.
BinaryBasicBlock *getBasicBlockAtOffset(uint64_t Offset) {
BinaryBasicBlock *BB = getBasicBlockContainingOffset(Offset);
return BB && BB->getOffset() == Offset ? BB : nullptr;
}

/// Release memory taken by the list.
template <typename T> BinaryFunction &clearList(T &List) {
T TempList;
Expand Down Expand Up @@ -619,10 +607,6 @@ class BinaryFunction {
Islands->CodeOffsets.emplace(Offset);
}

/// Register secondary entry point at a given \p Offset into the function.
/// Return global symbol for use by extern function references.
MCSymbol *addEntryPointAtOffset(uint64_t Offset);

/// Register an internal offset in a function referenced from outside.
void registerReferencedOffset(uint64_t Offset) {
ExternallyReferencedOffsets.emplace(Offset);
Expand Down Expand Up @@ -900,6 +884,21 @@ class BinaryFunction {
return LabelToBB.lookup(Label);
}

/// Return basic block that originally contained offset \p Offset
/// from the function start.
BinaryBasicBlock *getBasicBlockContainingOffset(uint64_t Offset);

const BinaryBasicBlock *getBasicBlockContainingOffset(uint64_t Offset) const {
return const_cast<BinaryFunction *>(this)->getBasicBlockContainingOffset(
Offset);
}

/// Return basic block that started at offset \p Offset.
BinaryBasicBlock *getBasicBlockAtOffset(uint64_t Offset) {
BinaryBasicBlock *BB = getBasicBlockContainingOffset(Offset);
return BB && BB->getOffset() == Offset ? BB : nullptr;
}

/// Retrieve the landing pad BB associated with invoke instruction \p Invoke
/// that is in \p BB. Return nullptr if none exists
BinaryBasicBlock *getLandingPadBBFor(const BinaryBasicBlock &BB,
Expand Down Expand Up @@ -1344,6 +1343,9 @@ class BinaryFunction {
/// Return true if the function has Pseudo Probe
bool hasPseudoProbe() const { return HasPseudoProbe; }

/// Return true if the function uses ORC format for stack unwinding.
bool hasORC() const { return HasORC; }

/// Return true if the original entry point was patched.
bool isPatched() const { return IsPatched; }

Expand Down Expand Up @@ -1445,6 +1447,10 @@ class BinaryFunction {
/// symbol associated with the entry.
MCSymbol *addEntryPoint(const BinaryBasicBlock &BB);

/// Register secondary entry point at a given \p Offset into the function.
/// Return global symbol for use by extern function references.
MCSymbol *addEntryPointAtOffset(uint64_t Offset);

/// Mark all blocks that are unreachable from a root (entry point
/// or landing pad) as invalid.
void markUnreachableBlocks();
Expand Down Expand Up @@ -1702,6 +1708,11 @@ class BinaryFunction {
/// Indicate that another function body was merged with this function.
void setHasFunctionsFoldedInto() { HasFunctionsFoldedInto = true; }

void setHasSDTMarker(bool V) { HasSDTMarker = V; }

/// Mark the function as using ORC format for stack unwinding.
void setHasORC(bool V) { HasORC = V; }

BinaryFunction &setPersonalityFunction(uint64_t Addr) {
assert(!PersonalityFunction && "can't set personality function twice");
PersonalityFunction = BC.getOrCreateGlobalSymbol(Addr, "FUNCat");
Expand Down
21 changes: 0 additions & 21 deletions bolt/include/bolt/Core/BinarySection.h
Original file line number Diff line number Diff line change
Expand Up @@ -509,27 +509,6 @@ inline raw_ostream &operator<<(raw_ostream &OS, const BinarySection &Section) {
return OS;
}

struct SDTMarkerInfo {
uint64_t PC;
uint64_t Base;
uint64_t Semaphore;
StringRef Provider;
StringRef Name;
StringRef Args;

/// The offset of PC within the note section
unsigned PCOffset;
};

/// Linux Kernel special sections point to a specific instruction in many cases.
/// Unlike SDTMarkerInfo, these markers can come from different sections.
struct LKInstructionMarkerInfo {
uint64_t SectionOffset;
int32_t PCRelativeOffset;
bool IsPCRelative;
StringRef SectionName;
};

} // namespace bolt
} // namespace llvm

Expand Down
Loading