Skip to content

LLVM and SPIRV-LLVM-Translator pulldown (WW20) #6109

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 1,382 commits into from
May 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1382 commits
Select commit Hold shift + click to select a range
5d1dbe1
[libc] fix strtold tests on 32 bit systems
michaelrj-google May 2, 2022
e072a12
[libc] add printf writer
michaelrj-google Apr 25, 2022
1deea71
BuildLibCalls: simplify switch statement slightly
durin42 May 3, 2022
a61c8e1
tsan: for unittests, change to use test fixtures to clear racy stacks
May 3, 2022
672b908
[mlir] Add sin & cos ops to complex dialect
gflegar May 3, 2022
2f9fc57
[lldb] Add setting for max depth of value object printing (NFC)
kastiglione Apr 26, 2022
f2639cf
[randstruct] Move initializer check to be more effective
isanbard May 3, 2022
9f38da2
[pseudo] Implement the GLR parsing algorithm.
hokein May 3, 2022
88962f5
[gn build] Port 9f38da258ea7
llvmgnsyncbot May 3, 2022
3971880
[clang-format][NFC] Clean up tryToParseLambdaIntroducer()
owenca May 3, 2022
29f70e3
Minor correction in bitreverse intrinsic semantics
May 3, 2022
c7ecfad
Fix some places where PseudoObjectExpr handling assumed that a
zygoloid May 2, 2022
c1e17c7
ExtractAPI: Use %clang_cc1 and -verify in enum.c
dexonsmith Apr 28, 2022
88b6d32
[BOLT][TEST] Fix test failures on AArch64 builder
aaupov May 3, 2022
39492ba
Revert "[BOLT][TEST] Fix test failures on AArch64 builder"
aaupov May 3, 2022
7e23b46
[OpenMP] Possible fix for sporadic test failure from loop_dispatch.c
hansangbae May 2, 2022
ed1b327
[pseudo] Print the GSS::Node details when the unittest fails, NFC.
hokein May 3, 2022
37471cf
[clang][OpenMP] Local variable alignment incorrect with align clause
May 3, 2022
a47e036
[InstCombine] add tests for min/max with shuffled operands; NFC
rotateright May 3, 2022
432c199
[InstCombine] move shuffle after min/max with same-shuffled operands
rotateright May 3, 2022
c454609
[pseudo] Use a real language option in the parser.
hokein May 3, 2022
2c33266
[mlir][sparse] Add lowering for unary and binary ops
jim22k May 3, 2022
be50b8c
[riscv] Add debug printing support for VSETVLIInfo class [nfc]
preames May 3, 2022
9eccc73
[bazel] Fix the build after 2c3326608460
d0k May 3, 2022
5f14aee
[mlir] Fix Visual Studio warnings
sstamenova May 3, 2022
3a82669
[SCEV] Removed an unnecessary assertion
May 3, 2022
1abcdc6
[mlir][sparse] add missing types to from/to-MLIR conversion routines
aartbik May 3, 2022
2982d00
Fix a buildbot warning [nfc]
preames May 3, 2022
15d20b9
Fix DXBC magic parsing
llvm-beanz May 3, 2022
e1c808b
Fix zero-width bitfield extracts to emit 0
jroelofs May 3, 2022
2617f2f
[mlir][sparse] fix build issue with unused local under opt builds
aartbik May 3, 2022
3d08c77
[lldb] Session transcript should use the async debugger streams
JDevlieghere May 3, 2022
b945b62
[lldb] Add a function to check if lldb is running in an interactive s…
JDevlieghere May 3, 2022
afaa56d
Implement support for __llvm_addrsig for MachO in llvm-mc
alx32 May 3, 2022
1d5263c
[BOLT][TEST] Fix test failures on AArch64 builder
aaupov May 3, 2022
241ca47
llvm-reduce: Reduce includes
arsenm Apr 19, 2022
5dfe4b7
AMDGPU: Regenerate test checks
arsenm May 2, 2022
574ca03
AMDGPU: Remove some invalid kill flags in tests
arsenm May 2, 2022
994c96a
ARM: Cleanup MIR test
arsenm May 2, 2022
c4e5a24
ARM: Fix using undefined virtual registers in test
arsenm May 2, 2022
3dd0046
[trace][intelpt] Fix out-of-bounds access.
Weverything May 3, 2022
0e86cdd
[psuedo] Fix for unused warning by moving code into debug macro.
Weverything May 3, 2022
dbbbc9e
[riscv] Add a couple more vsetvli tests
preames May 3, 2022
dbe716e
[riscv] Add vsetvli tests involving moves to/from scalar regs
preames May 4, 2022
46a5a80
[OpenMP] Fix save-temps name in linker wrapper
jhuber6 May 4, 2022
e29dc0c
[lld] Implement safe icf for MachO
alx32 May 4, 2022
e95ae39
[CSSPGO][NFC] Replace SampleProfileLoader::ProfileIsCS with FunctionS…
htyu May 2, 2022
3113e5b
[CSSPGO] Relax size limitation for priority inlining with preinlined …
htyu May 2, 2022
5afd208
[riscv] Mark function as used to avoid unused warning.
Weverything May 4, 2022
f9db6d2
[BOLT][CMAKE] Fix llvm-bolt-fuzzer build
aaupov May 3, 2022
ec02227
[BOLT][NFC] Refactor ICP::findCallTargetSymbols
aaupov May 4, 2022
d0b1c98
[BOLT][NFC] ICP: simplify findTargetsIndex
aaupov May 4, 2022
c3d5372
[BOLT][NFC] Make ICP options naming uniform
aaupov May 4, 2022
60957a5
[BOLT] Fix ICPJumpTablesTopN option use
aaupov May 4, 2022
0971819
[RISCV] Don't lookup TII in RISCVInstrInfo::getVLENFactoredAmount. NFCI
topperc May 4, 2022
9cce9a1
[RISCV] Make use of SHXADD instructions in RVV spill/reload code.
topperc May 4, 2022
1d6430b
[RISCV] Update isLegalAddressingMode for RVV.
topperc May 4, 2022
764676b
[fastregalloc] Fix bug when undef value is tied to def.
LuoYuanke May 4, 2022
8ef5710
[ThreadPool] add ability to group tasks into separate groups
llunak Apr 5, 2022
20048f3
[lldb] use one shared ThreadPool and task groups
llunak Apr 6, 2022
0cb5960
Mark test icf-safe.s as requiring aarch64 to fix buildbots which don'…
dyung May 4, 2022
9c34a16
[ThreadPool] delete debug global variable if not needed
llunak May 4, 2022
63aaf9a
[mlir] Add missing CMake deps to mlir-pdll
marbre May 3, 2022
7030654
[iwyu] Handle regressions in libLLVM header include
May 3, 2022
37a1473
[mlir][bufferize] Allow in-place bufferization for writes to init_ten…
matthias-springer May 3, 2022
5a44980
[ELF] Support custom sections between DATA_SEGMENT_ALIGN and DATA_SEG…
MaskRay May 4, 2022
5f60c48
[mlir][linalg][bufferize][NFC] Make init_tensor elimination a separat…
matthias-springer May 3, 2022
b34ea97
[mlir][linalg][bufferize][NFC] Remove remaining Comprehensive Bufferi…
matthias-springer May 3, 2022
f1b9245
tsan: fix GCC warnings
marxin May 3, 2022
7167237
[libunwind][SystemZ] Unwind out of signal handlers
uweigand May 4, 2022
30e8796
[docs] Improve documentation around CMAKE_BUILD_TYPE
tru Apr 25, 2022
8867e83
[flang] Fix ICE for passing a label for non alternate return arguments
May 4, 2022
fbaec11
[SystemZ] Avoid crashing in tryRISBGZero().
JonPsson May 3, 2022
8b48223
Recommit "[VPlan] Remove uneeded needsVectorIV check."
fhahn May 4, 2022
cbd3902
[X86] load-local illegal types tests - expose the load/store stack of…
RKSimon May 4, 2022
350bdf9
[CMake] Make omitting CMAKE_BUILD_TYPE an error
tru Apr 29, 2022
02fb5b7
[flang][driver] Define the default frontend driver triple
banach-space Apr 28, 2022
b540ee5
[X86] Fix redundant `%s` in RUN command. NFC
phoebewang May 4, 2022
2cb2cd2
Change the behavior of implicit int diagnostics
AaronBallman May 4, 2022
6234313
Fix failing buildbot for lldb
AaronBallman May 4, 2022
b62e9f6
[SCEV] Add poison implication tests for umin_seq (NFC)
nikic May 4, 2022
032cc74
[InstCombine] Fix commuted tests (NFC)
nikic May 4, 2022
8f623f4
[AArch64][SVE] Restore SP from FP when SVE CSRs and variable sized ob…
brads55 Apr 28, 2022
1587f6b
Bump the serialization major version number
AaronBallman May 4, 2022
2df9bd3
Do not rely on implicit int for this test
AaronBallman May 4, 2022
2d18a86
[X86] Fix uninitialized variable warnings in cetintrin.h reported by …
phoebewang May 4, 2022
2f64a6c
[SCEV] Add additional poison implication tests (NFC)
nikic May 4, 2022
451bc72
[SDAG] Handle truncated not in haveNoCommonBitsSet()
nikic May 3, 2022
78c1dcb
[RISCV] Add a test showing incorrect VSETVLI insertion
frasercrmck Apr 20, 2022
7aadfc5
[VectorCombine] Add tests for shuffle binops patterns. NFC
davemgreen May 4, 2022
62b2a47
[clang][dataflow] Only skip ExprWithCleanups when visiting terminators
tJener May 2, 2022
e8f7d01
[mlir] Add a flag to allow equivalent results.
pifon2a May 4, 2022
03e36d8
[InstCombine] add tests for fma with shuffled operands; NFC
rotateright May 4, 2022
9c4770e
[InstCombine] move shuffle after fma with same-shuffled operands
rotateright May 4, 2022
726d7b0
[Sema] Simplify CheckConstraintSatisfaction. NFC
ilya-biryukov May 4, 2022
4954f0d
[InstCombine] add FMF to tests for better coverage; NFC
rotateright May 4, 2022
15042f4
[InstCombine] propagate FMF when reordering intrinsics and shuffles
rotateright May 4, 2022
ff8d0b3
[VPlan] Add test for printing plan with an exit value.
fhahn May 4, 2022
94d36fd
Fix a crash on invalid with _Generic expressions
AaronBallman May 4, 2022
b6c67c3
[clang] Track how headers get included generally during lookup time
cyndyishida May 4, 2022
1cd13e6
[mlir][sparse][taco] Support more data types.
bixia1 May 4, 2022
62501bc
[NFC][CUDA][HIP] rework mangling number for aux target
yxsamliu May 3, 2022
629e1e8
[InstCombine] add tests for funnel-shift with shuffled operands; NFC
rotateright May 4, 2022
7e6d318
[InstCombine] move shuffle after funnel shift with same-shuffled oper…
rotateright May 4, 2022
14f2576
[InstCombine] add type constraint to intrinsic+shuffle fold
rotateright May 4, 2022
859d923
Fix a failing assertion with vector type initialization
AaronBallman May 4, 2022
4c262fe
[clang][extract-api] Use relative includes
zixu-w Apr 15, 2022
5f841c7
[NFC] Remove unfinished test case
zixu-w May 4, 2022
b7d807d
[lldb] parallelize calling of Module::PreloadSymbols()
llunak Apr 5, 2022
0e2fb8a
[libc++] Refactor max_size.pass.cpp
ldionne Apr 25, 2022
1b2704f
[HWASan] cleanup imports in hwasan_symbolize.
fmayer May 4, 2022
80045e9
[libc++] Implement ranges::for_each{, _n}
philnik777 May 4, 2022
892b205
[gn build] Port 80045e9afa2f
llvmgnsyncbot May 4, 2022
342e1c7
[clang-format] Fix a bug in AlignConsecutiveAssignments
owenca May 3, 2022
2966f0f
Revert "[clang][extract-api] Use relative includes"
zixu-w May 4, 2022
68c7299
[BOLT][NFC] Fix MCPlusBuilder::getAliases caching behavior
aaupov May 4, 2022
f1f8899
[libunwind] [CMake] Handle the RelWithDebInfo configuration similarly…
mstorsjo May 4, 2022
6123e9c
[libunwind] Silence warnings about unused variables. NFC.
mstorsjo May 4, 2022
6552948
[memprof] Use unknown_function error type for missing functions
teresajohnson May 4, 2022
794c421
[mlir][LLVMIR] Do not update instMap via assignments to entry references
mshockwave Apr 20, 2022
b1a55d0
Fix a crash on targets where __bf16 isn't supported
AaronBallman May 4, 2022
c1d6dca
[compiler-rt][AVR] Use correct return value for __ledf2 etc
aykevl May 4, 2022
9a8d33d
[clang-tidy] Escape diagnostic messages before passing to `diag` in T…
ymand May 4, 2022
2ad1c75
[BOLT][NFC] Minor cleanup in ICP getCallTargets and canPromoteCallsite
aaupov May 4, 2022
f8d2d8b
[BOLT][NFC] Move getInliningInfo out of Inliner class
aaupov May 4, 2022
f848798
[ARM] Delay creation of MVE Imm shifts to legalization
davemgreen May 4, 2022
5e004fb
[LoopCacheAnalysis][NFC] Add a test case for improved loop cache anal…
CongzheUalberta May 4, 2022
411bb42
[RISCV] Add a special case to treat riscv-v-vector-bits-min=-1 as mea…
topperc May 4, 2022
bc78c09
[amdgpu] Elide module lds allocation in kernels with no callees
JonChesterfield May 4, 2022
63f21f4
[AMDGPU] Handle LDS DMA and LDS_DIRECT hazards
rampitec Apr 27, 2022
18ed2ee
[RISCV] Add a version of insertVSETVLI which uses an iterator [NFC]
preames May 3, 2022
cb5bb28
Revert "Revert "[clang][extract-api] Use relative includes""
zixu-w May 4, 2022
df552ed
Update the CFA to use $sp when $fp is restored on arm64
jasonmolenda May 4, 2022
19bb38b
[lld-macho][nfc] Set test min version to 11.0
int3 May 4, 2022
a0fb387
[DebugInfo] Give warning instead of error for premature terminator in…
junfd May 4, 2022
a6553d9
Remove expected fail for TestStepNoDebug on AArch64
jasonmolenda May 4, 2022
f52e365
[sanitizer] Use newfstatat for x32
hjl-tools May 4, 2022
ef849f5
[PowerPC] Re-run update_mir_test_checks.py on nofpexcept.ll. NFC
topperc May 4, 2022
ddef1ed
[llvm-otool] Make `llvm-otool -l` output compatible with otool for LC…
nico May 4, 2022
895a721
[lld/mac] Support writing zippered dylibs and bundles
nico Apr 22, 2022
46bef4d
[InstCombine][NFC] Add baseline tests for folds of ((A&B)^C)|B
alexander-shaposhnikov May 5, 2022
640f1e0
[InstCombine][NFC] Update comment in and-xor-or.ll
alexander-shaposhnikov May 5, 2022
60cb489
[RISCV] Use movImm went multiplying by simm12 in getVLENFactoredAmount.
topperc May 5, 2022
514371c
[compiler-rt][AVR] Fix avr_SOURCES CMake variable
aykevl May 4, 2022
ec7122f
[InstCombine] Fold ((A&B)^C)|B
alexander-shaposhnikov May 5, 2022
cef2739
[MC][AVR] Implement decoding STD/LDD
benshi001 Apr 9, 2022
b1dcd6b
[MC][AVR] Implement decoding ST/LD
benshi001 Apr 11, 2022
572dfef
[SelectionDAG] Use llvm::any_of to simplify a loop. NFC
topperc May 5, 2022
5895179
[X86] Call initializeX86PreTileConfigPass from LLVMInitializeX86Target.
topperc May 5, 2022
dc66897
[Disassembler][AVR] Remove unused static functions
benshi001 May 5, 2022
373ce14
[X86][AMX] Replace PXOR instruction with SET0 in AMX pre config.
LuoYuanke May 4, 2022
aa25b55
[X86] Add `void` to void function. NFC
phoebewang May 5, 2022
8bb1043
[RISCV][NFC] Use true_mask replace riscv_vmset_vl in defined patterns.
Apr 29, 2022
6641c57
[AVR] Always expand STDSPQRr & STDWSPQRr
Patryk27 May 5, 2022
58abe36
[clang][dataflow] Add flowConditionIsTautology function
tJener May 4, 2022
2407c13
[AIX][PGO] Enable linux style PGO on AIX
May 3, 2022
2417de2
[AMDGPU] Use d16 flag for image.sample instructions
mariusz-sikora-at-amd Apr 25, 2022
83914ee
[InstCombine] Remove side effect of replaced constrained intrinsics
spavloff May 5, 2022
6c10014
[RISCV][Clang] add more tests for clang driver. (NFC)
zakk0610 May 5, 2022
7d40f56
[Pipelines] Hoist CoroCleanup to avoid blocking optimizations
ChuanqiXu9 Apr 21, 2022
405bf90
[NFC] [Pipelines] Hoist CoroCleanup as Module Pass
ChuanqiXu9 May 5, 2022
f416e57
[lldb] Fix ppc64 detection in lldb
May 2, 2022
47c559d
[SCEV] Fold umin_seq to umin using implied poison reasoning
nikic May 4, 2022
f178c38
[mlir][scf][bufferize][NFC] Simplify verifyAnalysis implementation
matthias-springer May 5, 2022
417e1c7
[mlir][scf][bufferize][NFC] Split ForOp bufferization into smaller fu…
matthias-springer May 5, 2022
e300682
[mlir][scf][bufferize] Update verifyAnalysis error message
matthias-springer May 5, 2022
cc344d2
[clang] Add static_cast to fix Bazel build.
akuegel May 5, 2022
b910cf9
[flang] use 1-based dim in transformational runtime error msg
jeanPerier May 5, 2022
6bd2b70
[SimpleLoopUnswitch] Add freeze if branch execs for partial unswitching.
fhahn May 5, 2022
9678936
[DAGCombine] Fold (X & ~Y) | Y with truncated not
nikic May 4, 2022
9ebbe25
RegAllocGreedy: Common up part of the priority calculation. NFC.
jayfoad May 5, 2022
3497a4f
[LICM] Add test to exercise assertion from D123473.
fhahn May 5, 2022
df58018
[analyzer] Get direct binding for specific punned case
Apr 24, 2022
6f095ba
sanitizer_common: Define FP_XSTATE_MAGIC1 for old glibc
tob2 May 5, 2022
ba6c8d4
[AMDGPU] Combine DPP mov even if old reg def is in different BB
jayfoad Apr 21, 2022
75f9e83
[AArch64] Add -aarch64-insert-extract-base-cost
peterwaller-arm May 3, 2022
e592690
[XCOFF][AIX] Use unique section names for LSDA and EH info sections w…
xingxue-ibm May 5, 2022
99f31ac
[SLP]Further improvement of the cost model for scalars used in buildv…
alexey-bataev Dec 14, 2021
40c1372
[Frontend] give createInvocationFromCommandLine an options struct
sam-mccall May 5, 2022
47bdea3
[ThreadSanitizer] Add fallback DebugLocation for instrumentation calls
melver May 5, 2022
08b20f2
[ConstantFold] Use getFltSemantics instead of manually checking the type
d0k May 5, 2022
c894e85
In MSVC compatibility mode, handle unqualified templated base class i…
frederic-tingaud-sonarsource May 5, 2022
bb177ed
[flang][driver] Re-organise the code-gen actions (nfc)
banach-space Apr 22, 2022
17d27d9
[IR] Simplify code. NFCI.
d0k May 5, 2022
d134442
[flang][nfc] Use a message class for "not yet implemented" messages
psteinfeld May 5, 2022
c7a6b11
[ARM][AArch64] Add some extra shuffle conversion test coverage. NFC
davemgreen May 5, 2022
042a7a5
[riscv] Use X0 for destination of VSETVLI instruction if result unused
preames May 5, 2022
04b4190
[Driver] Make "upgrade" of -include to include-pch optional; disable …
sam-mccall May 4, 2022
1f37d94
[PowerPC] Add extra v2i64 splat load tests. NFC
davemgreen May 5, 2022
68dee83
[MachinePipeliner] Fix unscheduled instruction
Apr 5, 2022
ad2263d
[Sema] Replace invalid FIXME about memory leak. NFC
ilya-biryukov May 5, 2022
b9f3b7f
[flang][driver] Add support for consuming LLVM IR/BC files
banach-space Apr 22, 2022
990ea39
[libc++] Add a few _LIBCPP_ASSERTs in __tree
ldionne Apr 26, 2022
7cf97d6
[clang-tidy] Make header-guard check a little looser on comment white…
sam-mccall May 4, 2022
f0d6cb4
[analyzer] Canonicalize SymIntExpr so the RHS is positive when possible
tomasz-kaminski-sonarsource May 5, 2022
87a5513
Fix "the the" typo in documentation and user facing strings
briantracy May 5, 2022
e13c28e
[Driver] Remove -fno-concept-satisfaction-caching
ilya-biryukov May 5, 2022
eed0d85
[OpenMP] libomp: cleanup dead code
AndreyChurbanov May 5, 2022
4a64bed
[OpenMP] libomp: cleanup - remove duplicate check
AndreyChurbanov May 5, 2022
1e95d1b
[clang] Fix Clang release notes
ilya-biryukov May 5, 2022
199dfb4
Silence a false positive about an unevaluated expr w/side effects
AaronBallman May 5, 2022
87e3646
[AArch64][GlobalISel] Add undef combines to postlegalizer combiner.
aemerson May 5, 2022
52d0ef3
[OpenMP] libomp: Add itt notifications to sync dependent tasks.
AndreyChurbanov May 5, 2022
be51ddf
[RISCV] Add integer min/max intrinsic tests. NFC
topperc May 5, 2022
fd13192
[DAGCombiner] Fold (max/min X, X) -> X.
topperc May 5, 2022
4e2d1a6
[DAGCombiner] Fold (sext/zext undef) -> 0 and aext(undef) -> undef.
topperc May 5, 2022
bb0aa57
[flang] Fix triple in a couple of driver tests
banach-space May 5, 2022
9faf1ee
Merge from 'sycl' to 'sycl-web'
May 5, 2022
084f967
[SelectionDAG] Constant fold (sext_inreg undef, VT) to 0 instead of u…
topperc May 5, 2022
7bad1d2
[InstCombine] add scalable vector test for logical select; NFC
rotateright May 5, 2022
21c028a
[InstCombine] fix typo in test name; NFC
rotateright May 5, 2022
6385c03
[clangd] Fix inlayhints crash, don't assume functions have FunctionTy…
sam-mccall May 5, 2022
22c6e7b
[mlir][nvvm] Fix support for tf32 data type in mma.sync
christopherbate May 4, 2022
aff52d1
[BOLT][CMAKE] Check build target architecture for runtime libs
aaupov May 5, 2022
7e71a03
[AMDGPU] Split FeatureAtomicFaddInsts
Sisyph Apr 14, 2022
967137c
No longer accept scoped enumerations in C
AaronBallman May 5, 2022
c12ef70
[flang][driver] Add missing parentheses in an assert
banach-space May 5, 2022
617edfa
[x86][scheduler] Add MIR test for 41914
nickdesaulniers May 5, 2022
5a4f177
[libc++] Avoid a Microsoft SAL macro.
pkasting May 5, 2022
e1554ac
Revert "[InstCombine] Remove side effect of replaced constrained intr…
spavloff May 5, 2022
18fd09a
[X86SchedSandyBridge] update cost of COPY to 1 cycle from 0
nickdesaulniers May 5, 2022
0d8cb8b
DWARFVerifier: Verify CU/TU index overlap issues
dwblaikie May 5, 2022
f9f7aa3
[VPlan] Remove dead code to create VPWidenPHIRecipes (NFCI).
fhahn May 5, 2022
eb3136f
Fix debugserver translation check
aperez May 2, 2022
f6dff93
Pedantically warn about // comments in gnu89 mode
AaronBallman May 5, 2022
733dc3e
[BOLT] Report per-section hotness in bolt-heatmap.
rlavaee May 5, 2022
dcb9067
[clang][ASTImporter][NFC]: Move clang::ImportError into own header.
phyBrackets May 2, 2022
c2a5a87
[X86] Add some test coverage for Issue #55271
RKSimon May 5, 2022
cc473c9
Merge from 'main' to 'sycl-web' (354 commits)
smanna12 May 5, 2022
98616cf
[ORC] Add an ExecutorAddr::toPtr overload for function types.
lhames May 5, 2022
5140e0d
[SelectionDAGISel] Add back a comment to MergeInputChains handling. NFC
topperc May 5, 2022
448eabd
[libcxx] [test] Fix max_size.pass.cpp for other Windows architectures
mstorsjo May 4, 2022
aeb4907
[libcxxabi] Use the right calling convention for exception destructor…
mstorsjo May 4, 2022
9dfbccf
[libcxx] [test] Extend the UNSUPPORTED lines in strong_order_long_dou…
mstorsjo May 4, 2022
07c96a3
[libcxx] [test] Narrow down an XFAIL for clang-cl configurations
mstorsjo May 5, 2022
45643cf
[clang][dataflow] Centralize expression skipping logic
tJener May 4, 2022
d455569
[mlir] Fix the names of exported functions
sstamenova May 5, 2022
b226894
[sanitizer] Correct GetTls for x32
hjl-tools May 5, 2022
16dcbb5
[ORC] Return ExecutorAddrs rather than JITEvaluatedSymbols from LLJIT…
lhames May 5, 2022
586802e
[GlobalISel] Re-generate some tests.
aemerson May 5, 2022
b6388e4
Decr return pc mid-stack when picking UnwindPlan row
jasonmolenda May 5, 2022
8bb5b65
[mlir:ExecutionEngine] Update use of getAddress now that lookup retur…
River707 May 5, 2022
8b626a2
[clang-format] Fix another bug in AlignConsecutiveAssignments
owenca May 4, 2022
97845e9
Merge remote-tracking branch 'otcshare/sycl-web' into pulldown
May 5, 2022
b14272f
Merge commit '8b626a2caa672a174829105ff7749d8d9a080f2a' into pulldown
May 6, 2022
ae2218e
Remove more uses of getPointerElementType (part of issue #1444).
jcranmer-intel Apr 21, 2022
36c00ce
Replace uses of Type::getPointerElementType in SPIRVReader.
jcranmer-intel Apr 21, 2022
1f4f277
Temporarily allow use of deprecated functions
svenvh Apr 22, 2022
dc1a24e
Remove more getPointerElementType queries.
jcranmer-intel Apr 22, 2022
f6739d1
[SYCL][NVPTX] Fix wrong pulldown merge
May 7, 2022
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.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
*~
# Merge files created by git.
*.orig
# Reject files created by patch.
*.rej
# Byte compiled python modules.
*.pyc
# vim swap files
Expand Down
43 changes: 24 additions & 19 deletions bolt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set(BOLT_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR})
set(CMAKE_CXX_STANDARD 14)

set(BOLT_ENABLE_RUNTIME OFF)
if (CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "x86_64")
if (CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64")
set(BOLT_ENABLE_RUNTIME ON)
endif()

Expand All @@ -16,26 +16,31 @@ architecture for use in BOLT tests")

set(BOLT_INCLUDE_TESTS OFF)
if (LLVM_INCLUDE_TESTS)
set(BOLT_CLANG_PRESENT OFF)
set(BOLT_LLD_PRESENT OFF)

if ("clang" IN_LIST LLVM_ENABLE_PROJECTS AND BOLT_CLANG_EXE)
message(WARNING "BOLT_CLANG_EXE is set and clang project is enabled. \
BOLT_CLANG_EXE will be used for BOLT tests.")
endif()
if ("clang" IN_LIST LLVM_ENABLE_PROJECTS OR BOLT_CLANG_EXE)
if ("clang" IN_LIST LLVM_ENABLE_PROJECTS AND BOLT_CLANG_EXE)
message(WARNING "BOLT_CLANG_EXE is set and clang project is enabled. \
BOLT_CLANG_EXE will be used for BOLT tests.")
endif()
if ("lld" IN_LIST LLVM_ENABLE_PROJECTS OR BOLT_LLD_EXE)
if ("lld" IN_LIST LLVM_ENABLE_PROJECTS AND BOLT_LLD_EXE)
message(WARNING "BOLT_LLD_EXE is set and lld project is enabled. \
BOLT_LLD_EXE will be used for BOLT tests.")
endif()
set(BOLT_INCLUDE_TESTS ON)
else()
message(WARNING "Not including BOLT tests since lld is disabled. \
Enable lld in LLVM_ENABLE_PROJECTS or provide a path to lld binary \
in BOLT_LLD_EXE.")
endif()
set(BOLT_CLANG_PRESENT ON)
endif()

if ("lld" IN_LIST LLVM_ENABLE_PROJECTS AND BOLT_LLD_EXE)
message(WARNING "BOLT_LLD_EXE is set and lld project is enabled. \
BOLT_LLD_EXE will be used for BOLT tests.")
endif()
if ("lld" IN_LIST LLVM_ENABLE_PROJECTS OR BOLT_LLD_EXE)
set(BOLT_LLD_PRESENT ON)
endif()

if (BOLT_CLANG_PRESENT AND BOLT_LLD_PRESENT)
set(BOLT_INCLUDE_TESTS ON)
else()
message(WARNING "Not including BOLT tests since clang is disabled. \
Enable clang in LLVM_ENABLE_PROJECTS or provide a path to clang \
binary in BOLT_CLANG_EXE.")
message(WARNING "Not including BOLT tests since clang or lld is disabled. \
Add clang and lld to LLVM_ENABLE_PROJECTS or provide paths to clang \
and lld binaries in BOLT_CLANG_EXE and BOLT_LLD_EXE.")
endif()
endif()

Expand Down
14 changes: 12 additions & 2 deletions bolt/include/bolt/Core/BinaryContext.h
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,9 @@ class BinaryContext {
using DWOIdToCUMapType = std::unordered_map<uint64_t, DWARFUnit *>;
DWOIdToCUMapType DWOCUs;

bool ContainsDwarf5{false};
bool ContainsDwarfLegacy{false};

/// Preprocess DWO debug information.
void preprocessDWODebugInfo();

Expand Down Expand Up @@ -234,7 +237,13 @@ class BinaryContext {
/// Get Number of DWOCUs in a map.
uint32_t getNumDWOCUs() { return DWOCUs.size(); }

const std::map<unsigned, DwarfLineTable> &getDwarfLineTables() const {
/// Returns true if DWARF5 is used.
bool isDWARF5Used() const { return ContainsDwarf5; }

/// Returns true if DWARF4 or lower is used.
bool isDWARFLegacyUsed() const { return ContainsDwarfLegacy; }

std::map<unsigned, DwarfLineTable> &getDwarfLineTables() {
return DwarfLineTablesCUMap;
}

Expand All @@ -245,7 +254,8 @@ class BinaryContext {
Expected<unsigned> getDwarfFile(StringRef Directory, StringRef FileName,
unsigned FileNumber,
Optional<MD5::MD5Result> Checksum,
Optional<StringRef> Source, unsigned CUID);
Optional<StringRef> Source, unsigned CUID,
unsigned DWARFVersion);

/// [start memory address] -> [segment info] mapping.
std::map<uint64_t, SegmentInfo> SegmentMapInfo;
Expand Down
3 changes: 3 additions & 0 deletions bolt/include/bolt/Core/BinaryFunction.h
Original file line number Diff line number Diff line change
Expand Up @@ -1279,6 +1279,9 @@ class BinaryFunction {
case ELF::R_AARCH64_MOVW_UABS_G2:
case ELF::R_AARCH64_MOVW_UABS_G2_NC:
case ELF::R_AARCH64_MOVW_UABS_G3:
case ELF::R_AARCH64_PREL16:
case ELF::R_AARCH64_PREL32:
case ELF::R_AARCH64_PREL64:
Rels[Offset] = Relocation{Offset, Symbol, RelType, Addend, Value};
return;
case ELF::R_AARCH64_CALL26:
Expand Down
Loading