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 (WW30) #4133

Merged
merged 749 commits into from
Jul 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
749 commits
Select commit Hold shift + click to select a range
af93217
Use ManagedStatic and lazy initialization of cl::opt in libSupport to…
joker-eph Jul 15, 2021
13fe782
[analyzer] Handle << operator for std::unique_ptr
RedDocMD Jul 16, 2021
77f2f0f
[llvm-mca][JSON] Store extra information about driver flags used for …
Jul 16, 2021
7c63726
[llvm][tools] Hide unrelated llvm-cfi-verify options
tbaederr Jul 15, 2021
3d3dc95
Revert "[llvm][tools] Hide unrelated llvm-cfi-verify options"
tbaederr Jul 16, 2021
8d051d8
Revert "Use ManagedStatic and lazy initialization of cl::opt in libSu…
joker-eph Jul 16, 2021
7637457
Use ManagedStatic and lazy initialization of cl::opt in libSupport to…
joker-eph Jul 15, 2021
a12000e
Reformat files.
sfc-gh-sgiesecke Jul 14, 2021
918bda1
[analyzer] Do not assume that all pointers have the same bitwidth as …
vabridgers Jul 14, 2021
69a5684
[llvm][tools] Hide unrelated llvm-cfi-verify options
tbaederr Jul 16, 2021
edfcfa6
[MLIR][NFC] Improve doc comment and delete stale comment
bondhugula Jul 16, 2021
a6ca88e
[RISCV] Lower more BUILD_VECTOR sequences to RVV's VID
frasercrmck Jun 24, 2021
239d01f
Reland "[LV] Print remark when loop cannot be vectorized due to inval…
sdesmalen-arm Jul 15, 2021
d046fb6
[lldb][AArch64] Refactor memory tag range handling
DavidSpickett Jul 8, 2021
99eb96f
[AArch64][SME] Add load and store instructions
c-rhodes Jul 16, 2021
49d7313
[LV] Avoid scalable vectorization for loops containing alloca
kmclaughlin-arm Jul 16, 2021
9769535
[AArch64] Update Cortex-A55 SchedModel to improve LDP scheduling
NickGuy-Arm Jul 12, 2021
e4b79a5
[mlir] add an interface to support custom types in LLVM dialect pointers
ftynse Jul 15, 2021
a0b4f42
Use update_test_checks.py to auto-generate check lines
spavloff Jul 16, 2021
46ef86b
[mlir] Move linalg::Expand/CollapseShapeOp to memref dialect.
pifon2a Jul 16, 2021
66225db
[PowerPC][AIX] Add warning when alignment is incompatible with XL
ZarkoT Jul 16, 2021
09c9f4d
[AMDGPU][MC] Added missing isCall/isBranch flags
dpreobra Jul 16, 2021
8ada884
SubstTemplateTypeParmType can contain an 'auto' type in their replace…
Jul 15, 2021
d9abb15
[SLP] add tests for poison-safe bool logic reductions; NFC
rotateright Jul 16, 2021
231bf52
[InstrRef][FastISel] Support emitting DBG_INSTR_REF from fast-isel
jmorse Jul 16, 2021
21a0ef8
AMDGPU/GlobalISel: Redo kernel argument load handling
arsenm Jul 15, 2021
3ceb922
AMDGPU/GlobalISel: Preserve more memory types
arsenm Jul 15, 2021
f57f8f7
GlobalISel: Remove dead function
arsenm Jul 15, 2021
881dc34
[mlir] replace llvm.mlir.cast with unrealized_conversion_cast
ftynse Jul 13, 2021
a24e020
[mlir] add missing build dependency
ftynse Jul 16, 2021
adee89f
[lldb][AArch64] Add tag packing and repetition memory tag manager
DavidSpickett Mar 31, 2021
e3fa2b1
Revert "[RISCV] Lower more BUILD_VECTOR sequences to RVV's VID"
frasercrmck Jul 16, 2021
ba627a3
[PowerPC] Update Refactored Load/Store Implementation, XForm VSX Patt…
amy-kwan Jul 14, 2021
395271a
[runtimes] Simplify how we set the target triple
ldionne Jul 14, 2021
ee2068b
[PowerPC] Updated the error message of MASSV pass to mention vectoriz…
msdataei Jul 16, 2021
219c729
[Bazel] Delete deprecated gentbl rule
GMNGeoffrey Jul 16, 2021
2994ad3
[mlir] Remove unused functions in LinalgOps.cpp
pifon2a Jul 16, 2021
18e21e6
[libc++] CI: Setup BuildKite agents through launchd
ldionne Jul 16, 2021
e0a080d
AArch64/GlobalISel: Update tests to use correct memory types
arsenm Jul 16, 2021
5a0d940
GlobalISel: Preserve memory type for memset expansion
arsenm Jul 16, 2021
9ad1a49
Mips/GlobalISel: Use LLT form of getMachineMemOperand
arsenm Jun 11, 2021
fbc3e69
[libc++] ci: Create ~/Library/LaunchAgents if it does not exist yet
ldionne Jul 16, 2021
a7b7d22
[LoopInterchange] Check lcssa phis in the inner latch in scenarios of…
CongzheUalberta Jul 16, 2021
aa06f34
[flang][driver] Fix output filename generation in `flang`
banach-space Jul 16, 2021
6cb05ca
[libcxx][modularisation] adds several headers to the module map
cjdb Jul 15, 2021
1a7cddb
[NFC] Fix typo intrinisic
Jul 16, 2021
4d188a6
[Verifier] Require same signature for intrinsic calls
nikic Jul 14, 2021
0ce13f9
[RISCV] Add curly braces around a case body that declares variables. NFC
topperc Jul 16, 2021
4dbb788
[RISCV] Teach constant materialization that it can use zext.w at the …
topperc Jul 16, 2021
dd57ba1
[MachineVerifier] Diagnose invalid INSERT_SUBREGs
jroelofs Jul 14, 2021
9599567
[DAG] SelectionDAG::MaskedElementsAreZero - assert we're calling with…
RKSimon Jul 16, 2021
52cd0c5
[X86] Regenerate twoaddr-lea.ll test checks.
RKSimon Jul 16, 2021
6c40abb
Revert "[MachineVerifier] Diagnose invalid INSERT_SUBREGs"
jroelofs Jul 16, 2021
3c9d86f
[ELF][test] Avoid llvm-readelf/llvm-readobj one-dash long options
MaskRay Jul 16, 2021
6dad7a5
[SCEV] Add tests for known negative strides in trip count logic
preames Jul 16, 2021
5609c8b
[X86FixupLEAs] Try again to transform the sequence LEA/SUB to SUB/SUB
weiguozhi Jul 16, 2021
2b3a4c7
[test] Extend negative stride backedge tests to cover signed comparisons
preames Jul 16, 2021
6a4054e
sanitizer_common: add Semaphore
dvyukov Jul 15, 2021
ca01262
[docs] Update llvm-readelf supported options after D105532
MaskRay Jul 16, 2021
d634ec8
[RISCV] Refactor where in the multiclass hierarchy we add commutable …
topperc Jul 16, 2021
8f0343c
[RISCV] Use tail agnostic policy for fixed vector vwmacc(u).
topperc Jul 16, 2021
2e65ec1
[RISCV] Rename the fixed vector vwmacc tests to have the 'm' in their…
topperc Jul 16, 2021
0bf4b81
[Clang] Add an empty builtins.h file.
stefanp-synopsys Jul 15, 2021
8fe6597
[mlir][sparse] minor cleanup of Merger
aartbik Jul 16, 2021
5c57600
[tests] Precommit test for D104140
preames Jul 16, 2021
cfa4d11
[compiler-rt] change write order of frexpl & frexpf so it doesn't cor…
aralisza Jun 25, 2021
db29c03
sanitizer_common: link Synchronization.lib on Windows
dvyukov Jul 16, 2021
eef6601
[OpenMP] Rework OpenMP remarks
jhuber6 Jul 13, 2021
2c31d5e
[OpenMP] Add IDs to OpenMP remarks
jhuber6 Jul 13, 2021
1616407
[OpenMP] Add remark documentation to the OpenMP webpage
jhuber6 Jul 14, 2021
b910a10
[OpenMP][NFC] Update the comment header for optimizations.
jhuber6 Jul 16, 2021
c8937b6
[PowerPC] Implement XL compact math builtins
lei137 Jul 13, 2021
d2458bc
[X86][SSE] combineX86ShufflesRecursively - bail if constant folding f…
RKSimon Jul 16, 2021
58e5e50
[ARM] Extra MLA vecreduce tests. NFC
davemgreen Jul 16, 2021
8f806d5
[test] Avoid llvm-readelf/llvm-readobj one-dash long options
MaskRay Jul 16, 2021
3f9004c
[llvm-readelf/llvm-readobj] Remove one-dash long options
MaskRay Jul 16, 2021
d0f1ae6
Add a scalar argument case for the Fortran spread intrinsic unit test.
mleair Jul 12, 2021
1526759
[RISCV] Compose vector subregs hierarchically
jroelofs Jul 16, 2021
304293d
[gn build] (semi-manually) port 6a4054ef060b
nico Jul 16, 2021
1b18e9a
[PATCH] D105827: [SLP]Workaround for InsertSubVector cost.
alexey-bataev Jul 16, 2021
f23f299
[libcxx] [test] Fix experimental/memory.resource.adaptor.mem/db_deall…
mstorsjo Jul 13, 2021
df1c3aa
[NFC][compiler-rt][test] pass through MallocNanoZone to iossim env
aralisza Jul 16, 2021
fa3231e
[COFF][test] Fix llvm-readobj tests
MaskRay Jul 16, 2021
9637848
[GlobalISel] Fix non-pow-2 legalization of s56 stores.
aemerson Jul 16, 2021
1daaf1d
[gn build] Port 0bf4b81d57b0
llvmgnsyncbot Jul 16, 2021
da3dbfc
[SLP]Improve calculations of the cost for reused/reordered scalars.
alexey-bataev Jul 15, 2021
8b86b3a
[Bazel] Use bazel_skylib paths for paths munging
GMNGeoffrey Jul 16, 2021
9c5b73f
[Bazel] Make gentbl_test compatible with coverage
GMNGeoffrey Jul 16, 2021
b92f28c
[Bazel] Add examples to bazelignore
GMNGeoffrey Jul 2, 2021
68ec4aa
Add `lli` as dependency of MLIR integration tests
joker-eph Jul 16, 2021
35a18a9
[PowerPC] Implement intrinsics for mtfsf[i]
nemanjai Jul 16, 2021
8e3b5cb
ThinLTO: Fix inline assembly references to static functions with CFI
samitolvanen Jul 16, 2021
0ad1d9f
Revert "ThinLTO: Fix inline assembly references to static functions w…
samitolvanen Jul 16, 2021
ad8e75c
[ARM] Fix for matching reductions that are both sext and zext.
davemgreen Jul 16, 2021
1f71bca
Build libSupport with -Werror=global-constructors (NFC)
joker-eph Jul 16, 2021
c14f268
[sanitizer] Fix test build on Windows
vitalybuka Jul 16, 2021
263fe13
[Bazel] Delete blank line to make buildifier happy
MaskRay Jul 16, 2021
e37bbfe
[libcxx][modules] protects users from relying on libc++ detail header…
cjdb Jul 13, 2021
6eb576d
Add a mutex to guard access to the ThreadPlanStack class
jimingham Jul 16, 2021
2bad8bd
Revert "Build libSupport with -Werror=global-constructors (NFC)"
joker-eph Jul 16, 2021
b8355b7
[lit] Add --xfail-not/LIT_XFAIL_NOT
jdenny-ornl Jul 16, 2021
cbba71b
[ScalarEvolution] Fix overflow in computeBECount.
efriedma-quic Jul 9, 2021
77aec97
[CSSPGO] Turn on unique linkage name by default for pseudo probe.
htyu Jul 16, 2021
b0aa707
[trace][intel pt] Implement the Intel PT cursor
Jun 29, 2021
b316c30
[NFC][compiler-rt][test] when using ptrauth, strip before checking if…
aralisza Jul 17, 2021
27addb8
AMDGPU/GlobalISel: Fix some incorrect memory types in tests
arsenm Jul 16, 2021
51f115b
AMDGPU/GlobalISel: Add a few tests for struct arguments
arsenm Jul 16, 2021
71de6e9
Mips/GlobalISel: Remove leftover dead code
arsenm Jul 16, 2021
f9f3c34
[CSSPGO] Turn on iterative-BFI for CSSPGO
WenleiHe Jul 17, 2021
6545fdc
[Analysis] Remove isJoinDivergent (NFC)
kazutakahirata Jul 17, 2021
c7f2f81
[AMDGPU] Tidy SReg/SGPR definitions using template class
perlfu Jul 17, 2021
89aa11e
[ORC] Remove LLVM-side MachO Platform runtime support.
lhames Jul 11, 2021
f4ec30d
[RISCV] Make VLEN no greater than 65536
jacquesguan Jul 17, 2021
4a3defa
[mlir][vector] Refactor TransferReadToVectorLoadLowering
matthias-springer Jul 17, 2021
d1a9e9a
[mlir][vector] Remove vector.transfer_read/write to LLVM lowering
matthias-springer Jul 17, 2021
92430b4
[ORC] Fix typo in declaration
lhames Jul 11, 2021
e9c7291
[OpenMP] Codegen aggregate for outlined function captures
ggeorgakoudis Jun 15, 2021
1f1369e
[sanitizers] Fix building on case sensitive mingw platforms
mstorsjo Jul 17, 2021
ca2ca82
Merge from 'sycl' to 'sycl-web'
Jul 17, 2021
173332d
[RISCV] Manually emit the best shift for VSCALE lowering to improve c…
topperc Jul 17, 2021
1ccf47d
Merge from 'main' to 'sycl-web' (#2)
abhinavgaba Jul 17, 2021
be5af50
[BPF] Use elementtype attribute for preserve.array/struct.index intri…
nikic Jul 16, 2021
7e21ded
[IR] Don't accept null type in ConstantExpr::getGetElementPtr()
nikic Jul 17, 2021
1993b73
[Analaysis, CodeGen] Remove getHotSucc (NFC)
kazutakahirata Jul 17, 2021
7db463c
[IRBuilder] Deprecate CreateConstGEP2_64() without element type
nikic Jul 17, 2021
4737eeb
[OpaquePtr] Remove uses of CreateConstInBoundsGEP2_64() without type
nikic Jul 17, 2021
251a11f
[IRBuilder] Deprecate CreateConstInBoundsGEP2_64() without element type
nikic Jul 17, 2021
357756e
[OpaquePtr] Remove uses of CreateConstGEP1_64() without element type
nikic Jul 17, 2021
32e2729
[IRBuilder] Deprecate CreateConstGEP1_64() without element type
nikic Jul 17, 2021
5071360
[OpaquePtr] Remove uses of CGF.Builder.CreateConstInBoundsGEP1_64() w…
nikic Jul 17, 2021
5df4849
[IRBuilder] Deprecate CreateConstInBoundsGEP1_64() without element type
nikic Jul 17, 2021
9277ce7
[DebugInfo] Remove unnecessary <string> include dependency from Debug…
RKSimon Jul 17, 2021
6d3e7c7
[OpaquePtr] Remove uses of CreateConstGEP1_32() without element type
nikic Jul 17, 2021
03e4351
[IRBuilder] Deprecate CreateConstGEP1_32() without element type
nikic Jul 17, 2021
be8159b
[RISCV][RVV] Precommit a test case for D105684
arcbbb Jul 9, 2021
4ace600
[OpaquePtr] Remove uses of CreateStructGEP() without element type
nikic Jul 17, 2021
ca161e0
[IRBuilder] Deprecate CreateStructGEP() without element type
nikic Jul 17, 2021
d3454ee
[AbstractAttributor] Fix two issues in folding __kmpc_is_spmd_exec_mode
shiltian Jul 17, 2021
182ba8a
[libcxx][ranges] makes `ranges::subrange` a borrowed range
cjdb Jul 17, 2021
428a7c1
[lld-macho] Have ICF operate on all sections at once
int3 Jul 17, 2021
f44fc35
[libcxx] Updated test and seemingly incorrect comment from it.
oontvoo Jul 15, 2021
d0f8047
[RISCV] Teach computeKnownBitsForTargetNode that VLENB will never be …
topperc Jul 17, 2021
6225d0c
[OpaquePtr] Remove uses of CreateInBoundsGEP() without element type
nikic Jul 17, 2021
f95d260
[IRBuilder] Deprecate CreateInBoundsGEP() without element type
nikic Jul 17, 2021
2c68ecc
[OpaquePtr] Remove uses of CreateGEP() without element type
nikic Jul 17, 2021
f164bc5
[IRBuilder] Deprecate CreateGEP() without element type
nikic Jul 17, 2021
e41e865
[AArch64] Prepare for changes to STEP_VECTOR.
efriedma-quic Jul 12, 2021
5acddf5
[ARM] Lower non-extended small gathers via truncated gathers.
davemgreen Jul 17, 2021
ffe9473
[ExecutionEngine] Fix GEP type
nikic Jul 17, 2021
5cd63e9
[AArch64][GlobalISel] Legalize bswap <2 x i16>
jroelofs Jul 9, 2021
657eb94
[Sanitizers] FutexWake fix typo for FreeBSD code path.
devnexen Jul 18, 2021
4c55cdb
[GlobalISel] Fix known bits for G_BSWAP and B_BITREVERSE not doing an…
aemerson Jul 18, 2021
dac582a
DebugInfo: Name class templates with default arguments consistently (…
dwblaikie Jul 18, 2021
00c1cc8
[RISCV] Add more i32 srem/sdiv with power of 2 constant tests. NFC
topperc Jul 18, 2021
0cd98be
[analyzer] Handle std::swap for std::unique_ptr
RedDocMD Jul 18, 2021
0c164ea
[MLIR][CAPI] On MINGW don't link against libMLIR
vchuravy Jul 18, 2021
b5a6ad8
[Orc] Add verylazy example for C-bindings
vchuravy Jul 18, 2021
0590502
[InstCombine][test] add tests for fadd reductions; NFC
rotateright Jul 16, 2021
0e15de2
[InstCombine] fold reassociative FP add into start value of fadd redu…
rotateright Jul 17, 2021
367ec77
[Orc] Remove unnecessary <string> include dependency from Orc headers…
RKSimon Jul 17, 2021
51a12d2
[X86][SSE] matchShuffleWithPACK - avoid poison pollution from bitcast…
RKSimon Jul 18, 2021
4357cfc
[OpenMP][Offloading] Add -g when compiling deviceRTLs in debug mode
shiltian Jul 18, 2021
1a6a844
[DAG] Move select(cc, binop(), binop()) folds into DAGCombiner::foldS…
RKSimon Jul 18, 2021
a56fe11
Revert "[Orc] Add verylazy example for C-bindings"
vchuravy Jul 18, 2021
d825309
[analyzer] Handle std::make_unique
RedDocMD Jul 18, 2021
fcb710a
[NVPTX] Add select(cc,binop(),binop()) fast-math tests
RKSimon Jul 18, 2021
958437d
[Analysis] Remove getLoopPackage (NFC)
kazutakahirata Jul 18, 2021
3a1b380
[X86] Add i32 (shl (sr[la] exact sel(X,Y), C1), C2) test
RKSimon Jul 18, 2021
59c33a0
[Cloning] Remove unused parameter from CloneAndPruneFunctionInto() (NFC)
nikic Jul 18, 2021
1b61d83
[Inline] Add test for PR50589 (NFC)
nikic Jul 18, 2021
954711e
[OpenMP][Offloading] Add a CMake argument LIBOMPTARGET_LIT_ARGS to co…
shiltian Jul 18, 2021
5643be9
[DAG] Enable foldSelectOfBinops on select(setcc(),binop(),binop()) calls
RKSimon Jul 18, 2021
fd7a54c
[DAG] DAGCombiner::foldSelectOfBinops - propagate the common flags to…
RKSimon Jul 18, 2021
c0f2c4c
[SimplifyCFG] remove unnecessary state variable; NFC
rotateright Jul 18, 2021
fbe64f1
[SimplifyCFG] add test to show miscompile from FoldBranchToCommonDest…
rotateright Jul 18, 2021
3321f48
Reland [Orc] Add verylazy example for C-bindings
vchuravy Jul 18, 2021
28a3ad3
[ScalarEvolution] Remove uses of PointerType::getElementType.
efriedma-quic Jul 18, 2021
68fa6f7
[CSSPGO][NFC] Allow cl::ZeroOrMore for use-iterative-bfi-inference
WenleiHe Jul 18, 2021
4370514
[polly] Get rid of a couple uses of PointerType::getElementType().
efriedma-quic Jul 18, 2021
2b17c24
[SCEV] Fix unused variable warning (NFC)
nikic Jul 18, 2021
da92e86
[InstCombine] Fold IntToPtr/PtrToInt to bitcast
Krishnakariya Jul 18, 2021
3e649f8
[openmp][nfc] Simplify macros guarding math complex headers
JonChesterfield Jul 18, 2021
6601be4
[X86] Remove incorrect use of known bits in shuffle simplification.
efriedma-quic Jul 17, 2021
9bdf1ab
[mlir-tblgen] Slightly improve the diagnostic message in pattern match
ChiaHungDuan Jul 19, 2021
649977c
Opaque pointer GEP fixes for BrainF example
dwblaikie Jul 19, 2021
8422bfa
[polly] Fix regression tests with POLLY_ENABLE_GPGPU_CODEGEN
efriedma-quic Jul 19, 2021
0ce9acf
[polly] Fix uses of deprecated overload of IRBuilder::CreateGEP.
efriedma-quic Jul 19, 2021
4504e11
[OpenMP][CMake] Fix an issue when there is space in the argument LIBO…
shiltian Jul 19, 2021
db69ea4
[llvm-objdump][WebAssembly] Fix llvm-objdump on files without symbols
wingo Jul 7, 2021
eda00d8
Merge remote-tracking branch 'otcshare_llvm/sycl-web' into llvmspirv_…
vmaksimo Jul 19, 2021
6421aa3
Merge commit '4504e1134c9118f3c322685f8a90129e09bab92c' into llvmspir…
vmaksimo Jul 19, 2021
0ed0573
[AArch64][SVE] Optimize bitcasts between unpacked half/i16 vectors.
sdesmalen-arm Jul 19, 2021
9ea5aa9
Fix readonly attribute after new LLVM assertion
svenvh Jul 13, 2021
8c480d9
Add cl_khr_extended_bit_ops support
svenvh Jul 8, 2021
8d4185b
Add W/A to translate OpenCL kernel_arg_type_qual metadata
MrSidims Apr 15, 2021
9fa3615
Don't add aliasing MemAccess mask if metadata translation failed
MrSidims Jul 15, 2021
eb1e95d
[ARM] Extend more reductions during lowering
davemgreen Jul 19, 2021
f91eaa7
[AArch64][SME] Add SVE2 instructions added in SME
c-rhodes Jul 19, 2021
34d6820
[LoopFlatten] Use Loop to identify loop induction phi. NFC
RosieSumpter Jul 15, 2021
73e4b5c
[clang-tidy] Add 'readability-suspicious-call-argument' check
whisperity Sep 5, 2017
b779364
Add mapping for DWARF language codes to SourceLanguage
Jul 15, 2021
3f8f292
[mlir][linalg] Set explicit insertion point in pad_tensor patterns.
Jul 19, 2021
bad3ebb
[Polly][Isl] Stop generating isl::union_{set,map} from isl::space. NFC
patacca Jul 19, 2021
fe494fa
[X86][SSE] Add codegen tests dot2/3 dot product of 128-bit dereferenc…
RKSimon Jul 19, 2021
ac5ce40
[ORC-RT] Fix signedness warning in unit test.
lhames Jul 18, 2021
bb5f97e
[ORC][ORC-RT] Introduce ORC-runtime based MachO-Platform.
lhames Jul 14, 2021
d23f26f
[NFC] [MTE] helper for stack tagging lifetimes.
fmayer Jul 16, 2021
d5ee355
[Polly][Isl] Use isl::union_map::unite() instead of isl::union_map::a…
patacca Jul 19, 2021
eaa329e
[ORC-RT] Handle missing __has_builtin operator.
lhames Jul 19, 2021
b28e5b7
[VE] Disable relative lookup table converter pass for VE
kaz7 Jul 17, 2021
249510a
[ORC] Add missing std::move.
lhames Jul 19, 2021
159e072
[Polly] Use isl::set::tuple_dim instead of isl::set::dim. NFC
patacca Jul 19, 2021
3d5c1a8
[compiler-rt][GWP-ASAN] Disable 2 tests on Armv7 Linux
DavidSpickett Jul 19, 2021
df47770
[ORC] Explicitly convert to ArrayRefs to silence errors.
lhames Jul 19, 2021
754b1cd
[X86][SSE] Fix copy+paste typo in dot3_float4_as_float3 partial load …
RKSimon Jul 19, 2021
12268fe
[hwasan] Use stack safety analysis.
fmayer Jul 16, 2021
4ee28b4
[VE] Set getExtendForAtomicOps to ISD::ANY_EXTEND
kaz7 Jul 13, 2021
ad4f047
[ORC-RT] Fix missing std::move.
lhames Jul 19, 2021
94e0975
[ORC] Drop 'const' for __orc_rt_CWrapperFunctionResultDataUnion::Valu…
lhames Jul 19, 2021
baa7f58
tsan: make obtaining current PC faster
dvyukov Jul 15, 2021
807d501
Revert "[hwasan] Use stack safety analysis."
fmayer Jul 19, 2021
156b431
[LV] Add test with ptr induction used as scalar and vector.
fhahn Jul 6, 2021
a6aabcb
Align test with changed llc option
vmaksimo Jul 19, 2021
eda4640
[mlir][memref] Clarify the documentation for memref.clone [NFC]
Jul 19, 2021
f3814ed
[LV] Re-generate check lines of some fragile tests (NFC)
cmd120 Jul 19, 2021
e908e06
[LoopUtils] Fix incorrect RT check bounds of loop-invariant mem accesses
cmd120 Jul 19, 2021
d8d8b45
[SLP]Fix possible crash on unreachable incoming values sorting.
alexey-bataev Jul 19, 2021
5939c64
[CostModel][X86] Add fast math tests for float reductions
RKSimon Jul 19, 2021
11c1100
[ORC-RT] Separate jit-dispach tag decls from definitions.
lhames Jul 19, 2021
aa69f0d
[ORC-RT] Introduce a weak-import macro.
lhames Jul 19, 2021
3b03d9b
[mlir] Introduce `linalg.tiled_yield` terminator for `linalg.tiled_lo…
pifon2a Jul 19, 2021
f58a1f6
[rt][nfc] Rewrite #ifndef as #if defined().
pifon2a Jul 19, 2021
f6ba035
[clang-tidy] ensure run-clang-tidy reports children killed by signals
ijc Jul 19, 2021
58ddeba
Revert "[mlir] Introduce `linalg.tiled_yield` terminator for `linalg.…
pifon2a Jul 19, 2021
cef56d5
[clang] Change set type used for SourceLocation.
statham-arm Jul 19, 2021
96d8f2a
[AMDGPU] Fix typo in comments idexen -> idxen
jayfoad Jul 19, 2021
195786d
Fix duplicate checks in clangd comments
1ntEgr8 Jul 19, 2021
eacbd7d
[MLIR] AffineStructures: resolve clang-tidy warnings [NFC]
Superty Jul 19, 2021
5b51bd1
[TLI] prepareSREMEqFold(): use correct VT for the final VSELECT (PR51…
LebedevRI Jul 19, 2021
f15c39b
[CodeGen] Remove isNON_TRUNCStore and isTRUNCStore (NFC)
kazutakahirata Jul 19, 2021
73840f9
thread_local support for AIX
jamieschmeiser Jul 19, 2021
f463212
[InstrRef][X86] Drop debug instruction numbers from x87 instructions
jmorse Jul 19, 2021
dd5aa65
[PowerPC] Implement vector bool/pixel initialization under -faltivec-…
amy-kwan Jul 19, 2021
fb0cf01
Revert "[OpenMP] Codegen aggregate for outlined function captures"
ggeorgakoudis Jul 19, 2021
118e3a8
[PGO] Change test-run line to check NewPM pass behavior
vmaksimo Jul 20, 2021
adf22b7
Merge remote-tracking branch 'intel_llvm/sycl' into llvmspirv_pulldown
vmaksimo Jul 20, 2021
b243e91
Revert "[SYCL] Removes redefinitions of macros in libclc (#3505)"
vmaksimo Jul 20, 2021
1168271
Merge commit 'fb0cf0179526f135fab24b84f9dcd1c41f59ec53' into llvmspir…
vmaksimo Jul 21, 2021
f442564
Reapply after conflict resolution 418a6d6 "Fix nvptx_target_teams_dis…
vmaksimo Jul 21, 2021
86b3b71
Remove check for AMD HIP to fix Driver/cuda-arch-translation.cu
vmaksimo Jul 22, 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
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,35 @@ void recordFixes(const VarDecl &Var, ASTContext &Context,
}
}

llvm::Optional<SourceLocation> firstLocAfterNewLine(SourceLocation Loc,
SourceManager &SM) {
bool Invalid;
const char *TextAfter = SM.getCharacterData(Loc, &Invalid);
if (Invalid) {
return llvm::None;
}
size_t Offset = std::strcspn(TextAfter, "\n");
return Loc.getLocWithOffset(TextAfter[Offset] == '\0' ? Offset : Offset + 1);
}

void recordRemoval(const DeclStmt &Stmt, ASTContext &Context,
DiagnosticBuilder &Diagnostic) {
// Attempt to remove the whole line until the next non-comment token.
auto Tok = utils::lexer::findNextTokenSkippingComments(
Stmt.getEndLoc(), Context.getSourceManager(), Context.getLangOpts());
if (Tok) {
Diagnostic << FixItHint::CreateRemoval(SourceRange(
Stmt.getBeginLoc(), Tok->getLocation().getLocWithOffset(-1)));
auto &SM = Context.getSourceManager();
// Attempt to remove trailing comments as well.
auto Tok = utils::lexer::findNextTokenSkippingComments(Stmt.getEndLoc(), SM,
Context.getLangOpts());
llvm::Optional<SourceLocation> PastNewLine =
firstLocAfterNewLine(Stmt.getEndLoc(), SM);
if (Tok && PastNewLine) {
auto BeforeFirstTokenAfterComment = Tok->getLocation().getLocWithOffset(-1);
// Remove until the end of the line or the end of a trailing comment which
// ever comes first.
auto End =
SM.isBeforeInTranslationUnit(*PastNewLine, BeforeFirstTokenAfterComment)
? *PastNewLine
: BeforeFirstTokenAfterComment;
Diagnostic << FixItHint::CreateRemoval(
SourceRange(Stmt.getBeginLoc(), End));
} else {
Diagnostic << FixItHint::CreateRemoval(Stmt.getSourceRange());
}
Expand Down Expand Up @@ -147,6 +168,7 @@ void UnnecessaryCopyInitialization::registerMatchers(MatchFinder *Finder) {
return compoundStmt(
forEachDescendant(
declStmt(
unless(has(decompositionDecl())),
has(varDecl(hasLocalStorage(),
hasType(qualType(
hasCanonicalType(allOf(
Expand Down
1 change: 1 addition & 0 deletions clang-tools-extra/clang-tidy/readability/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ add_clang_library(clangTidyReadabilityModule
StaticAccessedThroughInstanceCheck.cpp
StaticDefinitionInAnonymousNamespaceCheck.cpp
StringCompareCheck.cpp
SuspiciousCallArgumentCheck.cpp
UniqueptrDeleteReleaseCheck.cpp
UppercaseLiteralSuffixCheck.cpp
UseAnyOfAllOfCheck.cpp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
#include "StaticAccessedThroughInstanceCheck.h"
#include "StaticDefinitionInAnonymousNamespaceCheck.h"
#include "StringCompareCheck.h"
#include "SuspiciousCallArgumentCheck.h"
#include "UniqueptrDeleteReleaseCheck.h"
#include "UppercaseLiteralSuffixCheck.h"
#include "UseAnyOfAllOfCheck.h"
Expand Down Expand Up @@ -122,6 +123,8 @@ class ReadabilityModule : public ClangTidyModule {
"readability-redundant-string-init");
CheckFactories.registerCheck<SimplifyBooleanExprCheck>(
"readability-simplify-boolean-expr");
CheckFactories.registerCheck<SuspiciousCallArgumentCheck>(
"readability-suspicious-call-argument");
CheckFactories.registerCheck<UniqueptrDeleteReleaseCheck>(
"readability-uniqueptr-delete-release");
CheckFactories.registerCheck<UppercaseLiteralSuffixCheck>(
Expand Down
Loading