Skip to content

LLVM and SPIRV-LLVM-Translator pulldown (WW07) #3183

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 774 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
774 commits
Select commit Hold shift + click to select a range
e51d78a
Merge from 'sycl' to 'sycl-web'
Feb 3, 2021
c18231e
[CodeGen] Drop unnecessary const from return types (NFC)
kazutakahirata Feb 3, 2021
dc3d545
[Transforms/Utils] Use range-based for loops (NFC)
kazutakahirata Feb 3, 2021
511c9a7
[AsmPrinter] Use ListSeparator (NFC)
kazutakahirata Feb 3, 2021
97ba5cd
[InstrProfiling] Use !associated metadata for counters, data and values
petrhosek Jul 13, 2019
40117b7
[libcxx] Implement the permissions function for windows
mstorsjo Nov 4, 2020
cdc60a3
[libcxx] Implement the read_symlink function for windows
mstorsjo Nov 4, 2020
08274d7
[clang-include-fixer] Pre-reserve vector size. NFC
sam-mccall Feb 3, 2021
fae6d12
[X86] Correct types in tablegen multiclasses found by D95874.
phoebewang Feb 3, 2021
d4626eb
[VPlan][NFC] Introduce constructors for VPIteration
david-arm Jan 29, 2021
369f7de
[LIBC] Add optimized memcpy routine for AArch64
avieira-arm Feb 3, 2021
2cbcf3e
[AArch64][SVE]Add cost model for broadcast shuffle
CarolineConcatto Jan 28, 2021
d49efdc
Revert "[AMDGPU] Add a new Clamp Pattern to the GlobalISel Path."
Flakebi Feb 3, 2021
d38973a
[clang][AVR] Improve avr-ld command line options
benshi001 Feb 3, 2021
9caf364
[OpenCL] Add cl_khr_subgroup_ballot to TableGen BIFs
svenvh Feb 2, 2021
e6a62ac
[OpenCL] Add cl_khr_subgroup_non_uniform_vote to TableGen BIFs
svenvh Feb 3, 2021
5bc6e75
[Flang][OpenMP] Add semantic checks for invalid branches into or out …
praveen-g-ctt Feb 3, 2021
54afcad
[clangd] Report xref for base methods.
usx95 Feb 1, 2021
3acc439
Merge from 'main' to 'sycl-web' (#1)
dm-vodopyanov Feb 3, 2021
3fda262
[clang][AVR][NFC] Fix a typo
benshi001 Feb 3, 2021
dd2dac2
Fix MLIR Async Runtime DLL on Windows
mjp41 Feb 3, 2021
e635feb
[OpenCL] Fix address space in binding of initializer lists to referencs
Feb 3, 2021
e48f444
[Sema] Fix -Warray-bounds false negative when casting an out-of-bound…
mirsky-work Jan 18, 2021
7a45f27
[OpenCL][Docs] Fix command line flag in the example.
Feb 3, 2021
32b7c2f
[X86][SSE] Support variable-index float/double vector insertion on SS…
RKSimon Feb 3, 2021
916c412
[LoopVectorize] add test for fake min/max; NFC
rotateright Feb 3, 2021
9719f17
AMDGPU: Move handling of allocation of fixed ABI inputs
arsenm Jan 9, 2021
e59d336
[test] Use host platform specific error message substitution in lit t…
abhina-sree Feb 3, 2021
0682903
Revert "[ConstantFold] Fold more operations to poison"
aqjune Feb 3, 2021
26ec785
[AMDGPU] Fix multiclass template parameter types. NFC.
jayfoad Feb 3, 2021
be0bf04
[ConstraintElimination] Add some tests with conds in loop header.
fhahn Feb 3, 2021
81b6987
[FPEnv][X86] Platform builtins edition: clang should get from the AST…
kpneal Jan 12, 2021
34eb0ad
[flang] Add -fsyntax-only to f18; retain -fparse-only synonym
klausler Feb 2, 2021
3562d25
[Hexagon] Add ELF flags for Hexagon V68
Feb 3, 2021
93afc34
[dfsan] Clean TLS after signal callbacks
stephan-yichao-zhao Feb 2, 2021
4463e39
[flang][NFCI] Relpace `LoopOp` Op with `DoLoopOp` Op in FIR Dialect
SouraVX Feb 3, 2021
ddc2f1e
[DWARF] Location-less inlined variables should not have DW_TAG_variable
jmorse Feb 3, 2021
daaa0e3
[VPlan] Manage induction value creation using VPValues.
fhahn Feb 3, 2021
d32deaa
Revert "[DWARF] Location-less inlined variables should not have DW_TA…
jmorse Feb 3, 2021
3c31b78
[OpenMP] Fixed an issue that taskwait doesn't work on detachable task
shiltian Feb 3, 2021
f287955
[flang] Enable FIR types and Dialect round trip tests
SouraVX Feb 3, 2021
34da12d
[DAGCombiner] Remove (sra (shl X, C), C) if X has more than C sign bits.
topperc Feb 3, 2021
6038d68
[AMDGPU] Added -mcpu to couple more tests. NFC.
rampitec Feb 3, 2021
477e3fe
Revert "AMDGPU: Don't consider global pressure when bundling soft cla…
arsenm Feb 3, 2021
d81069e
[scudo/standalone] Use zx_system_get_page_size() on Fuchsia
frobtech Feb 3, 2021
09fe23a
[gwp_asan] Use zx_system_get_page_size() on Fuchsia
frobtech Feb 3, 2021
5580fa1
[lldb] Fix debugserver-entitlements.plist path
JDevlieghere Feb 3, 2021
d886da0
RegisterCoalescer: Prune undef subranges from copy pairs in loops
arsenm Nov 16, 2020
163dcd8
[lld-macho] Associate each Symbol with an InputFile
int3 Feb 3, 2021
f843bb8
[lld-macho] Force-loading should share code path with regular archive…
int3 Feb 3, 2021
4b2169f
[lld-macho] Remove stray ehFrame change
int3 Feb 3, 2021
2d2e000
[lld-macho] Rename VERSION CONTROL to VERSION TARGETING in helptext
int3 Feb 3, 2021
15aa78a
[sanitizer_common] Use zx_system_get_page_size() on Fuchsia
frobtech Feb 3, 2021
bbb7555
[libc][NFC] Move generic math implementations to the generic directory.
Feb 3, 2021
eb5c0a9
[dfsan] Test IGN and DFL for sigaction
stephan-yichao-zhao Feb 3, 2021
15f26c5
[dfsan] Wrap strcat
stephan-yichao-zhao Feb 3, 2021
2018daf
[flang] Fix calls to LBOUND() intrinsic for arrays with lower bounds …
psteinfeld Feb 2, 2021
39fbb5c
RegisterCoalescer: Fix not setting undef on coalesced subregister uses
arsenm Dec 11, 2020
8a43ec7
Set GPU context before {cu,hip}MemHostRegister.
chsigg Feb 2, 2021
62ce4b0
[GlobalISel] Combine narrowScalar of G_ADD and G_SUB. NFC
bogner Feb 3, 2021
4a35941
Delete CUDA context after linking device code.
chsigg Feb 2, 2021
0b2af1a
[NFC][CUDA] Refactor registering device variable
yxsamliu Jan 26, 2021
b8f13db
[SampleFDO][NFC] Detach SampleProfileLoader from SampleCoverageTracker
xur-llvm Feb 3, 2021
554cf37
[clang-tblgen] AnnotateAttr::printPretty has spurious comma when no v…
apple-fcloutier Feb 2, 2021
0bb1985
[Hexagon] Add LLVM instruction definitions for Hexagon V68
Feb 3, 2021
8d73bee
[mlir] Add gpu async integration test.
chsigg Feb 3, 2021
6b14c12
Fix overflowing signed left shift, found by ubsan buildbot.
zygoloid Feb 3, 2021
9da05cf
[asan] Fix pthread_create interceptor
vitalybuka Jan 30, 2021
f020544
[NewPM][HelloWorld] Move HelloWorld to Utils
aeubanks Feb 3, 2021
ea5b75d
[lld-macho] Try to fix Windows build
int3 Feb 3, 2021
9db6114
Add API for adding arguments to blocks
GeorgeLyon Feb 3, 2021
d41c6d5
[libc++] Rationalize our treatment of contiguous iterators and __unwr…
Quuxplusone Jan 15, 2021
4dc08cc
[Coverage] Propogate counter to condition of conditional operator
ZequanWu Feb 3, 2021
98e50a7
[lldb] Honor the CPU type & subtype when launching on macOS
JDevlieghere Feb 3, 2021
b3901ef
[lldb] Check for both Lua 5.3 and 5.4 error messages in the tests.
JDevlieghere Feb 3, 2021
1a13ee1
[GlobalISel] Add sext(constant) -> constant artifact combine.
aemerson Jan 30, 2021
b15cbaf
PR49020: Diagnose brace elision in designated initializers in C++.
zygoloid Feb 3, 2021
669ddd1
Turn on the new pass manager by default
aeubanks Jan 25, 2021
b0a8e41
Revert "[LTOCodeGenerator] Use lto::Config for options (NFC)."
fhahn Feb 3, 2021
0a17664
Revert "[LTO] Add option enable NewPM with LTOCodeGenerator."
fhahn Feb 3, 2021
7db390c
Revert "[LTO] Use lto::backend for code generation."
fhahn Feb 3, 2021
1f06f41
PR44325 (and duplicates): don't issue -Wzero-as-null-pointer-constant
zygoloid Feb 3, 2021
c0199b2
[clang-tidy] Use new mapping matchers
steveire Jan 2, 2021
26e9c99
[Docs] Add some documentation for constructor homing, a debug info op…
amykhuang Feb 2, 2021
493f140
[libc++] [P0879] constexpr std::sort
Quuxplusone Dec 20, 2020
a1f6bb2
[AArch64][GlobalISel] Emit G_ASSERT_ZEXT in assignValueToAddress for …
Jan 29, 2021
b995314
Revert "[InstrProfiling] Use !associated metadata for counters, data …
nico Feb 4, 2021
56fcd4e
[AArch64][GlobalISel] Change store value type from p0 -> s64 to impor…
Feb 2, 2021
c82b24f
[CSSPGO][llvm-profgen] Pseudo probe based CS profile generation
wlei-llvm Jan 11, 2021
e3bb1c8
[lldb] Rollback to using i386 for the watch simulator
JDevlieghere Feb 4, 2021
26b5be6
[OpenMPIRBuilder] Implement collapseLoops.
Meinersbur Feb 3, 2021
0f0ce3c
[OpenMP][NVPTX] Take functions in `deviceRTLs` as `convergent`
shiltian Feb 4, 2021
a1d5bdf
Make the folder more robust against op fold() methods that generate a…
joker-eph Feb 4, 2021
c95c0db
[MLIR] Fix building unittests in in-tree build
isuruf Feb 4, 2021
0609f25
[CSSPGO][llvm-profgen] Compress recursive cycles in calling context
wlei-llvm Jan 29, 2021
1714ad2
[CSSPGO][llvm-profgen] Aggregate samples on call frame trie to speed …
wlei-llvm Jan 11, 2021
781a1b1
[test] Pin spir-codegen.ll to legacy PM
aeubanks Feb 4, 2021
aade0ec
Fix the guaranteed alignment of memory returned by malloc/new on Darwin
ahatanaka Feb 2, 2021
b4de30f
[Support] Drop unnecessary const from return types (NFC)
kazutakahirata Feb 4, 2021
643c00f
[TableGen] Use ListSeparator (NFC)
kazutakahirata Feb 4, 2021
be37475
[Transforms/IPO] Use range-based for loops (NFC)
kazutakahirata Feb 4, 2021
9511fa2
[NFC][Coroutine] Remove redundant comment
ChuanqiXu9 Feb 4, 2021
0ed758b
[lldb] Convert more assertTrue to assertEqual (NFC)
kastiglione Feb 2, 2021
b42ccdf
[NFC] Fix the noprofile attribute comment
petrhosek Feb 4, 2021
a2c1054
[ASTReader] Always rebuild a cached module that has errors
bnbarham Feb 4, 2021
08e8bb6
Revert "[CSSPGO][llvm-profgen] Aggregate samples on call frame trie t…
wlei-llvm Feb 4, 2021
6bccdcd
Revert "[CSSPGO][llvm-profgen] Compress recursive cycles in calling c…
wlei-llvm Feb 4, 2021
ac14bb1
[CSSPGO][llvm-profgen] Compress recursive cycles in calling context
wlei-llvm Jan 29, 2021
a2fdf9d
[hip][cuda] Enable extended lambda support on Windows.
darkbuck Oct 11, 2019
1029c82
[mlir][Linalg] NFC - Extract a standalone LinalgInterfaces
nicolasvasilache Feb 3, 2021
cde8d2f
Fix miscompile when performing template instantiation of non-dependent
zygoloid Feb 4, 2021
3b9de99
Give this test a target triple.
zygoloid Feb 4, 2021
f245b7a
[mlir][Linalg] Generalize the definition of a Linalg contraction.
nicolasvasilache Feb 4, 2021
6c1a233
[Syntax] Support condition for IfStmt.
hokein Feb 1, 2021
5eec9a3
[clangd] Detect rename conflicits within enclosing scope
kirillbobyrev Feb 4, 2021
6c59dc4
[AMDGPU] Save all lanes for reserved VGPRs
Flakebi Feb 4, 2021
e3f0230
[Support] Indent multi-line descr of enum cli options.
fodinabor Dec 17, 2020
225ccf0
[clang][cli] Command line round-trip for HeaderSearch options
jansvoboda11 Feb 4, 2021
6625680
[clang-cl] Remove the /fallback option
zmodem Feb 2, 2021
5b91060
[mlir] Apply source materialization in case of transitive conversion
ftynse Jan 28, 2021
aa56b30
[lldb] Make TestLocalVariables.py compatible with the new pass manager
labath Feb 4, 2021
ba87f99
[mlir] make vector to llvm conversion truly partial
ftynse Feb 4, 2021
649a3d0
[ARM] Handle f16 in GeneratePerfectShuffle
davemgreen Feb 4, 2021
8998f58
Re-land D94976 after revert in e29552c5aff6
jmorse Feb 4, 2021
f4ac9f0
[mlir][Linalg] Drop SliceOp
nicolasvasilache Feb 4, 2021
8f69da9
[ElementCount] NFC: Set 'const' qualifier for getWithIncrement/Decrem…
sdesmalen-arm Feb 4, 2021
26ca503
[gn build] (manually) port 0609f257dc2e2c3
nico Feb 4, 2021
4874ff0
Revert "[hip][cuda] Enable extended lambda support on Windows."
nico Feb 4, 2021
fa2cdb8
[X86] Remove stale TODO comment. NFC.
RKSimon Feb 4, 2021
3a1513c
[flang][driver] Add forced form flags and -ffixed-line-length
Jan 26, 2021
62e4f22
[clang] Add AddClang.cmake to the list of the CMake modules that are …
banach-space Feb 4, 2021
83e2710
[AVR] Remove an assertion that causes generic CodeGen tests to fail
dylanmckay Feb 4, 2021
6054a45
AMDGPU: Add support for amdgpu-unsafe-fp-atomics attribute
kzhuravl Feb 4, 2021
09c18a6
[mlir] Return scf.parallel ops resulted from tiling.
pifon2a Feb 4, 2021
0c65993
[OpenCL] Fix default address space in template argument deduction.
Feb 4, 2021
703f6a6
[ConstraintElimination] Support conditions from loop preheaders
fhahn Feb 3, 2021
0fb4341
[OpenCL][Docs] Link page explaining tooling for offline compilation.
Feb 4, 2021
75b2555
NFC: Migrate LoopUnrollPass to work on InstructionCost
sdesmalen-arm Feb 4, 2021
d06e940
[flang][driver] Add PrescanAction frontend action (nfc)
banach-space Feb 4, 2021
c8e6cde
[Dexter] Avoid infinite loop in dbgeng driver
jmorse Feb 4, 2021
85e8e62
[AVR] Fix 14 Generic CodeGen tests by making address space explicit o…
dylanmckay Feb 4, 2021
0d890e4
[AVR] Add 'XFAIL' to the remaining failing Generic CodeGen tests for AVR
dylanmckay Feb 4, 2021
31b85e1
[X86] Use VT::changeVectorElementType helper where possible. NFCI.
RKSimon Feb 4, 2021
b517568
[libc++] Rename include/support to include/__support
ldionne Feb 2, 2021
b10df8f
[AVR] Fix up a few accidentally-regressed Generic CodeGen tests recen…
dylanmckay Feb 4, 2021
9d23029
[InstCombine] add tests for demanded/known bits of shifted constant; NFC
rotateright Feb 3, 2021
bc097f6
[Hexagon] Add clang builtin definitions for Hexagon V68
Feb 3, 2021
e275e62
[libc++] Adds a make_string test helper function.
mordante Dec 16, 2020
a83475d
[Hexagon] Add -mv68 option to driver
Feb 4, 2021
985a42f
[flang][driver] Add support for `-J/-module-dir`
arnamoy10 Feb 4, 2021
1d51c69
[clang][Arm] Fix handling of -Wa,-march=
DavidSpickett Feb 1, 2021
85b9c5c
[libc++] Fix libcxx build on 32bit architectures with 64bit time_t de…
ldionne Feb 3, 2021
76fc357
[libc++] Make feature-test macros consistent with availability macros
ldionne Jan 19, 2021
3869309
[CSSPGO][llvm-profgen] Aggregate samples on call frame trie to speed …
wlei-llvm Jan 11, 2021
1700ea7
[libc++] Remove the ability to use braced-init for filesystem paths
ldionne Feb 3, 2021
ba00062
[flang][driver] Fix reading from stdin when using `-test-io`
banach-space Feb 4, 2021
727bd89
[lldb] Simplify the logic to detect compiler flag support
JDevlieghere Feb 4, 2021
e4a503a
[mlir][Linalg] Introduce a ContractionOpInterface
nicolasvasilache Feb 4, 2021
b3bb5c3
[AMDGPU][GlobalISel] Use scalar min/max instructions
jayfoad Feb 4, 2021
d84e5fd
[AMDGPU][GlobalISel] Fix v2s16 right shifts
jayfoad Feb 4, 2021
07fc852
[mlir][ODS] Small fixes for ODS classes
Feb 4, 2021
eecbb1c
[llvm-objdump] --source: drop the warning when there is no debug info
MaskRay Feb 4, 2021
cafdf46
[mlir][ODS] Add explicit namespace to `ViewLikeInterface` definition
Feb 4, 2021
01b3627
[examples] Fix Target does not support MC emission in ParallelJIT
xgupta Feb 4, 2021
b3165a7
[ELF] Allow R_386_GOTOFF from .debug_info
MaskRay Feb 4, 2021
ed399d5
[ELF] Make SHF_GNU_RETAIN sections GC roots
MaskRay Feb 4, 2021
953086d
[mlir][ODS] Use StringLiteral instead of StringRef when applicable
Feb 4, 2021
215441f
Remove dead code from Linalg vectorization to fix GCC warning (NFC)
joker-eph Feb 4, 2021
567b3f8
[OpenMP][deviceRTLs] Drop `assert` in common parts of `deviceRTLs`
shiltian Feb 4, 2021
144ca1e
[PS4] Allow triple to reflect the new company name.
pogo59 Feb 4, 2021
50578cf
[AMDGPU] Add f16 to i1 CodeGen patterns.
whchung Feb 3, 2021
91e7a17
[NFC][llvm-mca] Fix compiler warning
pguo-cn Feb 4, 2021
b8b054a
Reland "Ensure that InstructionCost actually implements a total order…
christetreault-llvm Feb 3, 2021
056d31d
[ExpandReductions] fix FMF requirement for fmin/fmax
rotateright Feb 4, 2021
f9f6b4f
[mlir] Silence GCC warnings
dcaballe Feb 4, 2021
57a371d
Remove overzealous verifier check on DW_OP_LLVM_entry_value and impro…
adrian-prantl Feb 4, 2021
63dc264
Revert "[mlir][ODS] Use StringLiteral instead of StringRef when appli…
antiagainst Feb 4, 2021
36496cc
[lldb-vscode] correctly use Windows macros
walter-erquinigo Feb 4, 2021
e10b73f
[CSSPGO][llvm-profgen] Merge and trim profile for cold context to red…
wlei-llvm Jan 21, 2021
644ef58
Print the "no plugin" warning only when there is no plugin
adrian-prantl Feb 4, 2021
be9889b
[MemorySSA] Don't treat lifetime.end as NoAlias
nikic Jan 31, 2021
1361c5e
[libc++] Add format check to CI
mkurdej Feb 4, 2021
8cc9c42
[TargetLowering] Use LegalOnly operand to isOperationLegalOrCustom to…
topperc Feb 4, 2021
e8a2b7c
[clangd] Improve name conflict detection
kirillbobyrev Feb 4, 2021
ae7e842
[flang][NFC] Rename IntType to IntegerType.
schweitzpgi Feb 4, 2021
cd2f65b
Correct some confused diagnostic terminology
AaronBallman Feb 4, 2021
aecdf15
[ARM] Do not emit ldrexd/strexd on Cortex-M chips
aykevl Feb 2, 2021
fcb90cb
Fix miscomputation of dependence for elaborated types that are
zygoloid Feb 4, 2021
eb4ab33
[CodeComplete] Guess type for designated initializers
sam-mccall Feb 4, 2021
0211877
[HIP] Add __managed__ macro to header
yxsamliu Feb 4, 2021
042db54
[mlir] Small touchups to LangRef attribute section
silvasean Feb 4, 2021
f4f64de
Merge from 'sycl' to 'sycl-web'
Feb 4, 2021
74f131e
Merge from 'main' to 'sycl-web' (#4)
Feb 4, 2021
dd5c2b8
[sanitizer] Add suffix to report file name
WallStProg Feb 4, 2021
1484ad4
Revert "[BuildLibcalls, Attrs] Support more variants of C++'s new, ad…
zygoloid Feb 4, 2021
ab243ef
Don't infer attributes on '::operator new'.
zygoloid Feb 4, 2021
b6ffece
Revert "[libc++] [P0879] constexpr std::nth_element, and rewrite its …
rupprecht Feb 4, 2021
bdb40dd
[flang][msvc] Reapply "Explicitly reference "this" inside closure"
MehdiChinoune Feb 4, 2021
9673a00
[flang] Remove dims type and gendims op.
schweitzpgi Feb 4, 2021
e355110
[CUDA][HIP] Fix checking dependent initalizer
yxsamliu Feb 1, 2021
e21adfa
[mlir] Mark LogicalResult as LLVM_NODISCARD
River707 Feb 4, 2021
9ba623c
[asan] Add %d variable to external_symbolizer_path option, so that us…
amykhuang Jan 12, 2021
4737aab
Fix a test case after committing D94563.
amykhuang Feb 5, 2021
dd9e219
[CSSPGO][llvm-profgen] Fix bug with parsing hybrid sample trace line
wlei-llvm Jan 21, 2021
8d7d2de
Fix test case from D94563.
amykhuang Feb 5, 2021
16fb1c7
[RISCV] Add i8/i16 test cases to div.ll and i8/i16/i64 to rem.ll. NFC
topperc Feb 4, 2021
807a8da
fix -Werror build issue.
schweitzpgi Feb 5, 2021
96fb49c
[AST] Update LVal before evaluating lambda decl fields.
ZequanWu Feb 5, 2021
b68a6b0
[OpenMP][libomptarget] Fixed an issue that device sync is skipped if …
shiltian Feb 5, 2021
3e5ce49
[LV] Unconditionally branch from middle to scalar preheader if the sc…
preames Feb 5, 2021
56fa34a
DebugInfo: Temporarily work around -gsplit-dwarf + LTO .debug_gnu_pub…
MaskRay Feb 5, 2021
758928e
[sanitizer] Fix the test on android
vitalybuka Feb 5, 2021
4cb7d03
Add missing test update from 3e5ce49
preames Feb 5, 2021
698c6b0
[WebAssembly] Support single-floating-point immediate value
sunfishcode Feb 5, 2021
95da64d
[WebAssembly] Use single-threaded mode when -matomics isn't enabled.
sunfishcode Feb 5, 2021
11ef356
[TargetLowering] Use Align in allowsMisalignedMemoryAccesses.
topperc Feb 5, 2021
1ac9804
[X86] Generate unaligned access for fixed slots in unaligned stack
mizvekov Feb 5, 2021
25ff302
[RISCV] Split vrgather intrinsics into separate vrgather.vv and vrgat…
topperc Feb 5, 2021
6b280ce
[RISCV] Use LLVMScalarOrSameVectorWidth to make avoid needing to ment…
topperc Feb 5, 2021
e5269da
[ARM][WebAssembly] Fix incorrect MCOperand::createDFPImm after D96091
MaskRay Feb 5, 2021
68d6918
[MC] Add createFPImm/isFPImm/setFPImm to smooth migration from FPImm …
MaskRay Feb 5, 2021
dc6a5e0
[VE] Fix allowsMisalignedMemoryAccesses after D96097
MaskRay Feb 5, 2021
8d4cd2d
[MC] Add isFPImm after D96091
MaskRay Feb 5, 2021
039567b
[Darwin] Switch to new logging api for sanitizers
aralisza Feb 5, 2021
50e4e38
LLVMgold.so: Fix tests after D95380
MaskRay Feb 5, 2021
d29562b
[IR] Drop unnecessary const from return types (NFC)
kazutakahirata Feb 5, 2021
5438e07
[GlobalISel] Use ListSeparator (NFC)
kazutakahirata Feb 5, 2021
fb74e1e
[Transforms/Scalar] Use range-based for loops (NFC)
kazutakahirata Feb 5, 2021
bca0619
[flang] Adapt mlir based error status handling in `tco` tool
SouraVX Feb 4, 2021
6c097f7
[Test] Add more tests demonstrating oddities in behavior of LSR
xortator Feb 5, 2021
98d9f2d
[lldb/test] Reduce API test tools configuration boilerplate
labath Jan 22, 2021
b90c490
[lldb/cmake] Reduce duplication in generation lldb-dotest
labath Feb 4, 2021
a5b627a
[OpenCL] Introduce new language options for OpenCL keywords.
azabazno Feb 5, 2021
8c70211
Merge from 'main' to 'sycl-web'
Feb 5, 2021
2c97528
Merge from 'sycl' to 'sycl-web' (#1)
Feb 5, 2021
74eff80
Merge from 'sycl' to 'sycl-web' (#5)
vladimirlaz Feb 5, 2021
07b7ea9
Merge from 'sycl' to 'sycl-web' (#1)
Feb 6, 2021
3246c4b
Merge from 'sycl' to 'sycl-web' (#1)
Feb 6, 2021
fb0b995
Merge from 'main' to 'sycl-web' (#4)
vladimirlaz Feb 6, 2021
069c015
Merge remote-tracking branch 'otcshare_llvm/sycl-web' into llvmspirv_…
vmaksimo Feb 8, 2021
15bf5af
Align SemaLookup with dc00c96
vmaksimo Feb 8, 2021
0dd460a
Update LLVM version from 12 to 13
svenvh Jan 27, 2021
76ca30d
Fix unused variable warnings in release builds
svenvh Feb 1, 2021
65ba38c
Treat warnings as errors in out of tree CI builds
svenvh Feb 1, 2021
e27c62c
Fix visitUIToFPInst method in SPIRVLowerBool The method did not handl…
NikitaRudenkoIntel Jan 14, 2021
eab960c
Align with cd2f65b - correct some confused diagnostic terminology
smanna12 Feb 8, 2021
9c833ac
Update SYCL and ESIMD passes to new pass manager
AlexeySachkov Feb 10, 2021
781d357
Enable SYCL-specific passes in new pipeline
AlexeySachkov Feb 10, 2021
206f71c
Update vc-intrinsics revision
vmaksimo Feb 15, 2021
80c86d5
Adjust GenXSPIRVWriterAdaptorPass to work with new pass manager
vmaksimo Feb 15, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/workflows/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Github action workflows should be stored in this directrory.
25 changes: 0 additions & 25 deletions .github/workflows/main-branch-sync.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,13 @@ llvm::ErrorOr<std::vector<std::string>> GetAllowedSymbolPatterns() {

int main(int argc, const char **argv) {
llvm::sys::PrintStackTraceOnErrorSignal(argv[0]);
tooling::CommonOptionsParser OptionsParser(argc, argv,
ChangeNamespaceCategory);
auto ExpectedParser =
tooling::CommonOptionsParser::create(argc, argv, ChangeNamespaceCategory);
if (!ExpectedParser) {
llvm::errs() << ExpectedParser.takeError();
return 1;
}
tooling::CommonOptionsParser &OptionsParser = ExpectedParser.get();
const auto &Files = OptionsParser.getSourcePathList();
tooling::RefactoringTool Tool(OptionsParser.getCompilations(), Files);
llvm::ErrorOr<std::vector<std::string>> AllowedPatterns =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ SymbolIndexManager::search(llvm::StringRef Identifier,
rank(MatchedSymbols, FileName);
// Strip signals, they are no longer needed.
std::vector<SymbolInfo> Res;
Res.reserve(MatchedSymbols.size());
for (auto &SymAndSig : MatchedSymbols)
Res.push_back(std::move(SymAndSig.Symbol));
return Res;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,14 @@ bool Merge(llvm::StringRef MergeDir, llvm::StringRef OutputFile) {
} // namespace find_all_symbols

int main(int argc, const char **argv) {
CommonOptionsParser OptionsParser(argc, argv, FindAllSymbolsCategory);
auto ExpectedParser =
CommonOptionsParser::create(argc, argv, FindAllSymbolsCategory);
if (!ExpectedParser) {
llvm::errs() << ExpectedParser.takeError();
return 1;
}

CommonOptionsParser &OptionsParser = ExpectedParser.get();
ClangTool Tool(OptionsParser.getCompilations(),
OptionsParser.getSourcePathList());

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,13 @@ void writeToJson(llvm::raw_ostream &OS, const IncludeFixerContext& Context) {
}

int includeFixerMain(int argc, const char **argv) {
tooling::CommonOptionsParser options(argc, argv, IncludeFixerCategory);
auto ExpectedParser =
tooling::CommonOptionsParser::create(argc, argv, IncludeFixerCategory);
if (!ExpectedParser) {
llvm::errs() << ExpectedParser.takeError();
return 1;
}
tooling::CommonOptionsParser &options = ExpectedParser.get();
tooling::ClangTool tool(options.getCompilations(),
options.getSourcePathList());

Expand Down
8 changes: 7 additions & 1 deletion clang-tools-extra/clang-move/tool/ClangMove.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,13 @@ cl::opt<bool> DumpDecls(

int main(int argc, const char **argv) {
llvm::sys::PrintStackTraceOnErrorSignal(argv[0]);
tooling::CommonOptionsParser OptionsParser(argc, argv, ClangMoveCategory);
auto ExpectedParser =
tooling::CommonOptionsParser::create(argc, argv, ClangMoveCategory);
if (!ExpectedParser) {
llvm::errs() << ExpectedParser.takeError();
return 1;
}
tooling::CommonOptionsParser &OptionsParser = ExpectedParser.get();

if (OldDependOnNew && NewDependOnOld) {
llvm::errs() << "Provide either --old_depend_on_new or "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,14 @@ static cl::opt<bool> Inplace("i", cl::desc("Overwrite edited files."),
const char Usage[] = "A tool to reorder fields in C/C++ structs/classes.\n";

int main(int argc, const char **argv) {
tooling::CommonOptionsParser OP(argc, argv, ClangReorderFieldsCategory,
Usage);
auto ExpectedParser = tooling::CommonOptionsParser::create(
argc, argv, ClangReorderFieldsCategory, cl::OneOrMore, Usage);
if (!ExpectedParser) {
llvm::errs() << ExpectedParser.takeError();
return 1;
}

tooling::CommonOptionsParser &OP = ExpectedParser.get();

auto Files = OP.getSourcePathList();
tooling::RefactoringTool Tool(OP.getCompilations(), Files);
Expand Down
6 changes: 3 additions & 3 deletions clang-tools-extra/clang-tidy/ClangTidy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class AnalyzerDiagnosticConsumer : public ento::PathDiagnosticConsumer {
AnalyzerDiagnosticConsumer(ClangTidyContext &Context) : Context(Context) {}

void FlushDiagnosticsImpl(std::vector<const ento::PathDiagnostic *> &Diags,
FilesMade *filesMade) override {
FilesMade *FilesMade) override {
for (const ento::PathDiagnostic *PD : Diags) {
SmallString<64> CheckName(AnalyzerCheckNamePrefix);
CheckName += PD->getCheckerName();
Expand Down Expand Up @@ -186,7 +186,7 @@ class ErrorReporter {
reportNote(Note);
}

void Finish() {
void finish() {
if (ApplyFixes && TotalFixes > 0) {
Rewriter Rewrite(SourceMgr, LangOpts);
for (const auto &FileAndReplacements : FileReplacements) {
Expand Down Expand Up @@ -596,7 +596,7 @@ void handleErrors(llvm::ArrayRef<ClangTidyError> Errors,
// Return to the initial directory to correctly resolve next Error.
FileSystem.setCurrentWorkingDirectory(InitialWorkingDir.get());
}
Reporter.Finish();
Reporter.finish();
WarningsAsErrorsCount += Reporter.getWarningsAsErrorsCount();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@
using namespace clang;
using namespace tidy;

#ifdef LLVM_CLANG_AST_ATTR_H
//#error
#endif

namespace {
class ClangTidyDiagnosticRenderer : public DiagnosticRenderer {
public:
Expand Down
2 changes: 1 addition & 1 deletion clang-tools-extra/clang-tidy/ClangTidyOptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ template <> struct MappingTraits<FileFilter> {
IO.mapRequired("name", File.Name);
IO.mapOptional("lines", File.LineRanges);
}
static std::string validate(IO &io, FileFilter &File) {
static std::string validate(IO &Io, FileFilter &File) {
if (File.Name.empty())
return "No file name specified";
for (const FileFilter::LineRange &Range : File.LineRanges) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ void ExpandModularHeadersPPCallbacks::handleModuleFile(
Recorder->addNecessaryFile(IF.getFile());
});
// Recursively handle all transitively imported modules.
for (auto Import : MF->Imports)
for (auto *Import : MF->Imports)
handleModuleFile(Import);
}

Expand Down
8 changes: 4 additions & 4 deletions clang-tools-extra/clang-tidy/GlobList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ using namespace tidy;

// Returns true if GlobList starts with the negative indicator ('-'), removes it
// from the GlobList.
static bool ConsumeNegativeIndicator(StringRef &GlobList) {
static bool consumeNegativeIndicator(StringRef &GlobList) {
GlobList = GlobList.trim(" \r\n");
if (GlobList.startswith("-")) {
GlobList = GlobList.substr(1);
Expand All @@ -25,7 +25,7 @@ static bool ConsumeNegativeIndicator(StringRef &GlobList) {

// Converts first glob from the comma-separated list of globs to Regex and
// removes it and the trailing comma from the GlobList.
static llvm::Regex ConsumeGlob(StringRef &GlobList) {
static llvm::Regex consumeGlob(StringRef &GlobList) {
StringRef UntrimmedGlob = GlobList.substr(0, GlobList.find(','));
StringRef Glob = UntrimmedGlob.trim(' ');
GlobList = GlobList.substr(UntrimmedGlob.size() + 1);
Expand All @@ -46,8 +46,8 @@ GlobList::GlobList(StringRef Globs) {
Items.reserve(Globs.count(',') + 1);
do {
GlobListItem Item;
Item.IsPositive = !ConsumeNegativeIndicator(Globs);
Item.Regex = ConsumeGlob(Globs);
Item.IsPositive = !consumeNegativeIndicator(Globs);
Item.Regex = consumeGlob(Globs);
Items.push_back(std::move(Item));
} while (!Globs.empty());
}
Expand Down
12 changes: 6 additions & 6 deletions clang-tools-extra/clang-tidy/abseil/DurationDivisionCheck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ namespace abseil {

using namespace clang::ast_matchers;

void DurationDivisionCheck::registerMatchers(MatchFinder *finder) {
void DurationDivisionCheck::registerMatchers(MatchFinder *Finder) {
const auto DurationExpr =
expr(hasType(cxxRecordDecl(hasName("::absl::Duration"))));
finder->addMatcher(
Finder->addMatcher(
traverse(TK_AsIs,
implicitCastExpr(
hasSourceExpression(ignoringParenCasts(
Expand All @@ -35,8 +35,8 @@ void DurationDivisionCheck::registerMatchers(MatchFinder *finder) {
this);
}

void DurationDivisionCheck::check(const MatchFinder::MatchResult &result) {
const auto *OpCall = result.Nodes.getNodeAs<CXXOperatorCallExpr>("OpCall");
void DurationDivisionCheck::check(const MatchFinder::MatchResult &Result) {
const auto *OpCall = Result.Nodes.getNodeAs<CXXOperatorCallExpr>("OpCall");
diag(OpCall->getOperatorLoc(),
"operator/ on absl::Duration objects performs integer division; "
"did you mean to use FDivDuration()?")
Expand All @@ -47,8 +47,8 @@ void DurationDivisionCheck::check(const MatchFinder::MatchResult &result) {
", ")
<< FixItHint::CreateInsertion(
Lexer::getLocForEndOfToken(
result.SourceManager->getSpellingLoc(OpCall->getEndLoc()), 0,
*result.SourceManager, result.Context->getLangOpts()),
Result.SourceManager->getSpellingLoc(OpCall->getEndLoc()), 0,
*Result.SourceManager, Result.Context->getLangOpts()),
")");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace tidy {
namespace abseil {

// Returns `true` if `Range` is inside a macro definition.
static bool InsideMacroDefinition(const MatchFinder::MatchResult &Result,
static bool insideMacroDefinition(const MatchFinder::MatchResult &Result,
SourceRange Range) {
return !clang::Lexer::makeFileCharRange(
clang::CharSourceRange::getCharRange(Range),
Expand All @@ -46,7 +46,7 @@ void DurationFactoryFloatCheck::check(const MatchFinder::MatchResult &Result) {
const auto *MatchedCall = Result.Nodes.getNodeAs<CallExpr>("call");

// Don't try and replace things inside of macro definitions.
if (InsideMacroDefinition(Result, MatchedCall->getSourceRange()))
if (insideMacroDefinition(Result, MatchedCall->getSourceRange()))
return;

const Expr *Arg = MatchedCall->getArg(0)->IgnoreImpCasts();
Expand Down
26 changes: 13 additions & 13 deletions clang-tools-extra/clang-tidy/abseil/DurationFactoryScaleCheck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ getScaleForFactory(llvm::StringRef FactoryName) {

// Given either an integer or float literal, return its value.
// One and only one of `IntLit` and `FloatLit` should be provided.
static double GetValue(const IntegerLiteral *IntLit,
static double getValue(const IntegerLiteral *IntLit,
const FloatingLiteral *FloatLit) {
if (IntLit)
return IntLit->getValue().getLimitedValue();
Expand All @@ -48,7 +48,7 @@ static double GetValue(const IntegerLiteral *IntLit,
// would produce a new scale. If so, return a tuple containing the new scale
// and a suitable Multiplier for that scale, otherwise `None`.
static llvm::Optional<std::tuple<DurationScale, double>>
GetNewScaleSingleStep(DurationScale OldScale, double Multiplier) {
getNewScaleSingleStep(DurationScale OldScale, double Multiplier) {
switch (OldScale) {
case DurationScale::Hours:
if (Multiplier <= 1.0 / 60.0)
Expand Down Expand Up @@ -94,17 +94,17 @@ GetNewScaleSingleStep(DurationScale OldScale, double Multiplier) {

// Given the scale of a duration and a `Multiplier`, determine if `Multiplier`
// would produce a new scale. If so, return it, otherwise `None`.
static llvm::Optional<DurationScale> GetNewScale(DurationScale OldScale,
static llvm::Optional<DurationScale> getNewScale(DurationScale OldScale,
double Multiplier) {
while (Multiplier != 1.0) {
llvm::Optional<std::tuple<DurationScale, double>> result =
GetNewScaleSingleStep(OldScale, Multiplier);
if (!result)
llvm::Optional<std::tuple<DurationScale, double>> Result =
getNewScaleSingleStep(OldScale, Multiplier);
if (!Result)
break;
if (std::get<1>(*result) == 1.0)
return std::get<0>(*result);
Multiplier = std::get<1>(*result);
OldScale = std::get<0>(*result);
if (std::get<1>(*Result) == 1.0)
return std::get<0>(*Result);
Multiplier = std::get<1>(*Result);
OldScale = std::get<0>(*Result);
}

return llvm::None;
Expand Down Expand Up @@ -173,7 +173,7 @@ void DurationFactoryScaleCheck::check(const MatchFinder::MatchResult &Result) {
const auto *IntLit = llvm::dyn_cast<IntegerLiteral>(MultBinOp->getLHS());
const auto *FloatLit = llvm::dyn_cast<FloatingLiteral>(MultBinOp->getLHS());
if (IntLit || FloatLit) {
NewScale = GetNewScale(Scale, GetValue(IntLit, FloatLit));
NewScale = getNewScale(Scale, getValue(IntLit, FloatLit));
if (NewScale)
Remainder = MultBinOp->getRHS();
}
Expand All @@ -183,7 +183,7 @@ void DurationFactoryScaleCheck::check(const MatchFinder::MatchResult &Result) {
IntLit = llvm::dyn_cast<IntegerLiteral>(MultBinOp->getRHS());
FloatLit = llvm::dyn_cast<FloatingLiteral>(MultBinOp->getRHS());
if (IntLit || FloatLit) {
NewScale = GetNewScale(Scale, GetValue(IntLit, FloatLit));
NewScale = getNewScale(Scale, getValue(IntLit, FloatLit));
if (NewScale)
Remainder = MultBinOp->getLHS();
}
Expand All @@ -195,7 +195,7 @@ void DurationFactoryScaleCheck::check(const MatchFinder::MatchResult &Result) {
const auto *FloatLit = llvm::dyn_cast<FloatingLiteral>(DivBinOp->getRHS());

llvm::Optional<DurationScale> NewScale =
GetNewScale(Scale, 1.0 / FloatLit->getValueAsApproximateDouble());
getNewScale(Scale, 1.0 / FloatLit->getValueAsApproximateDouble());
if (NewScale) {
const Expr *Remainder = DivBinOp->getLHS();

Expand Down
4 changes: 2 additions & 2 deletions clang-tools-extra/clang-tidy/abseil/DurationRewriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ llvm::StringRef getTimeFactoryForScale(DurationScale Scale) {
}

/// Returns the Time factory function name for a given `Scale`.
llvm::StringRef getTimeInverseForScale(DurationScale scale) {
switch (scale) {
llvm::StringRef getTimeInverseForScale(DurationScale Scale) {
switch (Scale) {
case DurationScale::Hours:
return "absl::ToUnixHours";
case DurationScale::Minutes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,31 +30,31 @@ void DurationUnnecessaryConversionCheck::registerMatchers(MatchFinder *Finder) {

// Matcher which matches the current scale's factory with a `1` argument,
// e.g. `absl::Seconds(1)`.
auto factory_matcher = ignoringElidableConstructorCall(
auto FactoryMatcher = ignoringElidableConstructorCall(
callExpr(callee(functionDecl(hasName(DurationFactory))),
hasArgument(0, ignoringImpCasts(integerLiteral(equals(1))))));

// Matcher which matches either inverse function and binds its argument,
// e.g. `absl::ToDoubleSeconds(dur)`.
auto inverse_function_matcher = callExpr(
auto InverseFunctionMatcher = callExpr(
callee(functionDecl(hasAnyName(FloatConversion, IntegerConversion))),
hasArgument(0, expr().bind("arg")));

// Matcher which matches a duration divided by the factory_matcher above,
// e.g. `dur / absl::Seconds(1)`.
auto division_operator_matcher = cxxOperatorCallExpr(
auto DivisionOperatorMatcher = cxxOperatorCallExpr(
hasOverloadedOperatorName("/"), hasArgument(0, expr().bind("arg")),
hasArgument(1, factory_matcher));
hasArgument(1, FactoryMatcher));

// Matcher which matches a duration argument to `FDivDuration`,
// e.g. `absl::FDivDuration(dur, absl::Seconds(1))`
auto fdiv_matcher = callExpr(
auto FdivMatcher = callExpr(
callee(functionDecl(hasName("::absl::FDivDuration"))),
hasArgument(0, expr().bind("arg")), hasArgument(1, factory_matcher));
hasArgument(0, expr().bind("arg")), hasArgument(1, FactoryMatcher));

// Matcher which matches a duration argument being scaled,
// e.g. `absl::ToDoubleSeconds(dur) * 2`
auto scalar_matcher = ignoringImpCasts(
auto ScalarMatcher = ignoringImpCasts(
binaryOperator(hasOperatorName("*"),
hasEitherOperand(expr(ignoringParenImpCasts(
callExpr(callee(functionDecl(hasAnyName(
Expand All @@ -65,9 +65,9 @@ void DurationUnnecessaryConversionCheck::registerMatchers(MatchFinder *Finder) {

Finder->addMatcher(
callExpr(callee(functionDecl(hasName(DurationFactory))),
hasArgument(0, anyOf(inverse_function_matcher,
division_operator_matcher, fdiv_matcher,
scalar_matcher)))
hasArgument(0, anyOf(InverseFunctionMatcher,
DivisionOperatorMatcher, FdivMatcher,
ScalarMatcher)))
.bind("call"),
this);
}
Expand Down
4 changes: 2 additions & 2 deletions clang-tools-extra/clang-tidy/abseil/NoNamespaceCheck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ void NoNamespaceCheck::registerMatchers(MatchFinder *Finder) {
}

void NoNamespaceCheck::check(const MatchFinder::MatchResult &Result) {
const auto *abslNamespaceDecl =
const auto *AbslNamespaceDecl =
Result.Nodes.getNodeAs<NamespaceDecl>("abslNamespace");

diag(abslNamespaceDecl->getLocation(),
diag(AbslNamespaceDecl->getLocation(),
"namespace 'absl' is reserved for implementation of the Abseil library "
"and should not be opened in user code");
}
Expand Down
Loading