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

Explicit Update with Indices implementation #356

Closed
wants to merge 755 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
755 commits
Select commit Hold shift + click to select a range
ababa96
[RemoveDIs][NFC] Introduce DbgRecord base class [1/3] (#78252)
OCHyams Feb 20, 2024
3e76e60
[DebugInfo][RemoveDIs] Set new-dbg-info flag from Modules correctly (…
jmorse Feb 20, 2024
96c5b8c
[libc][c23] add definitions for stdckdint.h (#82059)
SchrodingerZhu Feb 20, 2024
a73e924
[libc] use LIBC_HAS_BUILTIN instead __has_builtin (#82377)
SchrodingerZhu Feb 20, 2024
aa7076f
[ValueTracking] Add tests for constant range of `{s|u}rem C, x`; NFC
goldsteinn Feb 20, 2024
9facaad
[ValueTracking] Improve tracking for constant range of `{s|u}rem C, x`
goldsteinn Feb 20, 2024
9923d29
[VPlan] Merge main VPlan verifer with HCFG verifier.
fhahn Feb 20, 2024
3b7ba24
[C23] No longer assert on huge enumerator values (#81760)
AaronBallman Feb 20, 2024
94100bc
[OpenMP][AIX]Add assembly file containing microtasking routines and u…
xingxue-ibm Feb 20, 2024
066773c
[X86] computeKnownBitsForTargetNode - add generic handling of PSHUFB
RKSimon Feb 20, 2024
ef28379
[llvm-objcopy] Fix file offsets when PT_INTERP/PT_LOAD offsets are eq…
MaskRay Feb 20, 2024
4a23ab4
Fix Wcovered-switch-default Werror after #78252
OCHyams Feb 20, 2024
ae8facc
[lldb-dap] Do not write over the existing error if launchCommands fai…
ashgti Feb 20, 2024
4c6043d
[clang][InstallAPI] Add input file support to library (#81701)
cyndyishida Feb 20, 2024
d2942a8
[MergeFunctions] Fix thunks for non-instruction debug info (#82080)
smeenai Feb 20, 2024
7f3980a
[Fuzzer] Use user signal to coordinate handler shutdown (#82067)
jamesr Feb 20, 2024
d2173d8
[InstCombine] foldFCmpIntToFPConst - simplify repeated calls to getBi…
RKSimon Feb 20, 2024
8302cef
[Clang][Sema] Convert warning for extraneous template parameter lists…
sdkrystian Feb 20, 2024
7af7064
Revert "[AArch64] Remove unused ReverseCSRRestoreSeq option. (#82326)"
CarolineConcatto Feb 20, 2024
48af281
Revert "[AArch64] Restore Z-registers before P-registers (#79623)"
CarolineConcatto Feb 20, 2024
d39d5cc
[bazel] fix build after 4c6043de0b837d23699424d875057d00956d80ac
slackito Feb 20, 2024
5454991
[libc] Cleanup of hermetic test flag handling (#82384)
jhuber6 Feb 20, 2024
c625b99
[ORC] Add SectCreateMaterializationUnit, llvm-jitlink -sectcreate opt…
lhames Feb 20, 2024
fb615cf
[Clang][Sema] Diagnose declarative nested-name-specifiers naming alia…
sdkrystian Feb 20, 2024
ba3c1f9
[WebAssembly] Add segment RETAIN flag to support private retained dat…
kateinoigakukun Feb 20, 2024
807ed69
[AMDGPU] Use autogenerated test checks for sdwa-preserve.mir test. NF…
vpykhtin Feb 20, 2024
a9b5753
[LoopRotate][coroutines] Avoid hoisting addresses of thread-local var…
alanzhao1 Feb 20, 2024
f740366
[mlir][sparse] support type conversion from SoA COO to memrefs. (#82398)
PeimingLiu Feb 20, 2024
0b2b91e
Reapply "[llvm] Fix assertion error where we didn't check fixed point…
PiJoules Feb 20, 2024
19e7172
[LLVM][unittests] Fix type issue in STLExtrasTest.cpp
cmtice Feb 20, 2024
cd4e246
repair and re-enable Windows buildkite presubmit (#82393)
lnihlen Feb 20, 2024
a468d02
[flang][runtime] Add FortranFloat128Math wrapper library. (#81971)
vzakhari Feb 20, 2024
ed4bdb8
[libc][__support][bit] add count_zeros (#82076)
nickdesaulniers Feb 20, 2024
f804e2b
[ELF] .eh_frame: use errorOrWarn for "PC offset is too large"
MaskRay Feb 20, 2024
bb029a5
[gn] port 4c6043de0b83 (InstallAPITests)
nico Feb 20, 2024
d6850be
[mlir][linalg] Add e2e test for linalg.mmt4d (#81790)
banach-space Feb 20, 2024
7542f60
[gn build] Port c625b9965273
llvmgnsyncbot Feb 20, 2024
1db2859
[flang] Handle more use cases reported for issues/78797 (#79628)
klausler Feb 20, 2024
1219214
[Hexagon] Update InstrInfo to include LD/ST offsets of vector instruc…
Feb 20, 2024
96b1704
[flang][runtime] Don't write implied ENDFILE for REC=/POS= (#79637)
klausler Feb 20, 2024
7876235
[ELF] Support placing .lbss/.lrodata/.ldata after .bss
MaskRay Feb 20, 2024
5a20a20
[flang] Resolve "possible performance problem" issue spam (#79769)
klausler Feb 20, 2024
adf838d
[mlir][Vectorizer] Added support to Vectorize tensor.unpack (#76087)
bviyer Feb 20, 2024
18f0da5
Apply clang-tidy fixes for llvm-prefer-isa-or-dyn-cast-in-conditional…
joker-eph Oct 20, 2023
e13bbd1
Apply clang-tidy fixes for modernize-use-emplace in RewriterGen.cpp (…
joker-eph Oct 20, 2023
dd5696c
Apply clang-tidy fixes for readability-identifier-naming in BytecodeT…
joker-eph Oct 20, 2023
1893a37
Apply clang-tidy fixes for performance-unnecessary-value-param in Fil…
joker-eph Oct 20, 2023
31f4559
Apply clang-tidy fixes for performance-unnecessary-value-param in Ser…
joker-eph Oct 20, 2023
563ef30
Add the RegisterCompleter to eArgTypeRegisterName in g_argument_table…
jimingham Feb 20, 2024
be8b2d1
Add explicit conversion to fix arm64 builds. (#82429)
MosheBerman Feb 20, 2024
2236048
[flang] Further refine errors vs warnings for ambiguous generics (#80…
klausler Feb 20, 2024
39cab1a
[AMDGPU] Add v2bf16 for opsel immediate folding (#82435)
rampitec Feb 20, 2024
54b014b
[llvm-jitlink] Use '@' rather than ':' for separator in -sectcreate.
lhames Feb 20, 2024
3ff8055
[clang][ScanDeps] Canonicalize -D and -U flags (#82298)
Bigcheese Feb 20, 2024
d3fcf31
AMDGPU: Use HasFP8ConversionInsts appropriately, NFC (#82433)
changpeng Feb 21, 2024
53e9698
[NVPTX] Enable the _Float16 type for NVPTX compilation (#82436)
jhuber6 Feb 21, 2024
dc672d2
Remove the "generic" register completion test. (#82445)
jimingham Feb 21, 2024
646c7e5
[libc] add more stdbit.h entrypoints to additional targets (#82440)
nickdesaulniers Feb 21, 2024
ff4d6c6
Fix llvm-x86_64-debian-dylib buildbot
tstellar Feb 21, 2024
98db8d0
[AMDGPU] Fix v_dot2_f16_f16/v_dot2_bf16_bf16 operands (#82423)
rampitec Feb 21, 2024
f78027d
[mlir][mesh] Better op result names (#82408)
sogartar Feb 21, 2024
4ca0480
[Driver,BareMetal] Replace -lclang_rt.builtins{,-$arch}.a with an abs…
MaskRay Feb 21, 2024
5248a98
[mlir][sparse] support SoA COO in codegen path. (#82439)
PeimingLiu Feb 21, 2024
7c071c2
[gn] port ff4d6c64ee42
nico Feb 21, 2024
031f9f3
[alpha.webkit.UncountedCallArgsChecker] Ignore calls to WTF's contain…
rniwa Feb 21, 2024
84ed55e
Revert "[clang][ScanDeps] Canonicalize -D and -U flags (#82298)"
nico Feb 21, 2024
8603a7b
[RISCV] Add a query for exact VLEN to RISCVSubtarget [nfc]
preames Feb 21, 2024
b9a071d
[mlir][Linalg] Add folders for `linalg.transpose` (#81709)
dcaballe Feb 21, 2024
2836d8e
[workflows] Fix permissions check for creating new releases (#81163)
tstellar Feb 21, 2024
5a45d32
[lldb] Add more ways to find the .dwp file. (#81067)
clayborg Feb 21, 2024
f40ee6e
[mlir][sparse] assemble SoA COO correctly. (#82449)
PeimingLiu Feb 21, 2024
c02b0d0
[GlobalISel] Make sure to check for load barriers when merging G_EXTR…
resistor Feb 21, 2024
03203b7
[SPIR-V] Fix vloadn OpenCL builtin lowering (#81148)
michalpaszkowski Feb 21, 2024
7988973
Implement convergence control in MIR using SelectionDAG (#71785)
ssahasra Feb 21, 2024
823102a
[gn build] Port 79889734b940
llvmgnsyncbot Feb 21, 2024
086280f
[AMDGPU] Fix linking error of SIISelLowering.cpp.o (NFC)
DamonFool Feb 21, 2024
e4057aa
[X86] Add missing pass initialization calls. (#82447)
topperc Feb 21, 2024
b8ed69e
[RISCV] Support llvm.readsteadycounter intrinsic
wangpc-pp Feb 21, 2024
a2afcd5
Revert "Implement convergence control in MIR using SelectionDAG (#717…
ssahasra Feb 21, 2024
5375cbf
Fix pipeline-invalid.mlir bytecode roundtrip test (#82366)
mfrancio Feb 21, 2024
44b717d
[GlobalISel] Clamp out-of-range G_EXTRACT_VECTOR_ELT constant indices…
resistor Feb 21, 2024
ec516ff
Fix __isOSVersionAtLeast for Android (#80496)
jooyunghan Feb 21, 2024
04fbc46
[clang-format] Fix RemoveSemicolon for empty functions (#82278)
owenca Feb 21, 2024
ab7dcb0
[gn build] Port a2afcd572186
llvmgnsyncbot Feb 21, 2024
8b23d68
[Analyzer] Support RefAllowingPartiallyDestroyed and RefPtrAllowingPa…
rniwa Feb 21, 2024
a445474
[RISCV] Use TImmLeaf for csr_sysreg (#82463)
wangpc-pp Feb 21, 2024
351e4fa
[Clang] Fix assert when transforming a pack indexing type. (#82234)
cor3ntin Feb 21, 2024
d3fb596
[RISCV] Fix scheduling info for compressed LD/ST of FP types. (#82339)
fpetrogalli Feb 21, 2024
7ce1a11
[InstCombine] Fold dependent IVs (#81151)
nikic Feb 21, 2024
1246b64
[clang][analyzer] Change modeling of 'fileno' in checkers. (#81842)
balazske Feb 21, 2024
02fad05
[RISCV][SDAG] Fold `select c, ~x, x` into `xor -c, x` (#82462)
dtcxzyw Feb 21, 2024
8b84de2
[llvm-exegesis][NFC] Refactor all `ValidationEvent` info in a single …
legrosbuffle Feb 21, 2024
5037350
[clang] Preserve found-decl when constructing VarTemplateIds (#82265)
kadircet Feb 21, 2024
f8c1af1
[gn build] Port 8b84de26dfc1
llvmgnsyncbot Feb 21, 2024
4725993
[clang][dataflow] Correctly handle `InitListExpr` of union type. (#82…
martinboehme Feb 21, 2024
0c13a89
[mlir][docs] Fix broken docs (#82308)
sott0n Feb 21, 2024
07292b7
[LIR][SCEVExpander] Restore original flags when aborting transform (#…
nikic Feb 21, 2024
1ff1e82
[AArch64][GlobalISel] Pre-Commit Tests for Refactor BITCAST
chuongg3 Feb 20, 2024
7242896
[Flang] Attempt to fix Nan handling in Minloc/Maxloc intrinsic simpli…
davemgreen Feb 21, 2024
5db49f7
[GlobalISel] replace right identity X * -1.0 with fneg(x) (#80526)
nickleus27 Feb 21, 2024
91f1161
[mlir] expose transform interpreter to Python (#82365)
ftynse Feb 21, 2024
48101ed
[AArch64] Fix syntax of gcsstr and gcssttr instructions (#82385)
john-brawn-arm Feb 21, 2024
35593f6
[MLIR][Python] Use isinstance() instead of issubclass(type(...), ...)…
superbobry Feb 21, 2024
3533fe7
Revert "[clang] Preserve found-decl when constructing VarTemplateIds …
kadircet Feb 21, 2024
d31406b
[flang][docs] Update llvm-test-suite docs (#81596)
DavidSpickett Feb 21, 2024
bdeb3d4
[X86] Regenerate saddsat/ssubsat vector tests
RKSimon Feb 21, 2024
3cb4f62
[X86] Regenerate vector tests to add missing avx512 constant broadcas…
RKSimon Feb 21, 2024
a0b3dba
[InstCombine] Regenerate some fcmp tests to use the update_test_check…
RKSimon Feb 21, 2024
6d160a4
[AMDGPU][TableGen][NFC] Combine predicates without using classes. (#8…
kosarev Feb 21, 2024
6ce5159
[MLIR][Python] Use ir.Value directly instead of _SubClassValueT (#82341)
superbobry Feb 21, 2024
b1080e1
[clang][Interp] Convert complex initializers to rvalues
tbaederr Feb 20, 2024
40fae67
[Flang][OpenMP] Fix to construct-names inside OpenMP construct with d…
harishch4 Feb 21, 2024
e209178
[SimplifyIndVar] LCSSA form is destroyed by simplifyLoopIVs, preserve…
vedantparanjape-amd Feb 21, 2024
02e17ab
[AArch64] Added feature dependencies for SME2p1 to TargetParser (#81860)
Lukacma Feb 21, 2024
28fb2b3
[LLVM][SelectionDAG] Reduce number of ComputeValueVTs variants. (#75614)
paulwalker-arm Feb 21, 2024
c50ca3d
[RISCV][ISel] Combine vector fadd/fsub/fmul with fp extend. (#81248)
sun-jacobi Feb 21, 2024
6e20cb5
[mlir] fix memory leak
ftynse Feb 21, 2024
dd3e0a4
[LoongArch] Assume no-op addrspacecasts by default (#82332)
heiher Feb 21, 2024
b5437c8
[clang][Interp] Emit const references for Float arguments (#79753)
tbaederr Feb 21, 2024
654e65d
[mlir] Apply ClangTidy performance fix.
akuegel Feb 21, 2024
0fb3d42
[AArch64][GlobalISel] Refactor BITCAST Legalization (#80505)
chuongg3 Feb 21, 2024
69279a8
[libc++][test] add benchmarks for `std::atomic::wait` (#70571)
huixie90 Feb 21, 2024
98a07f7
[X86] LowerCTPOP - "ctpop(i2 x) --> sub(x, (x >> 1))"
RKSimon Feb 21, 2024
b8c9b06
[X86] LowerCTPOP - add i3 and i4 LUT 'shift+mask' expansions
RKSimon Feb 21, 2024
88a1855
Fix MSVC signed/unsigned mismatch warning
RKSimon Feb 21, 2024
e3d4cac
Fix MSVC "not all control paths return a value" warning
RKSimon Feb 21, 2024
1a71668
[AArch64] Fix stack probing clobbering flags (#81879)
momchil-velikov Feb 21, 2024
61bc5f6
[Flang]: Fix to bind(C) procs inside BLOCK construct (#82483)
harishch4 Feb 21, 2024
91ebd01
[clang][Interp] Remove dereference()
tbaederr Feb 21, 2024
f7c2e5f
[clang] [SemaCXX] Disallow deducing "this" on operator `new` and `del…
Rajveer100 Feb 21, 2024
6ba8ca8
[CostModel][X86] Don't use undef for icmp cost tests
RKSimon Feb 21, 2024
a0869b1
[CostModel][X86] Fix expanded CTPOP i8 costs
RKSimon Feb 21, 2024
4d4af15
[NFC][flang][OpenMP] Split `DataSharing` and `Clause` processors (#81…
ergawy Feb 21, 2024
5a023f5
[AArch64][SVE2] Enable dynamic shuffle for fixed length types. (#72490)
dtemirbulatov Feb 21, 2024
7318585
[clang] Implement CWG1719 "Layout compatibility and cv-qualification …
Endilll Feb 21, 2024
9c0e45d
[SystemZ] Use VT (not ArgVT) for SlotVT in LowerCall(). (#82475)
JonPsson1 Feb 21, 2024
e214f00
[mlir][Transforms][NFC] Turn in-place op modification into `IRRewrite…
matthias-springer Feb 21, 2024
3a70335
[mlir][Transforms] Support rolling back properties in dialect convers…
matthias-springer Feb 21, 2024
b49f155
[mlir][Transforms][NFC] Simplify `ArgConverter` state (#81462)
matthias-springer Feb 21, 2024
f037e70
[RISCV][TTI] Cost a subvector extract at a register boundary with exa…
preames Feb 21, 2024
3ee8c93
[Offload] Fix NVPTX global entry names
jhuber6 Feb 21, 2024
ffcdf47
[clang][Interp] Allow adding an offset to a function pointer
tbaederr Feb 21, 2024
4beb4d5
[CostModel][X86] Add test coverage for icmp vs zero
RKSimon Feb 21, 2024
c16d0d1
[SimplifyCFG] Add test coverage for #80122
RKSimon Feb 21, 2024
9978f6a
[CostModel][X86] Reduce the extra costs for ICMP complex predicates w…
RKSimon Feb 21, 2024
453b1a2
[LLVM][DWARF] Refactor code for generating DWARF V5 .debug_names (#82…
cmtice Feb 21, 2024
13b0321
[clang][Interp][NFC] Reject unimplemented cast expressions differently
tbaederr Feb 21, 2024
3f732c4
[mlir][Transforms] Fix use-after-free in #82474 (#82504)
matthias-springer Feb 21, 2024
2cd59bd
[RISCV] Add test case for miscompile in gather -> strided load combin…
lukel97 Feb 21, 2024
2e29c91
Revert "[Coro] [async] Disable inlining in async coroutine splitting …
Mogball Feb 21, 2024
162fa4d
Module::getOrInsertFunction: set debug info format (#82505)
hvdijk Feb 21, 2024
71441ed
[mlir][Vector] Add vector bitwidth target to xfer op flattening (#81966)
dcaballe Feb 21, 2024
58f45d9
[flang][openmp] - depend clause support in target, target enter/updat…
bhandarkar-pranav Feb 21, 2024
cc374d8
[OpenMP] Remove `register_requires` global constructor (#80460)
jhuber6 Feb 21, 2024
cc13f3b
Correctly round FP -> BF16 when SDAG expands such nodes (#82399)
majnemer Feb 21, 2024
0a518db
[InstallAPI] Set InstallAPI as a standalone tool instead of CC1 actio…
cyndyishida Feb 21, 2024
2c30180
[coro] [async] Don't fail on targets that don't support tail calls
Mogball Feb 21, 2024
e50a231
[flang][OpenMP] Add support for copyprivate (#80485)
luporl Feb 21, 2024
579ae44
[InstallAPI] Add missing clangBasic library dependency
cyndyishida Feb 21, 2024
e7bfe41
[InstallAPI] Add additional missing library dependency
cyndyishida Feb 21, 2024
c5bbf97
[AMDGPU] fixes mistake in #82018 (#82223)
nickleus27 Feb 21, 2024
2167881
[ARM,MC] Support FDPIC relocations
MaskRay Feb 21, 2024
5488e3e
[InstallAPI] add explicit dependency on llvmOption library
cyndyishida Feb 21, 2024
6f0e39c
[NVPTX] Set ISD::FP_{EXTEND,ROUND} to Custom for more types
majnemer Feb 21, 2024
966b026
[NVPTX] Simplify handling of ISD::BF16_TO_FP
majnemer Feb 21, 2024
4247175
[nfc]For InstrProfData.inc, clang-format functions and opt-out of for…
minglotus-6 Feb 21, 2024
9c24688
[lldb][test] Modernize asserts (#82503)
rupprecht Feb 21, 2024
1c81b4a
[gn] port 0a518db99e0c (clang-installapi)
nico Feb 21, 2024
ddc0f1d
[TargetLowering] Actually add the adjustment to the significand
majnemer Feb 21, 2024
3d66d69
[VPlan] Support live-ins without underlying IR in type analysis. (#80…
fhahn Feb 21, 2024
22cf983
[VPlan] Use opaque pointers in VPlan unit test IR (#69947)
calebwat Feb 21, 2024
db9811c
Make lldbDataFormatters.py compatible with Python 3.8 (#82518)
arichardson Feb 21, 2024
baf6bd3
[Clang] Fixes to immediate-escalating functions (#82281)
cor3ntin Feb 21, 2024
5daf200
[BOLT] Fix memory leak in BinarySection (#82520)
maksfb Feb 21, 2024
7fa8585
[NFC][clang] Remove trailing whitespaces
bwendling Feb 21, 2024
cb1fed3
[NVPTX] Correctly guard int -> bf16 on PTX version and SM version
majnemer Feb 21, 2024
d4fd202
[mlir] Use arith max or min ops instead of cmp + select (#82178)
Feb 21, 2024
cd160a6
[VPlan] Do not add call results with void type to State (NFC).
fhahn Feb 21, 2024
05152a2
Merge from 'sycl' to 'sycl-web'
Feb 21, 2024
99c457d
Unbreak *tf builtins for hexfloat (#82208)
arichardson Feb 21, 2024
81b4b89
[Sanitizer] Support -fwrapv with -fsanitize=signed-integer-overflow (…
JustinStitt Feb 21, 2024
58eed9d
Merge from 'main' to 'sycl-web' (319 commits)
jyu2-git Feb 21, 2024
c63e68b
Bump the minimum LLVM version for TestTypeList.py
rastogishubham Feb 21, 2024
2b2881b
Add namespace qualifier for llvm::StringRef
slackito Feb 21, 2024
9eff001
[TargetLowering] Correctly yield NaN from FP_TO_BF16
majnemer Feb 21, 2024
d17eade
Do not call disable / enable on null depot (#82542)
fmayer Feb 21, 2024
be36812
[TargetLowering] Be more efficient in fp -> bf16 NaN conversions
majnemer Feb 21, 2024
828bf13
[InstallAPI] Cleanup HeaderFile Interface & options handling, NFC (#8…
cyndyishida Feb 21, 2024
049e142
[libc] Fix startup utilities failing to install in full build mode (#…
jhuber6 Feb 21, 2024
300425c
Revert "[Docs] Add release note about Clang-defined target OS macros …
zixu-w Feb 21, 2024
699c408
[NFC][HWASAN] Fix misleading name
vitalybuka Feb 16, 2024
9ea9e93
[MachinePipeliner] Fix elements being added while the list is iterate…
ytmukai Feb 22, 2024
640e781
[BOLT][DWARF][NFC] Use SkeletonCU in place of IsDWO check (#82540)
ayermolo Feb 22, 2024
004c197
[BOLT][DWARF][NFC] Expose DebugStrOffsetsWriter::clear (#82548)
ayermolo Feb 22, 2024
f204aee
[mlir][GPU] Remove the SerializeToCubin pass (#82486)
fabianmcg Feb 22, 2024
4c0fdcd
[Hexagon] Generate absolute-set load/store instructions. (#82034)
Feb 22, 2024
d62ca8d
[Hexagon] Optimize post-increment load and stores in loops. (#82418)
Feb 22, 2024
a976e3c
[compiler-rt][Fuchsia] Propogate raw_report to UnmapOrDieVmar (#82566)
PiJoules Feb 22, 2024
ba31a19
[gn build] Port 4c0fdcdb3307
llvmgnsyncbot Feb 22, 2024
dd6d059
[gn build] Port d62ca8def395
llvmgnsyncbot Feb 22, 2024
99822be
Apply clang-tidy fixes for readability-identifier-naming in Serializa…
joker-eph Oct 20, 2023
4432479
Apply clang-tidy fixes for llvm-qualified-auto in InterfaceAttachment…
joker-eph Oct 20, 2023
df8d5c1
Apply clang-tidy fixes for llvm-qualified-auto in OperationSupportTes…
joker-eph Oct 20, 2023
fa25433
Apply clang-tidy fixes for modernize-use-override in SerializeNVVMTar…
joker-eph Oct 20, 2023
0d12628
Apply clang-tidy fixes for readability-container-size-empty in Serial…
joker-eph Oct 20, 2023
1eeeab8
[lldb][test] Modernize assertEqual(value, bool) (#82526)
rupprecht Feb 22, 2024
11d115d
[RISCV] Adjust test case to show wrong stride. NFC
lukel97 Feb 22, 2024
7e1432f
[lldb] Standardize command option parsing error messages (#82273)
bulbazord Feb 22, 2024
05af9c8
[TableGen] Suppress per-HwMode duplicate instructions/tables. (#82567)
nvjle Feb 22, 2024
815644b
[RISCV] Fix mgather -> riscv.masked.strided.load combine not extendin…
lukel97 Feb 22, 2024
343d953
[UR][L0] Fix the multi device event cache to allocate lists as pointe…
nrspruit Feb 22, 2024
b0f584c
[SYCL][Docs] Make external events wait with queue (#12766)
steffenlarsen Feb 22, 2024
0fc5129
[SYCL][Matrix] Update builtin name for the checked matrix construct S…
VyacheslavLevytskyy Feb 22, 2024
242b4ce
Merge commit '815644b4dd882ade2e5649d4f97c3dd6f7aea200' into llvmspir…
sys-ce-bb Feb 22, 2024
498817b
Remove unused getOperandTypes member function
svenvh Jan 8, 2024
834b671
Remove execute bit from source and test files
svenvh Feb 16, 2024
b3ac271
Add missing EOL at end of files
svenvh Feb 16, 2024
417d637
Report unmet version requirement as error (#2372)
svenvh Feb 21, 2024
fa9dd79
Add SPIR-V 1.5 enum value (#2374)
svenvh Feb 22, 2024
d6eecfa
[SYCL][Driver] Link with sycl libs at link step of clang-cl -fsycl (#…
againull Feb 22, 2024
66d35e2
[SYCL] Use PI APIs for cooperative kernels (#12367)
0x12CC Feb 22, 2024
033943c
Bump cryptography from 42.0.2 to 42.0.4 in /llvm/utils/git (#12791)
dependabot[bot] Feb 22, 2024
2d77b21
[UR][L0] fix a deadlock in queue sync and event status query (#12795)
pbalcer Feb 22, 2024
ebec5bf
[CI] Run performance tests on AMD/NVIDIA runners too (#12790)
aelovikov-intel Feb 22, 2024
4be8844
Revert "[sycl-web] Fit LIT tests failures in CodeGenSYCL. (#10820)" (…
mikerice1969 Feb 22, 2024
0cfe7e3
[SYCL][ESIMD] Implement compile-time properties version of scatter(ac…
sarnex Feb 22, 2024
a261ac1
[SYCL][ESIMD] Fix local accessor scatter test failure on PVC (#12745)
fineg74 Feb 22, 2024
a5ef6c4
Enable support of non-instrinsic debug-info
jsji Feb 20, 2024
652d3ea
[SYCL][Matrix tests] Missing general double type case in initializati…
dkhaldi Feb 23, 2024
6e3aa21
[SYCL] Add '--ignore-device-selectors' CLI option to sycl-ls and impr…
uditagarwal97 Feb 23, 2024
5a92a19
[SYCL][E2E] Disable select_device.cpp on Arc GPU (#12808)
aelovikov-intel Feb 23, 2024
c9b017c
[SYCL] Enhance specialization constants testing. (#12647)
maarquitos14 Feb 23, 2024
03318d5
[SYCL][E2E] Disable multiple assert tests on Windows (#12816)
aelovikov-intel Feb 23, 2024
db09873
[SYCL] Add Property interface to 4 runtime classes (#12801)
lbushi25 Feb 23, 2024
e251621
[SYCL][E2E] Fix infinite loop bug in Config/select_device.cpp (#12814)
aelovikov-intel Feb 23, 2024
c90de3c
[CI] Run SYCL-CTS with the latest nightly (#12811)
KornevNikita Feb 23, 2024
77a25db
[SYCL] Generalize group_algorithm helpers (#12726)
steffenlarsen Feb 26, 2024
d9c9cd1
[SYCL][E2E] Disable Plugin/sycl-ls-unified-runtime.cpp (#12815)
aelovikov-intel Feb 26, 2024
76ec3f0
[SYCL][Bindless][Exp] Add Support For Unsampled Image Arrays (#12464)
isaacault Feb 26, 2024
7eb9922
[CI] Run ESIMD tests on Arc in precommit when ESIMD changed (#12651)
sarnex Feb 26, 2024
ff16348
LLVM and SPIRV-LLVM-Translator pulldown (WW08 2024)
bb-sycl Feb 26, 2024
1b5719e
[SYCL][E2E] Fix USM/usm_leak_check.cpp test for multi-card PVC (#12817)
uditagarwal97 Feb 26, 2024
a452e06
[SYCL][Doc] No free function "range" kernels (#12803)
gmlueck Feb 26, 2024
1d61e69
[SYCL] Partially revert "Sort platforms in platform::get_platforms() …
aelovikov-intel Feb 27, 2024
7b41068
[NFC][SYCL][Bindless] Define VERBOSE_PRINT before include user_types_…
wenju-he Feb 27, 2024
9edd27a
[SYCL][Bindless][Exp] Fix get_mip_level_mem_handle declaration. (#12822)
tangjj11 Feb 27, 2024
95e183e
[CUDA][LIBCLC] Fix fence impl to satisfy SYCL 2020. (#12713)
JackAKirk Feb 27, 2024
375e579
[SYCL] Don't set PI_USM_INDIRECT_ACCESS if platform don't support it …
Naghasan Feb 27, 2024
e72b85c
[SYCL][COMPAT] Add set_default_queue functionality (#12835)
Alcpz Feb 27, 2024
b195409
[SYCL][Graph] Prototype of explicit update with indices
Bensuo Feb 12, 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
  •  
  •  
  •  
5 changes: 1 addition & 4 deletions .ci/generate-buildkite-pipeline-premerge
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,7 @@ linux_projects=$(add-dependencies ${linux_projects_to_test} | sort | uniq)

windows_projects_to_test=$(exclude-windows $(compute-projects-to-test ${modified_projects}))
windows_check_targets=$(check-targets ${windows_projects_to_test} | sort | uniq)
# Temporary disable the windows job.
# See https://discourse.llvm.org/t/rfc-future-of-windows-pre-commit-ci/76840
#windows_projects=$(add-dependencies ${windows_projects_to_test} | sort | uniq)
windows_projects=""
windows_projects=$(add-dependencies ${windows_projects_to_test} | sort | uniq)

# Generate the appropriate pipeline
if [[ "${linux_projects}" != "" ]]; then
Expand Down
11 changes: 10 additions & 1 deletion .ci/monolithic-windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ targets="${2}"

echo "--- cmake"
pip install -q -r ${MONOREPO_ROOT}/mlir/python/requirements.txt

# The CMAKE_*_LINKER_FLAGS to disable the manifest come from research
# on fixing a build reliability issue on the build server, please
# see https://github.com/llvm/llvm-project/pull/82393 and
# https://discourse.llvm.org/t/rfc-future-of-windows-pre-commit-ci/76840/40
# for further information.
cmake -S ${MONOREPO_ROOT}/llvm -B ${BUILD_DIR} \
-D LLVM_ENABLE_PROJECTS="${projects}" \
-G Ninja \
Expand All @@ -49,7 +55,10 @@ cmake -S ${MONOREPO_ROOT}/llvm -B ${BUILD_DIR} \
-D COMPILER_RT_BUILD_ORC=OFF \
-D CMAKE_C_COMPILER_LAUNCHER=sccache \
-D CMAKE_CXX_COMPILER_LAUNCHER=sccache \
-D MLIR_ENABLE_BINDINGS_PYTHON=ON
-D MLIR_ENABLE_BINDINGS_PYTHON=ON \
-D CMAKE_EXE_LINKER_FLAGS="/MANIFEST:NO" \
-D CMAKE_MODULE_LINKER_FLAGS="/MANIFEST:NO" \
-D CMAKE_SHARED_LINKER_FLAGS="/MANIFEST:NO"

echo "--- ninja"
# Targets are not escaped as they are passed as separate arguments.
Expand Down
24 changes: 24 additions & 0 deletions .github/new-prs-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -822,6 +822,30 @@ backend:X86:
- llvm/lib/TargetParser/X86*
- llvm/utils/TableGen/X86*

backend:PowerPC:
- llvm/include/llvm/BinaryFormat/ELFRelocs/PowerPC*
- llvm/include/llvm/BinaryFormat/XCOFF.h
- llvm/include/llvm/IR/IntrinsicsPowerPC.td
- llvm/lib/CodeGen/AsmPrinter/AIXException.cpp
- llvm/lib/Target/PowerPC/**
- llvm/test/Analysis/**/PowerPC/**
- llvm/test/CodeGen/PowerPC/**
- llvm/test/CodeGen/MIR/PowerPC/**
- llvm/test/DebugInfo/XCOFF/**
- llvm/test/DebugInfo/PowerPC/**
- llvm/test/LTO/PowerPC/**
- llvm/test/MC/Disassembler/PowerPC/**
- llvm/test/MC/PowerPC/**
- llvm/test/MC/XCOFF/**
- llvm/test/Transforms/**/PowerPC/**
- clang/include/clang/Basic/BuiltinsPPC.*
- clang/lib/Basic/Targets/PPC.*
- clang/lib/CodeGen/Targets/PPC.cpp
- clang/lib/Driver/ToolChains/PPC*
- clang/lib/Driver/ToolChains/AIX*
- clang/lib/Driver/ToolChains/Arch/PPC.*
- clang/test/CodeGen/PowerPC/**

third-party:unittests:
- third-party/unittests/**

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ on:
- 'polly/docs/**'
- 'flang/docs/**'
- 'flang/include/flang/Optimizer/Dialect/FIROps.td'
- '.github/workflows/docs.yml'
pull_request:
paths:
- 'llvm/docs/**'
Expand All @@ -45,6 +46,7 @@ on:
- 'polly/docs/**'
- 'flang/docs/**'
- 'flang/include/flang/Optimizer/Dialect/FIROps.td'
- '.github/workflows/docs.yml'

jobs:
check-docs-build:
Expand Down Expand Up @@ -162,8 +164,6 @@ jobs:
TZ=UTC ninja -C polly-build docs-polly-html docs-polly-man
- name: Build Flang docs
if: steps.docs-changed-subprojects.outputs.flang_any_changed == 'true'
# TODO(boomanaiden154): Remove the SPHINX_WARNINGS_AS_ERRORS from the
# CMake invocation once the warnings in the flang docs build are fixed.
run: |
cmake -B flang-build -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="clang;mlir;flang" -DLLVM_ENABLE_SPHINX=ON -DSPHINX_WARNINGS_AS_ERRORS=OFF ./llvm
TZ=UTC ninja -C flang-build docs-flang-html docs-flang-man
cmake -B flang-build -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="clang;mlir;flang" -DLLVM_ENABLE_SPHINX=ON ./llvm
TZ=UTC ninja -C flang-build docs-flang-html
10 changes: 8 additions & 2 deletions .github/workflows/llvm-project-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ jobs:
lit-tests:
name: Lit Tests
runs-on: ${{ matrix.os }}
container:
image: ${{(startsWith(matrix.os, 'ubuntu') && 'ghcr.io/llvm/ci-ubuntu-22.04:latest') || null}}
volumes:
- /mnt/:/mnt/
strategy:
fail-fast: false
matrix:
Expand All @@ -77,6 +81,7 @@ jobs:
with:
python-version: ${{ inputs.python_version }}
- name: Install Ninja
if: runner.os != 'Linux'
uses: llvm/actions/install-ninja@main
# actions/checkout deletes any existing files in the new git directory,
# so this needs to either run before ccache-action or it has to use
Expand Down Expand Up @@ -108,8 +113,8 @@ jobs:
run: |
if [ "${{ runner.os }}" == "Linux" ]; then
builddir="/mnt/build/"
sudo mkdir -p $builddir
sudo chown `whoami`:`whoami` $builddir
mkdir -p $builddir
extra_cmake_args="-DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang"
else
builddir="$(pwd)"/build
fi
Expand All @@ -123,6 +128,7 @@ jobs:
-DLLDB_INCLUDE_TESTS=OFF \
-DCMAKE_C_COMPILER_LAUNCHER=sccache \
-DCMAKE_CXX_COMPILER_LAUNCHER=sccache \
$extra_cmake_args \
${{ inputs.extra_cmake_args }}
ninja -C "$builddir" '${{ inputs.build_target }}'

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release-tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
name: Create a New Release
runs-on: ubuntu-latest
needs: validate-tag

steps:
- name: Install Dependencies
run: |
Expand All @@ -40,8 +41,9 @@ jobs:
- name: Create Release
env:
GITHUB_TOKEN: ${{ github.token }}
USER_TOKEN: ${{ secrets.RELEASE_TASKS_USER_TOKEN }}
run: |
./llvm/utils/release/./github-upload-release.py --token "$GITHUB_TOKEN" --release ${{ needs.validate-tag.outputs.release-version }} --user ${{ github.actor }} create
./llvm/utils/release/./github-upload-release.py --token "$GITHUB_TOKEN" --release ${{ needs.validate-tag.outputs.release-version }} --user ${{ github.actor }} --user-token "$USER_TOKEN" create
release-documentation:
name: Build and Upload Release Documentation
needs:
Expand Down
28 changes: 27 additions & 1 deletion .github/workflows/sycl-detect-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
filters:
description: Matched filters
value: ${{ jobs.need_check.outputs.filters }}
arc_tests:
description: Tests to run on Arc
value: ${{ jobs.need_check.outputs.arc_tests }}

jobs:
need_check:
Expand All @@ -16,6 +19,7 @@ jobs:
timeout-minutes: 3
outputs:
filters: ${{ steps.result.outputs.result }}
arc_tests: ${{ steps.arc_tests.outputs.arc_tests }}
steps:
- name: Check file changes
uses: dorny/paths-filter@0bc4621a3135347011ad047f9ecf449bf72ce2bd
Expand Down Expand Up @@ -57,6 +61,19 @@ jobs:
- devops/scripts/install_drivers.sh
perf-tests:
- sycl/test-e2e/PerformanceTests/**
esimd:
- 'llvm/lib/SYCLLowerIR/ESIMD/**'
- 'llvm/lib/SYCLLowerIR/LowerInvokeSimd.cpp'
- 'llvm/include/llvm/SYCLLowerIR/LowerInvokeSimd.h'
- 'sycl/include/std/experimental/simd.hpp'
- 'sycl/include/std/experimental/simd.hpp'
- 'sycl/include/sycl/ext/intel/esimd.hpp'
- 'sycl/include/sycl/ext/intel/esimd/**'
- 'sycl/include/sycl/ext/intel/esimd.hpp'
- 'sycl/include/sycl/ext/intel/experimental/esimd/**'
- 'sycl/include/sycl/ext/oneapi/experimental/invoke_simd.hpp'
- 'sycl/include/sycl/ext/oneapi/experimental/detail/invoke_simd_types.hpp'
- 'sycl/test-e2e/(ESIMD|InvokeSimd)/**'

- name: Set output
id: result
Expand All @@ -69,6 +86,15 @@ jobs:
return '${{ steps.changes.outputs.changes }}';
}
// Treat everything as changed for huge PRs.
return ["llvm", "llvm_spirv", "clang", "sycl_fusion", "xptifw", "libclc", "sycl", "ci"];
return ["llvm", "llvm_spirv", "clang", "sycl_fusion", "xptifw", "libclc", "sycl", "ci", "esimd"];

- run: echo '${{ steps.result.outputs.result }}'

- name: Set Arc tests
id: arc_tests
run: |
if [ "${{ contains(steps.result.outputs.result, 'esimd') }}" == "true" ]; then
echo 'arc_tests="(ESIMD|InvokeSimd|Matrix)/"' >> "$GITHUB_OUTPUT"
else
echo 'arc_tests="Matrix/"' >> "$GITHUB_OUTPUT"
fi
32 changes: 24 additions & 8 deletions .github/workflows/sycl-linux-precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,15 @@ jobs:
reset_gpu: true
install_drivers: ${{ contains(needs.detect_changes.outputs.filters, 'drivers') }}
extra_lit_opts: --param gpu-intel-gen12=True
- name: Matrix E2E tests on Intel Arc A-Series Graphics
- name: E2E tests on Intel Arc A-Series Graphics
runner: '["Linux", "arc"]'
image: ghcr.io/intel/llvm/ubuntu2204_intel_drivers:latest
image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN
target_devices: ext_oneapi_level_zero:gpu;opencl:gpu
reset_gpu: true
install_drivers: ${{ contains(needs.detect_changes.outputs.filters, 'drivers') }}
extra_lit_opts: --param matrix-xmx8=True --param gpu-intel-dg2=True
env: '{"LIT_FILTER":"Matrix/"}'
env: '{"LIT_FILTER":${{ needs.detect_changes.outputs.arc_tests }} }'
uses: ./.github/workflows/sycl-linux-run-tests.yml
with:
name: ${{ matrix.name }}
Expand Down Expand Up @@ -109,21 +109,37 @@ jobs:
fail-fast: false
matrix:
include:
- name: Perf tests on Intel GEN12 Graphics system
- name: Intel GEN12 Graphics system
runner: '["Linux", "gen12"]'
- name: Perf tests on Intel Arc A-Series Graphics system
image: ghcr.io/intel/llvm/ubuntu2204_intel_drivers:latest
image_extra_opts: --device=/dev/dri
reset_gpu: true
- name: Intel Arc A-Series Graphics system
runner: '["Linux", "arc"]'
image: ghcr.io/intel/llvm/ubuntu2204_intel_drivers:latest
image_extra_opts: --device=/dev/dri
reset_gpu: true
- name: AMD system
runner: '["Linux", "amdgpu"]'
image: ghcr.io/intel/llvm/ubuntu2204_build:latest
image_extra_opts: --device=/dev/dri --device=/dev/kfd
extra_cmake_args: -DHIP_PLATFORM="AMD" -DAMD_ARCH="gfx1031"
- name: CUDA system
runner: '["Linux", "cuda"]'
image: ghcr.io/intel/llvm/ubuntu2204_build:latest
image_extra_opts: --gpus all
uses: ./.github/workflows/sycl-linux-run-tests.yml
with:
name: ${{ matrix.name }}
name: Perf tests on ${{ matrix.name }}
runner: ${{ matrix. runner }}
image: ghcr.io/intel/llvm/ubuntu2204_intel_drivers:latest
image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN
image: ${{ matrix.image }}
image_options: -u 1001 --privileged --cap-add SYS_ADMIN ${{ matrix.image_extra_opts }}
target_devices: all
reset_gpu: true
reset_gpu: ${{ matrix.reset_gpu }}

env: '{"LIT_FILTER":"PerformanceTests/"}'
extra_lit_opts: -a -j 1 --param enable-perf-tests=True
extra_cmake_args: ${{ matrix.extra_cmake_args }}

ref: ${{ github.sha }}
merge_ref: ''
Expand Down
22 changes: 20 additions & 2 deletions .github/workflows/sycl-linux-run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ on:
- '["Linux", "gen12"]'
- '["amdgpu"]'
- '["Linux", "arc"]'
- '["cts-cpu"]'
image:
description: |
Use option ending with ":build" for AMDGPU, ":latest" for the rest.
Expand Down Expand Up @@ -286,10 +287,27 @@ jobs:
-DDPCPP_INSTALL_DIR="$$(dirname (which clang++))/.." \
$CMAKE_EXTRA_ARGS
ninja -C build-cts

- name: SYCL CTS List devices
if: inputs.tests_selector == 'cts'
run: |
./build-cts/bin/test_all --list-devices

- name: Run SYCL CTS tests
if: inputs.tests_selector == 'cts'
env:
ONEAPI_DEVICE_SELECTOR: ${{ inputs.target_devices }}
# FIXME: For some reason the "sub_group api" test-case is failing with
# SIGSEGV while running test_all, so running each binary separately.
# BTW test_all requires a lot of resources to build it, so probably it'll
# be better to build each binary also separately.
# run: |
# ./build-cts/bin/test_all $CTS_TEST_ARGS
run: |
./build-cts/bin/test_all --list-devices
./build-cts/bin/test_all $CTS_TEST_ARGS
for i in `ls -1 ./build-cts/bin`; do
if [ "$i" != "test_all" ]; then
echo "::group::Running $i"
build-cts/bin/$i
echo "::endgroup::"
fi
done
8 changes: 8 additions & 0 deletions .github/workflows/sycl-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,21 @@ jobs:
image: ghcr.io/intel/llvm/ubuntu2204_build:latest
image_options: -u 1001 --gpus all --cap-add SYS_ADMIN
target_devices: ext_oneapi_cuda:gpu

- name: SYCL-CTS
runner: '["cts-cpu"]'
image: ghcr.io/intel/llvm/ubuntu2204_intel_drivers:latest
image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN
target_devices: opencl:cpu
tests_selector: cts
uses: ./.github/workflows/sycl-linux-run-tests.yml
with:
name: ${{ matrix.name }}
runner: ${{ matrix.runner }}
image: ${{ matrix.image }}
image_options: ${{ matrix.image_options }}
target_devices: ${{ matrix.target_devices }}
tests_selector: ${{ matrix.tests_selector }}
reset_gpu: ${{ matrix.reset_gpu }}
ref: ${{ github.sha }}
merge_ref: ''
Expand Down
20 changes: 13 additions & 7 deletions bolt/include/bolt/Core/BinarySection.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,7 @@ class BinarySection {
Alignment = NewAlignment;
ELFType = NewELFType;
ELFFlags = NewELFFlags;
OutputSize = NewSize;
OutputContents = StringRef(reinterpret_cast<const char *>(NewData),
NewData ? NewSize : 0);
IsFinalized = true;
updateContents(NewData, NewSize);
}

public:
Expand Down Expand Up @@ -484,9 +481,18 @@ class BinarySection {
void flushPendingRelocations(raw_pwrite_stream &OS,
SymbolResolverFuncTy Resolver);

/// Change contents of the section.
void updateContents(const uint8_t *Data, size_t NewSize) {
OutputContents = StringRef(reinterpret_cast<const char *>(Data), NewSize);
/// Change contents of the section. Unless the section has a valid SectionID,
/// the memory passed in \p NewData will be managed by the instance of
/// BinarySection.
void updateContents(const uint8_t *NewData, size_t NewSize) {
if (getOutputData() && !hasValidSectionID() &&
(!hasSectionRef() ||
OutputContents.data() != getContentsOrQuit(Section).data())) {
delete[] getOutputData();
}

OutputContents = StringRef(reinterpret_cast<const char *>(NewData),
NewData ? NewSize : 0);
OutputSize = NewSize;
IsFinalized = true;
}
Expand Down
8 changes: 6 additions & 2 deletions bolt/include/bolt/Core/DIEBuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ class DIEBuilder {
std::vector<std::unique_ptr<DIEAbbrev>> Abbreviations;
BinaryContext &BC;
DWARFContext *DwarfContext{nullptr};
bool IsDWO{false};
DWARFUnit *SkeletonCU{nullptr};
uint64_t UnitSize{0};
llvm::DenseSet<uint64_t> AllProcessed;

Expand Down Expand Up @@ -264,8 +264,12 @@ class DIEBuilder {
/// current Section.
DIE *constructDIEFast(DWARFDie &DDie, DWARFUnit &U, uint32_t UnitId);

/// Returns true if this DIEBUilder is for DWO Unit.
bool isDWO() const { return SkeletonCU != nullptr; }

public:
DIEBuilder(BinaryContext &BC, DWARFContext *DwarfContext, bool IsDWO = false);
DIEBuilder(BinaryContext &BC, DWARFContext *DwarfContext,
DWARFUnit *SkeletonCU = nullptr);

/// Returns enum to what we are currently processing.
ProcessingType getCurrentProcessingState() { return getState().Type; }
Expand Down
Loading
Loading