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

LLVM and SPIRV-LLVM-Translator pulldown (WW07-08) with disabled NewPM by default #3266

Merged
merged 1,712 commits into from
Mar 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1712 commits
Select commit Hold shift + click to select a range
7590c00
[dfsan] Turn off THP at dfsan_flush
stephan-yichao-zhao Feb 12, 2021
875c76d
[RISCV] Add support for matching .vx and .vi forms of binary instruct…
topperc Feb 12, 2021
1697cc7
[RISCV] Add support for integer fixed vector setcc
topperc Feb 12, 2021
2423a38
[clangd] Introduce Modules
kadircet Feb 6, 2021
66900b3
[mlir] Use dialect interfaces to translate OpenMP dialect to LLVM IR
ftynse Feb 11, 2021
0b1914e
[ThinLTO][gold] Fix filenaming scheme for tasks.
htyu Feb 5, 2021
758677e
Merge from 'main' to 'sycl-web' (#6)
dm-vodopyanov Feb 12, 2021
81b1d3d
[sanitizers][Windows] Implement __sanitizer_purge_allocator for Win64
mcgov Feb 3, 2021
ed4718e
[ObjC][ARC] Use operand bundle 'clang.arc.attachedcall' instead of
ahatanaka Feb 10, 2021
6577cef
[CodeGen] New pass: Replace vector intrinsics with call to vector lib…
sommerlukas Feb 12, 2021
c0d7a8b
[AMDGPU] Allow accvgpr_read/write decode with opsel
rampitec Feb 11, 2021
e760ec2
[coro] Add support for polymorphic return typed coro.suspend.async
aschwaighofer Feb 11, 2021
a7538fe
[dfsan] Comment out ChainOrigin temporarily
stephan-yichao-zhao Feb 12, 2021
3f22547
Revert "[mlir][Linalg] Improve region support in Linalg ops."
joker-eph Feb 12, 2021
1b5c291
[DebugInfo] Add an attribute to force type info to be emitted for
amykhuang Feb 5, 2021
394913f
Try to fix external_symbolizer_path.cpp test to stop breaking on buil…
amykhuang Feb 12, 2021
3fe465f
Revert "[DebugInfo] Add an attribute to force type info to be emitted…
amykhuang Feb 12, 2021
4841a22
[DAG] Move basic USUBSAT pattern matches from X86 to DAGCombine
RKSimon Feb 12, 2021
12999d7
[Symbolize] Teach symbolizer to work directly on object file.
slinder1 Feb 12, 2021
875f0cb
[ARM] Optimize fp store of extract to integer store if already availa…
davemgreen Feb 12, 2021
cb2d2ae
[SystemZ][ZOS] Provide CLOCK_MONOTONIC alternative
zibi2 Feb 12, 2021
7ff0cbe
[gn build] Port cb2d2ae56ae3
llvmgnsyncbot Feb 12, 2021
a0d09ce
[NFC][Coroutine] Fix an error message on coro.id verification
lxfind Feb 12, 2021
98754e2
[RGT][GlobalIsel] Add missing setUp() calls to legalizer unittests
pogo59 Feb 12, 2021
ee66e43
[mlir][Vector] Introduce 'vector.load' and 'vector.store' ops
dcaballe Feb 12, 2021
656674a
[mlir][Vector] Align gather/scatter/expand/compress API
dcaballe Feb 12, 2021
a7ceef9
DebugInfo/Symbolize: Exclude ARM mapping symbols for .symtab symboliz…
MaskRay Feb 12, 2021
9f17599
[LLDB] Fix LLDB_LOG calls to use correct formatting
shafik Feb 12, 2021
aa4e466
[mlir][Linalg] Improve region support in Linalg ops
joker-eph Feb 12, 2021
0fe4701
Expand unit tests for fuzzer::Merger
mvanotti Feb 12, 2021
4fc2557
[WebAssembly][lld] Preassign table number 0 to indirect function tabl…
wingo Feb 12, 2021
51bf4c0
[clang] Add -ffinite-loops & -fno-finite-loops options.
fhahn Feb 12, 2021
5815b71
Disable test in external_symbolizer_path.cpp temporarily to debug tes…
amykhuang Feb 12, 2021
5d6d9b6
[GlobalISel] Propagate extends through G_PHIs into the incoming value…
aemerson Jan 24, 2021
3c06676
Fix layering after ed4718eccb12.
jyknight Feb 12, 2021
7763242
[OpenMP] Fix the check for libpsapi for i386
mstorsjo Feb 12, 2021
3f9519b
[OpenMP] Only use #pragma comment(lib, ...) in MSVC build configurations
mstorsjo Feb 12, 2021
b3d8479
[OpenMP] Add void casts to silence unused variable warnings
mstorsjo Feb 12, 2021
b388c84
[OpenMP] Remove two entirely unused variables
mstorsjo Feb 12, 2021
16428a8
[OpenMP] Avoid warnings about unused static functions on windows
mstorsjo Feb 12, 2021
496ca41
[OpenMP] Silence more warning flags
mstorsjo Feb 12, 2021
13bd6fb
[docs/Coverage] Answer FAQ about optimization
vedantk Feb 12, 2021
0c4935b
[docs/Coverage] Document -show-region-summary
vedantk Feb 12, 2021
d2624d1
Merge from 'main' to 'sycl-web' (#101)
Feb 12, 2021
145549f
[GlobalISel] Combine (x + 0) -> x, G_PTR_ADD edition
Feb 12, 2021
6280bb4
[clang] Remove redundant condition (NFC).
fhahn Feb 12, 2021
48fcce1
[SystemZ][ZOS] Fix __libcpp_thrad_isnull()
zibi2 Feb 12, 2021
a65fb19
Add a "kind" attribute to ContractionOp and OuterProductOp.
pravnar Feb 12, 2021
c96e214
[AMDGPU] Fix Windows build
rampitec Feb 12, 2021
cc0c8b6
Merge from 'sycl' to 'sycl-web' (#1)
Feb 12, 2021
191e469
[AA] Move Depth member from AAResults to AAQI (NFC)
nikic Feb 12, 2021
20cb6c7
[AA] Add option for tracing AA queries (NFC)
nikic Feb 12, 2021
242304f
[gn build] Add missing llvm-profgen dependency
aeubanks Feb 12, 2021
1e92b17
Fix test failure for external_symbolizer_path.cpp
amykhuang Feb 12, 2021
7c749ba
[GlobalISel] Simpler verification of G_SEXT_INREG and G_ASSERT_ZEXT
jayfoad Feb 12, 2021
c40b831
[libc++abi] Fix forced_unwind tests failures on ARM/EHABI targets.
vvereschaka Feb 12, 2021
d32ed9b
[RISCV] Use a ComplexPattern to merge the PatFrags for removing unnee…
topperc Feb 12, 2021
60a5533
Fix test in external_symbolizer_path.cpp, by adding a REQUIRES: stati…
amykhuang Feb 12, 2021
61b4702
[AArch64][GlobalISel] Fold constants into G_GLOBAL_VALUE
Feb 12, 2021
f800a9b
[flang][fir][NFC] Move code from FIRDialect.h into a new header.
schweitzpgi Feb 12, 2021
426e326
[CSSPGO][llvm-profgen] Renovate perfscript check and command line inp…
wlei-llvm Feb 10, 2021
8fc219d
[flang][fir][NFC] Minor format changes to FIROps.td.
schweitzpgi Feb 12, 2021
8bd8534
LLVM-C: Allow LLVM{Get/Set}Alignment on an atomicrmw/cmpxchg instruct…
jyknight Feb 12, 2021
3665837
[RISCV] Add support for fixed vector sqrt.
topperc Feb 12, 2021
4220a81
[RISCV] Add support for fixed vector fabs
topperc Feb 12, 2021
532d4bf
[RISCV] Move riscv_vfmv_v_f_vl patterns to RISCVInstrInfoVVLPatterns.…
topperc Feb 13, 2021
057efa9
Make the error condition in Value::ValueType explicit (NFC)
adrian-prantl Feb 11, 2021
188b074
Support dereferencing a DWARF scalar stack value
adrian-prantl Feb 11, 2021
b3ac5b8
[SystemZ] Fix vecintrin.h to not emit alignment hints in vec_xl/vec_xst.
JonPsson Feb 10, 2021
2dbe88d
[lldb] Fix up SysV ABI implementations after 057efa9916cdc354ef4653bc…
d0k Feb 13, 2021
964f810
[NFC] Combine runNewPMPasses() and runNewPMCustomPasses()
aeubanks Feb 11, 2021
afd8bd6
[CSSPGO][llvm-profgen] Filter out the instructions without location i…
wlei-llvm Feb 10, 2021
982b891
Store the LocationKind of an entry value buffer independently from th…
adrian-prantl Feb 11, 2021
ff50b12
[SYCL] Ignore file-scope asm during device-side SYCL compilation.
againull Feb 11, 2021
091e8da
[OpenMP] fix test adding mapping of shared variables
AndreyChurbanov Feb 13, 2021
5631842
[OpenMP] NFC: fix test removing the target construct
AndreyChurbanov Feb 13, 2021
c2a8477
[llvm-objcopy] preserve file ownership when overwritten by root
jcai19 Feb 3, 2021
df1eeaa
[flang][fir] Add fir-opt tool
clementval Feb 13, 2021
8c1b633
[flang][fir][NFC] Move FieldType to TableGen type definition
clementval Feb 13, 2021
af186e9
Revert "[flang][fir] Add fir-opt tool"
clementval Feb 13, 2021
816053b
[FPEnv][ARM] Implement lowering of llvm.set.rounding
spavloff Feb 11, 2021
1f69355
[test] Make ELF tests amenable to the order of non-local symbols
MaskRay Feb 13, 2021
1f6ec3d
[LangRef] Update memory access ops to raise UB if ptrs are not well d…
aqjune Feb 13, 2021
80dc066
[LTO] Perform DSOLocal propagation in combined index
apolloww Feb 10, 2021
debaf94
[InstSimplify] add tests that look into pointer operands of instructions
aqjune Feb 13, 2021
64557e0
[TableGen] Use ListSeparator (NFC)
kazutakahirata Feb 13, 2021
96c90a6
[AMDGPU] Drop unnecessary const from a return type (NFC)
kazutakahirata Feb 13, 2021
905cf88
[CodeGen] Use range-based for loops (NFC)
kazutakahirata Feb 13, 2021
39db16e
[test] Make ELF tests less reliant on the lexicographical order of no…
MaskRay Feb 13, 2021
95ef556
[Polly] Preserve DetectionContext references.
Meinersbur Feb 13, 2021
1cb34d9
Merge from 'main' to 'sycl-web' (#29)
Feb 12, 2021
67ab1cd
Merge from 'sycl' to 'sycl-web' (#2)
Feb 13, 2021
f042fd4
[libunwind][cmake] Add an option to enable/disable tests
chbessonova Feb 13, 2021
94a1a5d
[analyzer][tests] Fix issue comparison script
SavchenkoValeriy Feb 12, 2021
3425023
Merge from 'main' to 'sycl-web' (#63)
dm-vodopyanov Feb 13, 2021
b7c3de8
[ARM] MVE min/max cost tests. NFC
davemgreen Feb 13, 2021
2e16c13
Merge from 'sycl' to 'sycl-web' (#2)
Feb 13, 2021
5ca3ef9
[X86] Add reduced test case for PR49162
RKSimon Feb 13, 2021
35f5f79
[WebAssemblly] Fix rethrow's argument computation
aheejin Feb 11, 2021
7ad0c57
[DAG] Fix shift amount limit in SimplifyDemandedBits trunc(shift(x,c)…
RKSimon Feb 13, 2021
642e922
reland [InstCombine] convert assumes to operand bundles
Ralender Feb 9, 2021
95815a5
Merge from 'main' to 'sycl-web' (#22)
dm-vodopyanov Feb 13, 2021
d25fbaa
[clangd] Fix unsued private field warning
kadircet Feb 13, 2021
60ba539
[DAG] PromoteIntRes_ADDSUBSHLSAT - use promoted ISD::USUBSAT directly
RKSimon Feb 13, 2021
2e811f8
Merge from 'main' to 'sycl-web' (#120)
dm-vodopyanov Feb 13, 2021
0df15e5
[DAG] Fold i1/vXi1 ssubsat/usubsat(x,y) -> and(x,~y)
RKSimon Feb 13, 2021
1709bb8
[clang-tidy] Simplify static assert check
steveire Dec 28, 2020
f2f920b
[clang-tidy] Simplify inaccurate erase check
steveire Jan 3, 2021
022920c
[clangd] Retire clang-tidy-checks flag.
njames93 Feb 13, 2021
d1ef9a6
[NFC][Docs] Fix RAVFrontendAction doc's CMakeLists.txt for shared build
xgupta Feb 13, 2021
8817bba
Merge from 'main' to 'sycl-web' (#298)
dm-vodopyanov Feb 13, 2021
6f5a805
[DAG] Fold i1/vXi1 saddsat/uaddsat(x,y) -> or(x,y)
RKSimon Feb 13, 2021
7c2e061
[ARM] Extra vector shuffle tests of various kinds. NFC
davemgreen Feb 13, 2021
6abe362
[ARM] Fix duplicate fdiv tests, changing them to frem. NFC
davemgreen Feb 13, 2021
f515ca8
[IRBuilder] Remove Align-related deprecated APIs
nikic Feb 13, 2021
5856f20
[pstl] Iterator types renaming: ForwardIterator -> RandomAccessIterat…
MikeDvorskiy Feb 13, 2021
b45fd23
[InstCombine] add tests for pow() divisor; NFC
rotateright Feb 13, 2021
962b29d
ELFObjectWriter: Don't sort non-local symbols
MaskRay Feb 13, 2021
135d07f
[lldb][test] Fix Shell/SymbolFile/symbol-binding.test
MaskRay Feb 13, 2021
6e31a6b
fix linalg ods gen cross compiling like other gen executables
daquexian Feb 13, 2021
338e38b
ELFObjectWriter: Delete redundant registerSymbol
MaskRay Feb 13, 2021
3520371
[RISCV] Rename the RVVBaseAddr ComplexPattern to just BaseAddr and us…
topperc Feb 13, 2021
3643828
[CMake][mlir] Fix mlir-linalg-ods-gen/CMakeLists.txt after D96645
MaskRay Feb 13, 2021
53187f1
ELFObjectWriter: Simplify
MaskRay Feb 13, 2021
74ddacd
[Clang] Ensure vector predication loop metadata is always emitted whe…
malJaj Feb 13, 2021
a80232b
[LTT] Address post-review comments (NFC)
teresajohnson Feb 11, 2021
b3bafbc
[lld] Reorder cases in test to match comments (NFC)
teresajohnson Feb 14, 2021
95a695b
[gold] Add case being tested by equivalent lld test
teresajohnson Feb 14, 2021
efb1cb7
[AVR] Fix a bug in 16-bit shifts
benshi001 Feb 14, 2021
d3c3045
[TableGen] Use ListSeparator (NFC)
kazutakahirata Feb 14, 2021
dfa3ead
[Analysis] Drop unnecessary const from return types (NFC)
kazutakahirata Feb 14, 2021
d5adba1
[CodeGen] Use range-based for loops (NFC)
kazutakahirata Feb 14, 2021
089421b
[Polly] Test all optimization levels.
Meinersbur Feb 14, 2021
ed253ef
[LoopVectorize] Fix VPRecipeBuilder::createEdgeMask to correctly gene…
aqjune Feb 9, 2021
2c5c7d5
[InstCombine] Add nonnull(select c, null, p) tests (NFC)
aqjune Feb 14, 2021
b40fde0
[InstCombine] fold fdiv with pow divisor (PR49147)
rotateright Feb 14, 2021
39ff002
[ASTMatchers] Clarify example in docs
steveire Feb 14, 2021
5f3c990
[ValueTracking] Dereferenced pointers are noundef
aqjune Feb 13, 2021
428bc6f
[mlir][Linalg] Fix constant detection in linalg.pad_tensor vectorizat…
nicolasvasilache Feb 14, 2021
728803e
[BasicAA] Use index difference to detect GEPs with identical indexes
nikic Feb 14, 2021
53ae96d
[BasicAA] Avoid duplicate query for GEPs with identical offsets (NFCI)
nikic Feb 13, 2021
6ac12e4
[Analysis] Use ListSeparator (NFC)
kazutakahirata Feb 14, 2021
1cc558b
[llvm] Fix header guards (NFC)
kazutakahirata Feb 14, 2021
910e2d1
[llvm] Use llvm::is_contained (NFC)
kazutakahirata Feb 14, 2021
ac00518
[ARM] Add some tests for MVE lane interleaving. NFC
davemgreen Feb 14, 2021
b4c0d61
[AMDGPU] Fix build breakage
kazutakahirata Feb 14, 2021
8a91b68
[AMDGPU] Limit memory scope for scratch, LDS and GDS
t-tye Feb 13, 2021
bc2e843
[ARM] A couple of small MVE reduction tests from intrinsics. NFC
davemgreen Feb 14, 2021
da46a2a
[BasicAA] Add test for single arg phi in loop (NFC)
nikic Feb 14, 2021
f197cf2
[BasicAA] Merge aliasGEP code paths
nikic Feb 14, 2021
3df5d5a
[ConstraintElimination] Fix variables used for pattern matching.
fhahn Feb 14, 2021
08c09bb
[ARM] Move PhaseOrdering test to the correct place. NFC
davemgreen Feb 14, 2021
25f753c
[clang-format] Add possibility to be based on parent directory
HazardyKnusperkeks Jan 29, 2021
656ead1
[llvm/Support] Add SHA256 implementation
cynecx Feb 14, 2021
28315df
[gn build] Port 656ead1fb7db
llvmgnsyncbot Feb 14, 2021
99f3510
Reland "[mlir] add support for verification in integration tests"
gysit Feb 14, 2021
e5ec68f
Merge from 'sycl' to 'sycl-web'
Feb 14, 2021
011791d
[lldb] [Process/FreeBSDRemote] Fix clang-formatting on ppc commit
mgorny Feb 14, 2021
3624638
[GlobalISel] Extract a narrowScalarAddSub method. NFC
porglezomp Feb 14, 2021
97a1cdb
[GlobalISel] Disable vector types in narrowScalarAddSub
porglezomp Feb 14, 2021
d094918
[Polly] Invalidate passes after Scop processing in NewPM.
Meinersbur Feb 14, 2021
aef781b
[AMDGPU] Add llvm.amdgcn.wqm.demote intrinsic
perlfu Feb 14, 2021
61da205
[X86] Convert fmin/fmax _mm_reduce_* intrinsics to emit llvm.reductio…
phoebewang Feb 15, 2021
ab0556b
[Polly] Regenerate isl-noexceptions.h.
Meinersbur Feb 15, 2021
e764e9e
[RISCV] Add i16 bswap and i8/i16 bitreverse tests to the Zbp tests. NFC
topperc Feb 14, 2021
0808664
Add ehcont section support
arlosi Feb 15, 2021
21daada
[analyzer] Fix static_cast on pointer-to-member handling
RedDocMD Feb 15, 2021
f8d3f47
[analyzer] Updated comments to reflect D85817
RedDocMD Feb 15, 2021
34ea608
[mlir] Support repeated delayed registration of dialect interfaces
ftynse Feb 15, 2021
5786f64
[clangd] Extract binding of typed->untyped LSP handlers to LSPBinder.…
sam-mccall Feb 11, 2021
dfa6fdb
[gn build] Port 5786f64a4ec8
llvmgnsyncbot Feb 15, 2021
89d900b
[mlir] Add error message on shape.broadcast verification failure
tpopp Feb 15, 2021
0b55ecc
[clangd] Allow modules to bind LSP methods/notifications/commands
sam-mccall Feb 12, 2021
c70737b
Recommit "[LTO] Use lto::backend for code generation."
fhahn Feb 14, 2021
e54811f
Restore diagnostic handler after CodeGenAction::ExecuteAction
mantognini Feb 8, 2021
4bd5bd4
[RISCV] Convert VSLIDE(UP|DOWN) nodes to "VL" versions (NFC)
frasercrmck Feb 11, 2021
cd6de0e
[TTI] Unify FavorPostInc and FavorBackedgeIndex into getPreferredAddr…
Feb 12, 2021
effc3b0
Revert "[TTI] Unify FavorPostInc and FavorBackedgeIndex into getPrefe…
Feb 15, 2021
e3c759b
[LoopLoadElim] Pass ScalarEvolution in old pass manager. PR49141
xortator Feb 15, 2021
357237e
Recommit "[TTI] Unify FavorPostInc and FavorBackedgeIndex into getPre…
Feb 15, 2021
7f0ed92
[X86][SSE] Add missing USUBSAT test coverage
RKSimon Feb 15, 2021
f32dc6b
[X86][AVX] Regenerate PSUBUS tests for slow/fast shuffle AVX2 targets
RKSimon Feb 15, 2021
cd44339
[lldb] Remove the legacy FreeBSD plugin
mgorny Feb 11, 2021
bee4d6e
[lldb] Rename FreeBSDRemote to FreeBSD (NFC)
mgorny Feb 11, 2021
b9d3234
[sanitizer] [arm] Disable some LSAN tests for arm-linux-gnueabihf
zatrazz Feb 15, 2021
20e3a6c
Add Semantic check for Flang OpenMP 4.5 - 2.7.1 Do Loop restrictions.
YashaswiniHegde Feb 15, 2021
a838a4f
[ARM] Extend search for increment in load/store optimizer
davemgreen Feb 15, 2021
6f21ada
[analyzer][NFC] Fix test failures for builds w/o assertions
SavchenkoValeriy Feb 15, 2021
2d728bb
[CodeGen][SelectionDAG]Add new intrinsic experimental.vector.reverse
CarolineConcatto Jan 15, 2021
176379e
[mlir] Use the interface-based translation for LLVM "intrinsic" dialects
ftynse Feb 12, 2021
50c19b4
Fix MSVC natvis visualisation of llvm::FixedVectorTyID and ScalableVe…
RKSimon Feb 15, 2021
5fe1593
[LoopVectorizer] Require no-signed-zeros-fp-math=true for fmin/fmax
kmclaughlin-arm Feb 15, 2021
eefd620
[llvm] NFC: Cleanup llvm-yaml-numeric-parser-fuzzer
kirillbobyrev Feb 15, 2021
94828af
[llvm-nm] Tidy up error messages
jh7370 Feb 12, 2021
37c8980
[llvm-nm][test] Add additional test coverage for llvm-nm options
jh7370 Feb 12, 2021
1d6f08e
[mlir] use new cmake targets in mlir-*-runner
ftynse Feb 15, 2021
65292fe
[X86] Add SSE2+SSE3 common check prefix to psubus tests
RKSimon Feb 15, 2021
6c330f0
[debuginfo-tests] Remove explicit checks for Python 3
jh7370 Feb 8, 2021
d623652
[debuginfo-tests] Remove some unused config variables
jh7370 Feb 9, 2021
b52e6c5
[CostModel]Add cost model for experimental.vector.reverse
CarolineConcatto Jan 27, 2021
e8b9da7
[debuginfo-tests] Delete unused/duplicate imports
jh7370 Feb 9, 2021
3842d4b
Make shape.is_broadcastable/shape.cstr_broadcastable nary
tpopp Feb 10, 2021
0a98efb
[ARM] Add some basic Min/Max costs
davemgreen Feb 15, 2021
99dbc0f
[LangRef] Increase size of title underline for experimental.vector.re…
CarolineConcatto Feb 15, 2021
ca23b2c
[AArch64] Move machine bundle unpacking to PreEmit2 phase.
fhahn Feb 15, 2021
7549524
[NFC] Remove spurious ';' on return line in python code
mtrofin Feb 15, 2021
e47f21d
[DAG] visitVSELECT - move OpLHS == LHS into inner if() in USUBSAT mat…
RKSimon Feb 15, 2021
6c5f17e
[clangd] Delay binding LSP methods until initialize. NFC
sam-mccall Feb 12, 2021
e4796aa
Merge from 'main' to 'sycl-web' (#6)
dm-vodopyanov Feb 15, 2021
381a65f
[mlir] Add clone method to ShapedType
jpienaar Feb 15, 2021
02413b0
[CMake] Delete LLVM_RUNTIME_BUILD_ID_LINK_TARGETS
MaskRay Feb 15, 2021
09b832e
Support emitting complex expressions that include entry values
adrian-prantl Feb 12, 2021
3b2f19d
[OpenMP][NFC] Pre-commit test changes regarding PR48933
jdoerfert Feb 2, 2021
f9286b4
[OpenMP] Attribute target diagnostics properly
jdoerfert Jan 29, 2021
1dd66e6
[OpenMP] Delay more diagnostics of potentially non-emitted code
jdoerfert Feb 2, 2021
c465429
[llvm-objcopy] Delete --build-id-link-{dir,input,output}
MaskRay Feb 15, 2021
5cf9292
[AMDGPU] Add two TSFlags: IsAtomicNoRtn and IsAtomicRtn
rampitec Feb 12, 2021
715dc55
[lto] Enable new PM when the PM config is non-empty
d0k Feb 15, 2021
8839cd0
Merge commit 'e4796aae18168dcb7be2856576e791f35a27f9f1' into ww08
vmaksimo Feb 19, 2021
13ae748
Align SemaLookup with dc00c96
vmaksimo Feb 8, 2021
fe57724
Align with cd2f65b - correct some confused diagnostic terminology
smanna12 Feb 8, 2021
0a93cf5
Update SYCL and ESIMD passes to new pass manager
AlexeySachkov Feb 10, 2021
f52d446
Update vc-intrinsics revision
vmaksimo Feb 15, 2021
5188a93
Fix CodeGenSYCL/kernel-early-optimization-pipeline test
AlexeySachkov Feb 19, 2021
47088b5
Update LLVM version from 12 to 13
svenvh Jan 27, 2021
4dcd560
Fix unused variable warnings in release builds
svenvh Feb 1, 2021
79287f3
Treat warnings as errors in out of tree CI builds
svenvh Feb 1, 2021
fb7468c
Fix visitUIToFPInst method in SPIRVLowerBool The method did not handl…
NikitaRudenkoIntel Jan 14, 2021
ac5ed70
Fix translation of cmpxchg instruction
AlexeySotkin Feb 10, 2021
ecd74c4
Fix test/DebugInfo/X86/static_member_array.ll
dm-vodopyanov Feb 9, 2021
a0d1d5e
Fixed various compiler errors.
zahiraam Feb 9, 2021
e605973
Implement SPV_INTEL_optnone extension (#913)
Fznamznon Feb 15, 2021
84e66c7
Ignore experimental_noalias_scope_decl intrinsic (#906)
MrSidims Feb 15, 2021
319e341
Support the SPV_EXT_shader_atomic_float_min_max extension (#916)
Feb 16, 2021
6786662
Fix SPIR-V friendly LLVM IR for conversion functions (#899)
Fznamznon Feb 18, 2021
8526153
Support llvm.is.constant
jinge90 Jul 28, 2020
ab5da3a
Expose SPIRVToOCL12, SPIRVToOCL20 interfaces in SPIRVToOCL.h
Nuullll Feb 3, 2021
18b3ac2
Disable optimizations for "SYCL queries fit in int" test
vmaksimo Feb 20, 2021
600a152
Fix typo in level_zero_dynamic_batch_test
vmaksimo Feb 20, 2021
64d56bc
Diisable level_zero_dynamic_batch_test till it's fixed
vmaksimo Feb 24, 2021
81b59b1
[CUDA] Run opt passes with the old pass manager
vmaksimo Feb 20, 2021
bd4ae3f
Fix linkage failure on Win
vmaksimo Feb 20, 2021
0fc0a20
Merge remote-tracking branch 'intel_llvm/sycl' into ww08
vmaksimo Feb 24, 2021
109deec
Align with cd2f65b - correct some confused diagnostic terminology
vmaksimo Feb 24, 2021
683af1b
Disable SPV_INTEL_optnone in llvm-spirv
Fznamznon Feb 20, 2021
4a14de7
Disable NewPM by default
vmaksimo Feb 25, 2021
8e21f79
Merge commit '715dc556b782f718ce1815aaf5c58626f5fe839c' into ww07-08_…
vmaksimo Feb 26, 2021
4addbb8
Merge commit '0a67b10f2ca0d32be5d08938160422527c42e5f9' into ww07-08_…
vmaksimo Mar 1, 2021
016cb2a
Merge branch 'sycl' into pulldown_ww07-08_oldPM
vmaksimo Mar 2, 2021
2c3861b
Align with cd2f65b - correct some confused diagnostic terminology
vmaksimo Mar 2, 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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
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