Commit
fcbf05bbdccc8a32f6a80316ea1c13be7e7eeae2
by Jinsong Ji[PowerPC][NFC] Fix clang-tidy warning Reported by https://results.llvm-merge-guard.org/amd64_debian_testing_clang8-726/clang-tidy.txt /mnt/disks/ssd0/agent/workspace/amd64_debian_testing_clang8/llvm/lib/Target/PowerPC/PPCISelLowering.cpp:11672:10: warning: invalid case style for variable 'isEQ' [readability-identifier-naming] bool isEQ = (MI.getOpcode() == PPC::ANDI_rec_1_EQ_BIT || ^~~~ IsEq /mnt/disks/ssd0/agent/workspace/amd64_debian_testing_clang8/llvm/lib/Target/PowerPC/PPCISelLowering.cpp:11679:14: warning: invalid case style for variable 'dl' [readability-identifier-naming] DebugLoc dl = MI.getDebugLoc(); ^~ Dl
|
 | llvm/lib/Target/PowerPC/PPCISelLowering.cpp |
Commit
7adb5c2aca8047ae184a96869e3cfcb034fbac39
by nikita.ppvRevert "[InstCombine] Fix infinite loop due to bitcast <-> phi transforms" This reverts commit 27a0795943fee0f30b995fe5165428afc2dfd402. Seems to break test-suite.
|
 | llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp |
 | llvm/test/Transforms/InstCombine/pr44245.ll |
Commit
df3b56c90544b17e645bcb1799ce60e3ae1d5c6d
by johannes[Attributor][Fix] Avoid leaking memory after D68765
|
 | llvm/include/llvm/Transforms/IPO/Attributor.h |
Commit
d89c4cb938070a6de11e624984e5bd0e989fb334
by steveireMatch code following lambdas when ignoring invisible nodes Reviewers: aaron.ballman Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D71976
|
 | clang/lib/ASTMatchers/ASTMatchFinder.cpp |
 | clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp |
Commit
06fdbf3dafb76e54ea76e0eb5f690bc3d6773023
by steveireUnnest struct in Matcher implementation This allows implementation of the traverse() matcher to surround matchers like unless().
|
 | clang/include/clang/ASTMatchers/ASTMatchersInternal.h |
Commit
69bb99914f35b887e949b72feafc5f41ee0db6e1
by steveireImplement additional traverse() overloads Summary: These overloads make it possible to wrap unless(), anyOf(), has() etc with the traverse matcher. Reviewers: aaron.ballman Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D71977
|
 | clang/include/clang/ASTMatchers/ASTMatchers.h |
 | clang/include/clang/ASTMatchers/ASTMatchersInternal.h |
 | clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp |
Commit
eb5c026ef0bc48207edaeda8115b832be631652d
by spatel[InstCombine] add/adjust tests for masked bit; NFC
|
 | llvm/test/Transforms/InstCombine/zext.ll |
Commit
a041c4ec6f7aa659b235cb67e9231a05e0a33b7d
by spatel[InstCombine] fold zext of masked bit set/clear This does not solve PR17101, but it is one of the underlying diffs noted here: https://bugs.llvm.org/show_bug.cgi?id=17101#c8 We could ease the one-use checks for the 'clear' (no 'not' op) half of the transform, but I do not know if that asymmetry would make things better or worse. Proofs: https://rise4fun.com/Alive/uVB Name: masked bit set %sh1 = shl i32 1, %y %and = and i32 %sh1, %x %cmp = icmp ne i32 %and, 0 %r = zext i1 %cmp to i32 => %s = lshr i32 %x, %y %r = and i32 %s, 1 Name: masked bit clear %sh1 = shl i32 1, %y %and = and i32 %sh1, %x %cmp = icmp eq i32 %and, 0 %r = zext i1 %cmp to i32 => %xn = xor i32 %x, -1 %s = lshr i32 %xn, %y %r = and i32 %s, 1
|
 | llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp |
 | llvm/test/Transforms/InstCombine/zext.ll |
Commit
430bba2a0f39b543e66119761d1526d037229936
by jpienaar[mlir] Make code blocks more consistent Use the same form specification for the same type of code.
|
 | mlir/docs/ConversionToLLVMDialect.md |
 | mlir/docs/Tutorials/Toy/Ch-4.md |
 | mlir/docs/Tutorials/Toy/Ch-6.md |
 | mlir/lib/Support/CMakeLists.txt |
 | mlir/docs/RationaleSimplifiedPolyhedralForm.md |
 | mlir/docs/Tutorials/Toy/Ch-3.md |
 | mlir/docs/DeclarativeRewrites.md |
 | mlir/docs/Tutorials/Toy/Ch-2.md |
 | mlir/docs/Tutorials/Toy/Ch-1.md |
Commit
5e5a1d27909626169c15b8f63e10d22fcbdf88d9
by craig.topper[CodeGen] Emit conj/conjf/confjl libcalls as fneg instructions if possible. We already recognize the __builtin versions of these, might as well recognize the libcall version. Differential Revision: https://reviews.llvm.org/D72028
|
 | clang/lib/CodeGen/CGBuiltin.cpp |
 | clang/test/CodeGen/complex-libcalls-2.c |
 | clang/test/CodeGen/complex-libcalls.c |
Commit
73855e43009bdd433c648e7102f122365e50e398
by craig.topper[X86] Add test case for opposite branch condition for PR44412. NFC
|
 | llvm/test/CodeGen/X86/pr44412.ll |
Commit
7544cb8807b2ecb2f5186ab18d0ffa865a493a47
by jpienaar[mlir][docs] Remove redundant path prefix ./ is not needed.
|
 | mlir/docs/Tutorials/Toy/Ch-5.md |
Commit
8be5a0fe12bb9114bb82986b1dcb9205699aa085
by a.bataev[OPENMP]Emit artificial threprivate vars as threadlocal, if possible. It may improve performance for declare reduction constructs.
|
 | clang/test/OpenMP/master_taskloop_simd_reduction_codegen.cpp |
 | clang/test/OpenMP/master_taskloop_reduction_codegen.cpp |
 | clang/test/OpenMP/parallel_master_taskloop_simd_reduction_codegen.cpp |
 | clang/lib/CodeGen/CGOpenMPRuntime.cpp |
 | clang/test/OpenMP/taskloop_reduction_codegen.cpp |
 | clang/test/OpenMP/taskloop_simd_reduction_codegen.cpp |
 | clang/test/OpenMP/parallel_master_taskloop_reduction_codegen.cpp |
Commit
79d401905fcf519da732b33ee9dffd18f2da3b10
by michael.hliao[amdgpu] Fix scoreboard updating on `s_waitcnt_vscnt`. Summary: - Other counters are accidentally cleared. Subscribers: arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D71866
|
 | llvm/test/CodeGen/AMDGPU/waitcnt-vscnt.mir |
 | llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp |
Commit
b65ca8e5db6fde6ef5948136b8f576eb6d7f707f
by martinRevert "[Diagnostic] Add ftabstop to -Wmisleading-indentation" This reverts commit b47b35ff51b355a446483777155290541ab64fae. This caused failed asserts (Assertion `FIDAndOffset.second > ColNo && "Column number smaller than file offset?"' failed.) on a source file with a single line containing "int main (void) { for( int i = 0; i < 9; i++ ); return 0; }".
|
 | clang/lib/Parse/ParseStmt.cpp |
 | clang/test/Parser/warn-misleading-indentation.cpp |
Commit
64cf26548a4cef7745ebc385ac6a2d280bcaf6fe
by arsenm2AMDGPU: Precommit test showing extra instructions are introduced
|
 | llvm/test/CodeGen/AMDGPU/fneg-fold-legalize-dag-increase-insts.ll |
Commit
4ae3120ed81cb2f1f73f59a52e2a9965515ea6bf
by craig.topper[LegalizeVectorOps][AArch64] Stop asking for v4f16 fp_round and fp_extend to be promoted. These operations are needed as building blocks for promoting so they can't be promoted themselves. This appeared to work because the fp_extend query type for operation actions is the result type, not the input type so it never triggered in the legalizer. For fp_round, the vector op legalizer just ended up creating a nop fp_extend that was elided by getNode, followed by a nop fp_round that was also elided by getNode. This was followed by a final fp_round from v4f32 back to vf416 which was CSEd to the original node. Then legalize vector ops just believed that node legalized to itself. LegalizeDAG took another crack at promoting it, but didn't have a handler so just skipped it with a debug message saying it wasn't promoted. This patch just removes the operation actions to avoid this non-sense. Found while trying to refactor LegalizeVectorOps to handle multiple result nodes better.
|
 | llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp |
 | llvm/lib/Target/AArch64/AArch64ISelLowering.cpp |
Commit
1cc8a74de345b66fd340ddc71580ad412e8e2abf
by craig.topper[X86] Use carry flag from add for (seteq (add X, -1), -1). If we just subtracted 1 and are checking if the result is -1. We can use the carry flag from the ADD instead of an explicit CMP. I'm using the same checks for the add users as EmitTest. Fixes one case from PR44412 Differential Revision: https://reviews.llvm.org/D72019
|
 | llvm/test/CodeGen/X86/pr44412.ll |
 | llvm/lib/Target/X86/X86ISelLowering.cpp |
Commit
374e0299cf08dc1ff2c68e7f6c159b98ab55dfb8
by craig.topper[X86][InstCombine] Add constant folding and simplification support for pdep and pext The instructions use a mask to either pack disjoint bits together(pext) or spread bits to disjoint locations(pdep). If the mask is all 0s then no bits are extracted or deposited. If the mask is all ones, then the source value is written to the result since no compression or expansion happens. Otherwise if both the source and mask are constant we can walk the bits in the source/mask and calculate the result. There other crazier things we could do like computeKnownBits or turning pext into shift/and if only a single contiguous range of bits is extracted. Fixes PR44389 Differential Revision: https://reviews.llvm.org/D71952
|
 | llvm/test/Transforms/InstCombine/X86/x86-bmi-tbm.ll |
 | llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp |
Commit
26bdc603f76f41a9831f6b980b5fc9a947446544
by craig.topper[X86] Constant fold KSHIFT of an all zeros vector to just an all zeros vector.
|
 | llvm/test/CodeGen/X86/masked_store.ll |
 | llvm/lib/Target/X86/X86ISelLowering.cpp |
Commit
e3e13db714e0d642ae44d5d392b137ec64d93a00
by maskray[ELF][RISCV] Improve error message for unknown relocations Like rLLD354040.
|
 | lld/ELF/Arch/RISCV.cpp |
Commit
4d7201e7b988b62a6ca30416fd03847b5a39dae0
by arsenm2DAG: Stop trying to fold FP -(x-y) -> y-x in getNode with nsz This was increasing the number of instructions when fsub was legalized on AMDGPU with no signed zeros enabled. This fold should be guarded by hasOneUse, and I don't think getNode should be doing that. The same fold is already done as a regular combine through isNegatibleForFree. This does require duplicating, even though isNegatibleForFree does this combine already (and properly checks hasOneUse) to avoid one PPC regression. In the regression, the outer fneg has nsz but the fsub operand does not. isNegatibleForFree only sees the operand, and doesn't see it's used from a nsz context. A nsz parameter needs to be added and threaded through isNegatibleForFree to avoid this.
|
 | llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp |
 | llvm/test/CodeGen/AMDGPU/fneg-fold-legalize-dag-increase-insts.ll |
 | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp |
 | llvm/test/CodeGen/AArch64/arm64-fp.ll |
Commit
468a0cb5f39454a26c99f1d80fa7e24936f47bf7
by craig.topper[X86] Add X87 FCMOV support to X86FlagsCopyLowering. Fixes PR44396
|
 | llvm/test/CodeGen/X86/pr44396.ll |
 | llvm/lib/Target/X86/X86FlagsCopyLowering.cpp |
Commit
86f48999f46f41687f152e0854bdd352250b117c
by craig.topper[X86] Fix typo in getCMovOpcode. The 64-bit HasMemoryOperand line was using CMOV32rm instead of CMOV64rm. Not sure how to test this. We have no test coverage that passes true for HasMemoryOperand.
|
 | llvm/lib/Target/X86/X86InstrInfo.cpp |
Commit
e9963034314edf49a12ea5e29f694d8f9f52734a
by uenoku.tokotoko[Attributor] AAValueConstantRange: Value range analysis using constant range This patch introduces `AAValueConstantRange`, which answers a possible range for integer value in a specific program point. One of the motivations is propagating existing `range` metadata. (I think we need to change the situation that `range` metadata cannot be put to Argument). The state is a tuple of `ConstantRange` and it is initialized to (known, assumed) = ([-∞, +∞], empty). Currently, AAValueConstantRange is created when AAValueSimplify cannot simplify the value. Supported - BinaryOperator(add, sub, ...) - CmpInst(icmp eq, ...) - !range metadata `AAValueConstantRange` is not intended to extend to polyhedral range value analysis. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D71620
|
 | llvm/lib/Transforms/IPO/Attributor.cpp |
 | llvm/test/Transforms/Attributor/value-simplify.ll |
 | llvm/include/llvm/Transforms/IPO/Attributor.h |
 | llvm/test/Transforms/Attributor/IPConstantProp/return-constant.ll |
 | llvm/test/Transforms/Attributor/lvi-for-ashr.ll |
 | llvm/test/Transforms/Attributor/IPConstantProp/solve-after-each-resolving-undefs-for-function.ll |
 | llvm/test/Transforms/Attributor/lvi-after-jumpthreading.ll |
 | llvm/test/Transforms/Attributor/range.ll |
 | llvm/test/Transforms/Attributor/dereferenceable-1.ll |
Commit
47e3d3ec0c5607ae3bc6181537c0622080f3af27
by maskray[ELF][RISCV][test] Test absolute/PC-relative/branch relocations to undefined weak symbols
|
 | lld/test/ELF/riscv-undefined-weak.s |
Commit
d2bb8c16e711602481c8b33d0e2ccc9994eb6641
by maskray[MC][TargetMachine] Delete MCTargetOptions::MCPIECopyRelocations clang/lib/CodeGen/CodeGenModule performs the -mpie-copy-relocations check and sets dso_local on applicable global variables. We don't need to duplicate the work in TargetMachine shouldAssumeDSOLocal. Verified that -mpie-copy-relocations can still emit PC relative relocations for external variable accesses. clang -target x86_64 -fpie -mpie-copy-relocations -c => R_X86_64_PC32 clang -target aarch64 -fpie -mpie-copy-relocations -c => R_AARCH64_ADR_PREL_PG_HI21+R_AARCH64_LDST64_ABS_LO12_NC
|
 | llvm/include/llvm/MC/MCTargetOptions.h |
 | llvm/lib/MC/MCTargetOptions.cpp |
 | llvm/test/CodeGen/X86/global-access-pie-copyrelocs.ll |
 | llvm/include/llvm/MC/MCTargetOptionsCommandFlags.inc |
 | llvm/lib/Target/TargetMachine.cpp |
 | clang/lib/CodeGen/BackendUtil.cpp |
Commit
8af492ade1bc5367ae529e451b9c9cd9e3d55e53
by chen3.liuadd strict float for round operation Differential Revision: https://reviews.llvm.org/D72026
|
 | llvm/test/CodeGen/X86/vec-strict-512.ll |
 | llvm/test/CodeGen/X86/fp-strict-scalar-round.ll |
 | llvm/lib/Target/X86/X86ISelLowering.cpp |
 | llvm/lib/Target/X86/X86InstrAVX512.td |
 | llvm/lib/Target/X86/X86InstrSSE.td |
 | llvm/test/CodeGen/X86/vec-strict-256.ll |
 | llvm/lib/Target/X86/X86ISelLowering.h |
 | llvm/test/CodeGen/X86/vec-strict-round-128.ll |
 | llvm/lib/Target/X86/X86InstrFragmentsSIMD.td |
 | llvm/lib/Target/X86/X86ISelDAGToDAG.cpp |
Commit
773667b8c20d35c18334f8c7663df8ceacfdd2e5
by sylvestreclang-tidy doc: Remove severities as they don't make consensus Reviewers: jdoerfert, aaron.ballman Reviewed By: aaron.ballman Subscribers: whisperity, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D72049
|
 | clang-tools-extra/docs/clang-tidy/checks/list.rst |
Commit
f323ab919a70cf9b731c93f50172c6fd9d0a918f
by david.green[ARM] Add +mve feature to mve tests. NFC
|
 | llvm/test/CodeGen/Thumb2/LowOverheadLoops/dont-remove-loop-update.mir |
 | llvm/test/CodeGen/Thumb2/LowOverheadLoops/dont-remove-loop-update2.mir |
 | llvm/test/CodeGen/Thumb2/LowOverheadLoops/dont-remove-loop-update3.mir |
Commit
9b24dad6c06bba771b805ffd9bd047af25317e52
by Raphael Isemann[lldb][NFC] Make some checks more readable in Variable::PrivateAutoComplete
|
 | lldb/source/Symbol/Variable.cpp |
Commit
8dc7b982b4556c243e0502e6e230bdd53ddd65ff
by koraq[NFC] Fixes -Wrange-loop-analysis warnings This avoids new warnings due to D68912 adds -Wrange-loop-analysis to -Wall. Differential Revision: https://reviews.llvm.org/D71857
|
 | llvm/lib/CodeGen/InlineSpiller.cpp |
 | llvm/lib/Analysis/MemoryDependenceAnalysis.cpp |
 | clang/lib/CodeGen/CodeGenPGO.cpp |
 | clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp |
 | clang-tools-extra/clang-tidy/utils/ExceptionAnalyzer.cpp |
 | llvm/lib/Analysis/ScalarEvolution.cpp |
 | llvm/lib/MC/XCOFFObjectWriter.cpp |
 | clang-tools-extra/clang-doc/MDGenerator.cpp |
 | llvm/lib/ExecutionEngine/Orc/ExecutionUtils.cpp |
 | llvm/include/llvm/Analysis/LoopInfo.h |
 | llvm/lib/IR/TypeFinder.cpp |
 | llvm/lib/Support/TargetParser.cpp |
 | clang/lib/StaticAnalyzer/Checkers/MoveChecker.cpp |
 | llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp |
 | llvm/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp |
 | llvm/include/llvm/Analysis/LoopInfoImpl.h |
 | clang/lib/Tooling/ASTDiff/ASTDiff.cpp |
 | llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp |
 | llvm/lib/MCA/HardwareUnits/ResourceManager.cpp |
 | llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp |
 | lldb/source/Plugins/Platform/Android/AdbClient.cpp |
 | llvm/lib/MCA/Stages/InstructionTables.cpp |
 | llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp |
 | llvm/include/llvm/Support/GenericDomTree.h |
 | clang-tools-extra/clangd/index/MemIndex.cpp |
 | clang/tools/clang-refactor/TestSupport.cpp |
 | llvm/lib/Support/CommandLine.cpp |
 | llvm/lib/CodeGen/RegAllocFast.cpp |
 | clang/lib/CodeGen/ItaniumCXXABI.cpp |
 | llvm/lib/Analysis/DomTreeUpdater.cpp |
 | clang-tools-extra/clang-tidy/utils/DeclRefExprUtils.cpp |
 | llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp |
 | clang-tools-extra/clang-tidy/cppcoreguidelines/SlicingCheck.cpp |
 | llvm/lib/Linker/IRMover.cpp |
 | llvm/lib/DebugInfo/Symbolize/Symbolize.cpp |
 | lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp |
 | lldb/source/Target/StackFrameRecognizer.cpp |
Commit
f022a5a792fd39a4c33f49583d24d96c70177066
by koraqAdds fixit hints to the -Wrange-loop-analysis Differential Revision: https://reviews.llvm.org/D68913
|
 | clang/test/SemaCXX/warn-range-loop-analysis.cpp |
 | clang/include/clang/AST/Decl.h |
 | clang/lib/AST/Decl.cpp |
 | clang/lib/Sema/SemaStmt.cpp |
Commit
e5ab1e49f958cd8388bab617819ba78167e557d3
by koraqImprove Wrange-loop-analyses for rvalue reference The Wrange-loop-analyses warns if a copy is made. Suppress this warning when a temporary is bound to a rvalue reference. While fixing this issue also found a copy-paste error in test6, which is also fixed. Differential Revision: https://reviews.llvm.org/D71806
|
 | clang/lib/Sema/SemaStmt.cpp |
 | clang/test/SemaCXX/warn-range-loop-analysis.cpp |
Commit
d8117542ac57f6051674ca70ea14c0e0d7d9b046
by koraqAdds -Wrange-loop-analysis to -Wall This makes the range loop warnings part of -Wall. Fixes PR32823: Warn about accidental coping of data in range based for Differential Revision: https://reviews.llvm.org/D68912
|
 | clang/test/Misc/warning-wall.c |
 | clang/include/clang/Basic/DiagnosticGroups.td |
 | clang/test/SemaCXX/warn-range-loop-analysis.cpp |
Commit
c36763d8943d3d5f6ce5f49c103d28eb8d8e0ada
by craig.topper[X86] Call SimplifyMultipleUseDemandedBits from combineVSelectToBLENDV if the condition is used by something other than select conditions. We might be able to bypass some nodes on the condition path. Differential Revision: https://reviews.llvm.org/D71984
|
 | llvm/test/CodeGen/X86/vselect.ll |
 | llvm/lib/Target/X86/X86ISelLowering.cpp |
Commit
8756cd09639e9a74e8579cddcf177944dfd2b275
by nikita.ppv[InstCombine] Add tests for sub nuw of geps; NFC Tests for PR44419.
|
 | llvm/test/Transforms/InstCombine/sub-gep.ll |
Commit
7f48171d2f7ac8840b936cb202780fb90bc665be
by nikita.ppv[InstCombine] Regenerate test checks; NFC
|
 | llvm/test/Transforms/InstCombine/getelementptr.ll |
 | llvm/test/Transforms/InstCombine/pr26992.ll |
Commit
11552433ebfc7243c0b66367bdffaba52e74b354
by nikita.ppv[InstCombine] Add tests for PR44423 and PR44425; NFC
|
 | llvm/test/Transforms/InstCombine/getelementptr.ll |
Commit
f9f78cf6ac73d9148be9b626f418bf6770e512f6
by flo[MachineScheduler] improve reuse of 'releaseNode'method The 'SchedBoundary::releaseNode' is merely invoked for releasing the Top/Bottom root nodes. However, 'SchedBoundary::releasePending' uses its same logic to check if the Pending queue has any releasable SUnit. It is possible to slightly modify the body of the two, allowing re-use of the former ('releaseNode') in the latter. Patch by Lorenzo Casalino <lorenzo.casalino93@gmail.com> Reviewers: MatzeB, fhahn, atrick Reviewed By: fhahn Differential Revision: https://reviews.llvm.org/D65506
|
 | llvm/include/llvm/CodeGen/MachineScheduler.h |
 | llvm/lib/CodeGen/MachineScheduler.cpp |
Commit
6ba5f8c4acb494ecd99a472706075b2153ddccf3
by nikita.ppv[InstCombine] Fix incorrect inbounds on GEP of GEP (PR44425) This fixes https://bugs.llvm.org/show_bug.cgi?id=44425. We need to drop inbounds if one of the GEPs is not inbounds. This was already done when creating a new GEP, but not when modifying in place. Differential Revision: https://reviews.llvm.org/D72059
|
 | llvm/test/Transforms/InstCombine/getelementptr.ll |
 | llvm/lib/Transforms/InstCombine/InstructionCombining.cpp |
 | llvm/test/Transforms/InstCombine/pr26992.ll |
 | llvm/test/Transforms/InstCombine/phi-equal-incoming-pointers.ll |
Commit
8ca79dac559219358b0c6bb00bded30935c7aa6a
by koraqRevert "Adds -Wrange-loop-analysis to -Wall" The sanitizer-x86_64-linux buildbot failed to build lld with -Werror. This reverts commit d8117542ac57f6051674ca70ea14c0e0d7d9b046.
|
 | clang/test/Misc/warning-wall.c |
 | clang/test/SemaCXX/warn-range-loop-analysis.cpp |
 | clang/include/clang/Basic/DiagnosticGroups.td |
Commit
8dbe2f02c6d300e7222b5064b28c4d82a031647d
by Raphael Isemann[lldb][NFC] Simplify CompilerType constructors/destructors and fix unused variable warning CompilerType has no virtual functions and no statements in its constructors, so we can simplify this code. This also allows Clang to emit unused variable warnings for CompilerType, so I also removed one unused variable that otherwise causes -Werror builds to fail.
|
 | lldb/source/Symbol/CompilerType.cpp |
 | lldb/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.cpp |
 | lldb/include/lldb/Symbol/CompilerType.h |
Commit
8dd9a1361958f0cc53d100124e158cbe691c4628
by nikita.ppv[InstCombine] Preserve inbounds when merging with zero-index GEP (PR44423) This addresses https://bugs.llvm.org/show_bug.cgi?id=44423. If one of the GEPs is inbounds and the other is zero-index, we can also preserve inbounds. Differential Revision: https://reviews.llvm.org/D72060
|
 | llvm/lib/Transforms/InstCombine/InstructionCombining.cpp |
 | llvm/test/Transforms/InstCombine/getelementptr.ll |
Commit
fb170fd652bf2fcc4c2cd54aaf384591d8df266b
by Saleem Abdulrasooltests: XFAIL/UNSUPPORTED tests on Windows Now that we are building the python bindings on Windows once more, the extended testsuite is running. Mark a few failing tests and skip a few tests which hang. This should at least bring the bot back to green without reverting the Python changes which are an improvement for the build system and enable another ~35% of the test suite which was previously disabled.
|
 | lldb/packages/Python/lldbsuite/test/commands/settings/TestSettings.py |
 | lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py |
 | lldb/packages/Python/lldbsuite/test/source-manager/TestSourceManager.py |
 | lldb/packages/Python/lldbsuite/test/functionalities/dead-strip/Makefile |
 | lldb/packages/Python/lldbsuite/test/functionalities/dead-strip/TestDeadStrip.py |
Commit
2b223bd1c7d5bdd019aac4f540e8b60d339348a3
by alexandre.ganea[mlir] Fix warnings when compiling with Clang 9.0 Fixes: warning: comparison of integers of different signs: 'const unsigned int' and '(anonymous namespace)::OperationPrinter::(anonymous enum at F:\llvm-project\mlir\lib\IR\AsmPrinter.cpp:1444:3)' [-Wsign-compare]
|
 | mlir/lib/IR/AsmPrinter.cpp |
Commit
316f6003ef2b3361919bbc421b26357bf10129ee
by alexandre.ganea[mlir] Fix linking with LLD The issue is that /WHOLEARCHIVE is interpreted differently in LLD, which needs the same exact path as the .lib; whereas link.exe can take the library name, withoutout a path or extension, if that was already supplied on the cmd-line. I'll write a follow-up patch to fix the issue in LLD.
|
 | mlir/CMakeLists.txt |
Commit
6656e961c08393c3949412ef945ade0272b66fca
by alexandre.ganea[mlir] Fix compilation warnings Fixes: - (MSVC) F:\llvm-project\mlir\lib\Dialect\Linalg\Analysis\DependenceAnalysis.cpp(103): warning C4551: function call missing argument list - (Clang) tools\mlir\lib\Dialect\SPIRV\SPIRVCanonicalization.inc(232,1): warning: unused function 'populateWithGenerated' [-Wunused-function]
|
 | mlir/tools/mlir-tblgen/RewriterGen.cpp |
 | mlir/lib/Dialect/Linalg/Analysis/DependenceAnalysis.cpp |
Commit
92b68c1937cd065a2fc44d18c1099de7da19b356
by alexandre.ganea[polly][Support] Un-break polly tests Previously, the polly unit tests were stuck in a infinite loop. There was an edge case in StringRef::count() introduced by 9f6b13e5cce96066d7262d224c971d93c2724795, where an empty 'Str' would cause the function to never exit. Also fixed usage in polly.
|
 | llvm/lib/Support/StringRef.cpp |
 | polly/lib/Analysis/ScopDetection.cpp |
 | llvm/unittests/ADT/StringRefTest.cpp |
Commit
681b1be774964a804beabfb7c5e3bdab8f979e4a
by maskray[lld] Fix -Wrange-loop-analysis warnings One instance looks like a false positive: lld/ELF/Relocations.cpp:1622:14: note: use reference type 'const std::pair<ThunkSection *, uint32_t> &' (aka 'cons t pair<lld::elf::ThunkSection *, unsigned int> &') to prevent copying for (const std::pair<ThunkSection *, uint32_t> ts : isd->thunkSections) It is not changed in this commit.
|
 | lld/ELF/Driver.cpp |
 | lld/ELF/SyntheticSections.cpp |
 | lld/wasm/Driver.cpp |
 | lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp |
 | lld/COFF/InputFiles.cpp |
Commit
eeef50b1fee91dbe993187324003d2665ceae331
by maskray[mlir] Fix -Wrange-loo-analysis warnings for (const auto &x : llvm::zip(..., ...)) -> for (auto x : llvm::zip(..., ...)) The return type of zip() is a wrapper that wraps a tuple of references. > warning: loop variable 'p' is always a copy because the range of type 'detail::zippy<detail::zip_shortest, ArrayRef<long> &, ArrayRef<long> &>' does not return a reference [-Wrange-loop-analysis]
|
 | mlir/lib/Dialect/VectorOps/VectorOps.cpp |
 | mlir/tools/mlir-tblgen/StructsGen.cpp |
 | mlir/lib/Target/LLVMIR/ModuleTranslation.cpp |
 | mlir/lib/Conversion/LoopsToGPU/LoopsToGPU.cpp |
 | mlir/lib/Dialect/Traits.cpp |
 | mlir/lib/IR/TypeUtilities.cpp |
 | mlir/lib/Parser/Parser.cpp |
Commit
68a235d07f9e7049c7eb0c8091f37e385327ac28
by Saleem Abdulrasoolbuild: reduce CMake handling for zlib Rather than handling zlib handling manually, use `find_package` from CMake to find zlib properly. Use this to normalize the `LLVM_ENABLE_ZLIB`, `HAVE_ZLIB`, `HAVE_ZLIB_H`. Furthermore, require zlib if `LLVM_ENABLE_ZLIB` is set to `YES`, which requires the distributor to explicitly select whether zlib is enabled or not. This simplifies the CMake handling and usage in the rest of the tooling.
|
 | llvm/lib/Support/Compression.cpp |
 | llvm/cmake/config-ix.cmake |
 | llvm/include/llvm/Config/config.h.cmake |
 | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp |
 | llvm/test/lit.site.cfg.py.in |
 | llvm/unittests/Support/CompressionTest.cpp |
 | clang/test/CMakeLists.txt |
 | llvm/test/CMakeLists.txt |
 | llvm/lib/Support/CMakeLists.txt |
 | compiler-rt/test/lit.common.configured.in |
 | lld/test/CMakeLists.txt |
 | clang/test/lit.site.cfg.py.in |
 | lld/test/lit.site.cfg.py.in |
 | llvm/lib/Support/CRC.cpp |
 | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp |
Commit
e6c7ed6d2164a0659fd9f6ee44f1375d301e3cad
by Saleem Abdulrasoolbuild: make `LLVM_ENABLE_ZLIB` a tri-bool for users Treat the flag `LLVM_ENABLE_ZLIB` as a tri-bool, `FORCE_ON` being `ON`, and `ON` being an auto-detect. This is needed as many of the builders enable the flag without having zlib available.
|
 | llvm/CMakeLists.txt |
 | llvm/lib/Support/CMakeLists.txt |
 | llvm/cmake/config-ix.cmake |
Commit
2fcf7691dfb470e57a940e3a045695515fb44e13
by modocache[Coroutines] Rename "legacy" passes (NFC) A series of patches beginning with https://reviews.llvm.org/D71898 propose to add an implementation of the coroutine passes to the new pass manager. As part of these changes, the coroutine passes that implement the legacy pass manager interface are renamed, to `<PassName>Legacy`. This mirrors similar changes that have been made to many other passes in LLVM as they've been transitioned to support both old and new pass managers. This commit splits out the renaming portion of that patch and commits it in advance as an NFC (no functional change intended) commit. It renames: * `CoroEarly` => `CoroEarlyLegacy` * `CoroSplit` => `CoroSplitLegacy` * `CoroElide` => `CoroElideLegacy` * `CoroCleanup` => `CoroCleanupLegacy`
|
 | llvm/lib/Transforms/Coroutines/Coroutines.cpp |
 | llvm/lib/Transforms/Coroutines/CoroCleanup.cpp |
 | llvm/lib/Transforms/Coroutines/CoroElide.cpp |
 | llvm/include/llvm-c/Transforms/Coroutines.h |
 | llvm/lib/Transforms/Coroutines/CoroInternal.h |
 | llvm/lib/Transforms/Coroutines/CoroEarly.cpp |
 | llvm/lib/Transforms/Coroutines/CoroSplit.cpp |
 | llvm/include/llvm/Transforms/Coroutines.h |
Commit
dac98a22052eac66295ce443eed20e21bf37d28d
by craig.topper[RegisterClassInfo] Use SmallVector::assign instead of resize to make sure we erase previous contents from all entries of the vector. resize only writes to elements that get added. Any elements that already existed maintain their previous value. In this case we're trying to erase cached information so we should use assign which will write to every element. Found while trying to add new tests to an existing X86 test and noticed register allocation changing in other functions.
|
 | llvm/lib/CodeGen/RegisterClassInfo.cpp |
Commit
0b7b21dce46572c335c0d94b0f24464611389a36
by craig.topper[X86] Add test cases for regcall function that takes a long double as a parameter, but does not return a long double. I believe we are incorrectly doing some FP stack manipulations after the call.
|
 | llvm/test/CodeGen/X86/avx512-regcall-NoMask.ll |
Commit
9ce0ff2eefcd9e41fa59a6a6aadbb7fd1de87f34
by modocache[Coroutines] const-ify internal helpers (NFC) Several helpers internal to llvm/Transforms/Coroutines do not use 'const' for parameters that are not modified. Add const where possible.
|
 | llvm/lib/Transforms/Coroutines/CoroSplit.cpp |
 | llvm/lib/Transforms/Coroutines/Coroutines.cpp |
 | llvm/lib/Transforms/Coroutines/CoroInternal.h |
Commit
6ff6d32ebfec3150aa462cd31042b5719edb84da
by thakis[gn build] (manually) merge 68a235d07f9e70
|
 | llvm/utils/gn/secondary/compiler-rt/test/BUILD.gn |
 | llvm/utils/gn/secondary/clang/test/BUILD.gn |
 | llvm/utils/gn/secondary/llvm/test/BUILD.gn |
 | llvm/utils/gn/secondary/lld/test/BUILD.gn |
 | llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn |
Commit
45765c52bc3d70d83e1f95640b299b2b2c978129
by craig.topper[X86] Add x86_regcallcc calling convention to function declaration recently added in a test. The callsite had the calling convention, but not the function itself.
|
 | llvm/test/CodeGen/X86/avx512-regcall-NoMask.ll |
Commit
5d38b2610f5805525c2b6d15898d6ccf0cc12bdd
by antiagainst[mlir][spirv] Fix links in docs and update dialect docs Summary: This commit fixes links to code directories and uses doc links on mlir.llvm.org where possible. The docs in TableGen dialect definition is also updated to reflect recent developments. Reviewed By: mravishankar Differential Revision: https://reviews.llvm.org/D72051
|
 | mlir/docs/Dialects/SPIR-V.md |
 | mlir/include/mlir/Dialect/SPIRV/SPIRVBase.td |
Commit
0359e1d6be2e4449ece5063c6b2a08a5094798b4
by antiagainst[mlir][spirv] NFC: Move shader ABI attributes to a new file This allows us to include the definitions of these attributes in other files without pulling in all dependencies for lowering. Reviewed By: mravishankar Differential Revision: https://reviews.llvm.org/D72054
|
 | mlir/lib/Dialect/SPIRV/SPIRVLowering.cpp |
 | mlir/lib/Dialect/SPIRV/Transforms/LowerABIAttributesPass.cpp |
 | mlir/include/mlir/Dialect/SPIRV/TargetAndABI.h |
 | mlir/include/mlir/Dialect/SPIRV/TargetAndABI.td |
 | mlir/include/mlir/Dialect/SPIRV/SPIRVLowering.h |
 | mlir/lib/Dialect/SPIRV/TargetAndABI.cpp |
 | mlir/include/mlir/Dialect/SPIRV/CMakeLists.txt |
 | mlir/lib/Dialect/SPIRV/CMakeLists.txt |
 | mlir/include/mlir/Dialect/SPIRV/SPIRVLowering.td |