FailedChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. [X86] Move computeZeroableShuffleElements before (details)
  2. Fix uninitialized variable warning. NFCI. (details)
  3. NoFree argument attribute. (details)
  4. [Codegen] Both sides of '&&' are same; fixed (details)
  5. CustomTypeNode/SpecialTableSymbolNode - fix uninitialized variable (details)
  6. TargetMachine - fix uninitialized variable warning. NFCI. (details)
  7. Revert "NoFree argument attribute." (details)
  8. make -ftime-trace also trace time spent creating debug info (details)
  9. Revert "[Codegen] Both sides of '&&' are same; fixed" (details)
  10. Fix uninitialized variable warning. NFCI. (details)
  11. Fix uninitialized variable warnings. NFCI. (details)
  12. DIEAbbrev - fix uninitialized variable warning. NFCI. (details)
  13. X86AsmPrinter - fix uninitialized variable warnings. NFCI. (details)
  14. llvm.coverage.FunctionRecord - fix uninitialized variable warning. NFCI. (details)
  15. FastISel - fix uninitialized variable warnings in constructor. NFCI. (details)
  16. NoFree argument attribute. (details)
  17. X86Operand::print - fix SymName shadow variable warning. NFCI. (details)
  18. X86_MC::createX86MCSubtargetInfo - X86_MC::ParseX86Triple never returns (details)
  19. build: avoid custom handling for C++ standard (details)
  20. [LegacyPassManager] Fixed "null check after derefencing" warning (details)
  21. GSYMTest::TestLineTable - check all LT1+LT2 comparisons. (details)
  22. ARMAttributeParser - fix shadow variable name warnings from (details)
  23. Fix -Wreorder warnings. NFCI. (details)
  24. [Attributor][NFCI] Distinguish optional and required dependences (details)
  25. [Attributor][NFCI] Do not track unnecessary dependences (details)
  26. MatchTableRecord::emit - fix boolean operator precedence warnings from (details)
  27. isImmPCRel/isImmSigned - both functions should return bool not unsigned. (details)
  28. [LV] Generalize conditions for sinking instrs for first order (details)
  29. isConditionalBranch/isUnconditionalBranch - use boolean operators. NFCI. (details)
  30. A15SDOptimizer::getPrefSPRLane - fix null dereference warning. NFCI (details)
  31. [mips] Split long lines in the code. NFC (details)
  32. [mips] Remove trailing spaces. NFC (details)
  33. CodeGen/DIE.h: prefer the default member initializer to the member (details)
  34. TargetParserTest - testARMArch - stop bitwise operators on boolean (details)
  35. Stop static analyzer warnings about using bitwise operators on booleans. (details)
  36. [CodeGenCXX][test] Use -fno-experimental-new-pass-manager for (details)
  37. [CodeGen] [ExpandReduction] Fix the bug for ExpandReduction() when (details)
Commit 254b8461ac841a6a32c2c03711d0a4b1681029cb by llvm-dev
[X86] Move computeZeroableShuffleElements before
getTargetShuffleAndZeroables. NFCI.
Prep work toward merging some of the functionality.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 97725707f488d3f00f94d4c4f2d9e193c302b23c by llvm-dev
Fix uninitialized variable warning. NFCI.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Commit c12efa2ed0547f7f9f8fba0ad7a76a4cb08bf53a by sstipanovic
NoFree argument attribute.
Summary: Deducing nofree atrribute for function arguments.
Reviewers: jdoerfert
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67886
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/FunctionAttrs/norecurse.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/readattrs.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/internal-noalias.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/liveness.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nocapture.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/misc.ll
The file was modifiedllvm/lib/IR/Verifier.cpp
The file was modifiedllvm/test/Transforms/FunctionAttrs/arg_returned.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nonnull.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/willreturn.ll
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/test/Transforms/FunctionAttrs/heap_to_stack.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/noalias_returned.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nofree-attributor.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nosync.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/value-simplify.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/read_write_returned_arguments_scc.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/arg_nocapture.ll
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/test/Transforms/FunctionAttrs/align.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/dereferenceable.ll
Commit edb42dccfafb2c0d25d19175c49d016a7c2e0b13 by Dávid Bolvanský
[Codegen] Both sides of '&&' are same; fixed
Summary: Found by PVS Studio
Not familiar with this code; no testcase.
Reviewers: craig.topper, RKSimon
Reviewed By: RKSimon
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69741
The file was modifiedllvm/utils/TableGen/CodeGenDAGPatterns.cpp
Commit 575655f37458efc78cac9b1df24ae2f2afe59a15 by llvm-dev
CustomTypeNode/SpecialTableSymbolNode - fix uninitialized variable
warnings. NFCI.
The file was modifiedllvm/include/llvm/Demangle/MicrosoftDemangleNodes.h
Commit 579a56bec317e337b575a3d41bba84b7530eab61 by llvm-dev
TargetMachine - fix uninitialized variable warning. NFCI.
TargetPassConfig::addCoreISelPasses() always initializes O0WantsFastISel
but it appeases static analyzers that complain that O0WantsFastISel
isn't initialized in the constructor.
The file was modifiedllvm/lib/Target/TargetMachine.cpp
Commit 5fb17829184045b0451624f572da692f5a8f629b by sstipanovic
Revert "NoFree argument attribute."
This reverts commit c12efa2ed0547f7f9f8fba0ad7a76a4cb08bf53a.
The file was modifiedllvm/test/Transforms/FunctionAttrs/norecurse.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/readattrs.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/FunctionAttrs/arg_returned.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/dereferenceable.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/heap_to_stack.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nosync.ll
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/test/Transforms/FunctionAttrs/nofree-attributor.ll
The file was modifiedllvm/lib/IR/Verifier.cpp
The file was modifiedllvm/test/Transforms/FunctionAttrs/arg_nocapture.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/internal-noalias.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/read_write_returned_arguments_scc.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/willreturn.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/liveness.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nonnull.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/misc.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/noalias_returned.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/align.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nocapture.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/value-simplify.ll
The file was modifiedllvm/docs/LangRef.rst
Commit 4f2104c5adbcfe23c1f5865fb45783938645edfd by l.lunak
make -ftime-trace also trace time spent creating debug info
Differential Revision: https://reviews.llvm.org/D69750
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
Commit fe1a1d5aaecf26498b5b9d06097e62cda39876ab by Dávid Bolvanský
Revert "[Codegen] Both sides of '&&' are same; fixed"
This reverts commit edb42dccfafb2c0d25d19175c49d016a7c2e0b13. Buildbot
timeouts.
The file was modifiedllvm/utils/TableGen/CodeGenDAGPatterns.cpp
Commit 08e593895d51653bcd8659a14fafed381659f406 by llvm-dev
Fix uninitialized variable warning. NFCI.
The file was modifiedllvm/tools/llvm-ar/llvm-ar.cpp
Commit d0f3c822160e36e10588bc86dabde6ab8d63cf10 by llvm-dev
Fix uninitialized variable warnings. NFCI.
The file was modifiedclang/utils/TableGen/ClangDiagnosticsEmitter.cpp
Commit 09189677394f40f00f7ff538c6e5ff54e65f5fc7 by llvm-dev
DIEAbbrev - fix uninitialized variable warning. NFCI.
The file was modifiedllvm/include/llvm/CodeGen/DIE.h
Commit 79818f8c706a0a02f0c764e9ff71bc698f83256d by llvm-dev
X86AsmPrinter - fix uninitialized variable warnings. NFCI.
The file was modifiedllvm/lib/Target/X86/X86AsmPrinter.h
Commit 72670a79752f0099bf7f4b7616daf1bb6a5127e1 by llvm-dev
llvm.coverage.FunctionRecord - fix uninitialized variable warning. NFCI.
The file was modifiedllvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
Commit 095d2a4cedca7dbd7e6c1f1620790330e5649cd5 by llvm-dev
FastISel - fix uninitialized variable warnings in constructor. NFCI.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/FastISel.cpp
Commit f35740d6e954b4a0bc319be74ca35bdf8c10a780 by sstipanovic
NoFree argument attribute.
Summary: Deducing nofree atrribute for function arguments.
Reviewers: jdoerfert
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67886
The file was modifiedllvm/lib/IR/Verifier.cpp
The file was modifiedllvm/test/Transforms/InferFunctionAttrs/dereferenceable.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/value-simplify.ll
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/FunctionAttrs/dereferenceable.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/readattrs.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/align.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/noalias_returned.ll
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/test/Transforms/FunctionAttrs/liveness.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/willreturn.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/heap_to_stack.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nocapture.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/read_write_returned_arguments_scc.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/arg_returned.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nosync.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nonnull.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/arg_nocapture.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nofree-attributor.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/norecurse.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/internal-noalias.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/misc.ll
Commit 2cbb9653d876568fae91f32ae8e19ec4a7e7f274 by llvm-dev
X86Operand::print - fix SymName shadow variable warning. NFCI.
The file was modifiedllvm/lib/Target/X86/AsmParser/X86Operand.h
Commit f722071a9ed9443be9f4847221341fc1d2fb229e by llvm-dev
X86_MC::createX86MCSubtargetInfo - X86_MC::ParseX86Triple never returns
an empty string. NFCI.
PVS Studio was complaining that the expression '!ArchFS.empty()' is
always true.
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
Commit 5ce2c6d2db88019e0b8bc00c77e4155b4eaa15d7 by Saleem Abdulrasool
build: avoid custom handling for C++ standard
Use the builtin CMake support for specifying the proper flags for the
targets to build at a certain C++ standard.  This avoids unnecessary
checks in CMake, speeding up the configure phase as well as simplifies
the logic overall.
The file was modifiedlibcxx/CMakeLists.txt
Commit 5ccad89f50fa6d6ba952e35d71002a7e1c3d37b4 by Dávid Bolvanský
[LegacyPassManager] Fixed "null check after derefencing" warning
The 'RequiredPass' pointer was utilized before it was verified against
nullptr. Check lines: 1626, 1629.
The file was modifiedllvm/lib/IR/LegacyPassManager.cpp
Commit 004eb2c8627d484cadb2a7268fdbfd35cddc986c by llvm-dev
GSYMTest::TestLineTable - check all LT1+LT2 comparisons.
PVS Studio was warning about "LT2 < LT2" but really we should be testing
all permutations of LT1 and LT2.
The file was modifiedllvm/unittests/DebugInfo/GSYM/GSYMTest.cpp
Commit c0e83fa5ac5093b31612d9134cb9d1eee0d813c2 by llvm-dev
ARMAttributeParser - fix shadow variable name warnings from
decodeULEB128 calls. NFCI.
Consistently rename the Length attribute to DecodeLength in
decodeULEB128 calls.
The file was modifiedllvm/lib/Support/ARMAttributeParser.cpp
Commit 99094b9f6eff73373df2d86491c7c2189654cd8e by llvm-dev
Fix -Wreorder warnings. NFCI.
The file was modifiedllvm/include/llvm/CodeGen/DIE.h
Commit 680f6380278aa5ce871d912072272b393e53b69d by johannes
[Attributor][NFCI] Distinguish optional and required dependences
Dependences between two abstract attributes SRC and TRG come naturally
in two flavors:
Either (1) "some" information of SRC is *required* for TRG to derive
information, or (2) SRC is just an *optional* way for TRG to derive
information.
While it is not strictly necessary to distinguish these types
explicitly, it can help us to converge faster, in terms of iterations,
and also cut down the number of `AbstractAttribute::update` calls.
As far as I can tell, we only use optional dependences for liveness so
far but that might change in the future. With this change the Attributor
can be informed about the "dependence class" and it will perform
appropriate actions when an Attribute is set to an invalid state, thus
one that cannot be used by others to derive information from.
The file was modifiedllvm/test/Transforms/FunctionAttrs/liveness.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nonnull.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/read_write_returned_arguments_scc.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/arg_returned.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nofree-attributor.ll
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/test/Transforms/FunctionAttrs/align.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/internal-noalias.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit 77a6b358b51f363d0f1626579720e654ca5aae9a by johannes
[Attributor][NFCI] Do not track unnecessary dependences
If we do not look at assumed information there is no need to track
dependences.
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit 43fe9afa4fe4474d691ff84ea893bc671e8254c2 by llvm-dev
MatchTableRecord::emit - fix boolean operator precedence warnings from
PVS Studio. NFCI.
Make it clear that (Flags & MTRF_????) should resolve to a boolean.
The file was modifiedllvm/utils/TableGen/GlobalISelEmitter.cpp
Commit 505c4dabe2fe8fc693c740de4611f58baa11b712 by llvm-dev
isImmPCRel/isImmSigned - both functions should return bool not unsigned.
NFCI.
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h
Commit f0c2a5af762e7650a007d9ab7161e754d866b60c by florian_hahn
[LV] Generalize conditions for sinking instrs for first order
recurrences.
If the recurrence PHI node has a single user, we can sink any
instruction without side effects, given that all users are dominated by
the instruction computing the incoming value of the next iteration
('Previous'). We can sink instructions that may cause traps, because
that only causes the trap to occur later, but not on any new paths.
With the relaxed check, we also have to make sure that we do not have a
direct cycle (meaning PHI user == 'Previous), which indicates a
reduction relation, which potentially gets missed by
ReductionDescriptor.
As follow-ups, we can also sink stores, iff they do not alias with other
instructions we move them across and we could also support sinking
chains of instructions and multiple users of the PHI.
Fixes PR43398.
Reviewers: hsaito, dcaballe, Ayal, rengolin
Reviewed By: Ayal
Differential Revision: https://reviews.llvm.org/D69228
The file was modifiedllvm/lib/Analysis/IVDescriptors.cpp
The file was addedllvm/test/Transforms/LoopVectorize/first-order-recurrence-complex.ll
Commit 9a9c07d71166576dfbac1fbf8b8568305c77400c by llvm-dev
isConditionalBranch/isUnconditionalBranch - use boolean operators. NFCI.
Stop static analyzer warnings about using bitwise operators on booleans.
The file was modifiedllvm/include/llvm/CodeGen/MachineInstr.h
The file was modifiedllvm/include/llvm/MC/MCInstrDesc.h
Commit d397e29273ac5b05c2b6e382420310489e0f9d55 by llvm-dev
A15SDOptimizer::getPrefSPRLane - fix null dereference warning. NFCI
The file was modifiedllvm/lib/Target/ARM/A15SDOptimizer.cpp
Commit 0bd82a96cc853529eab3dfebf3bb640221b6025b by simon
[mips] Split long lines in the code. NFC
The file was modifiedllvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
The file was modifiedllvm/lib/Target/Mips/MipsInstrInfo.cpp
The file was modifiedllvm/lib/Target/Mips/MicroMips32r6InstrInfo.td
The file was modifiedllvm/lib/Target/Mips/Mips32r6InstrInfo.td
The file was modifiedllvm/lib/Target/Mips/MipsCallingConv.td
The file was modifiedllvm/lib/Target/Mips/MipsInstructionSelector.cpp
The file was modifiedllvm/lib/Target/Mips/MipsExpandPseudo.cpp
The file was modifiedllvm/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp
The file was modifiedllvm/lib/Target/Mips/MipsConstantIslandPass.cpp
The file was modifiedllvm/lib/Target/Mips/MipsSEISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/Mips/MCTargetDesc/MipsMCExpr.cpp
The file was modifiedllvm/lib/Target/Mips/MicroMipsInstrFPU.td
The file was modifiedllvm/lib/Target/Mips/MipsAsmPrinter.cpp
The file was modifiedllvm/lib/Target/Mips/MipsCallLowering.cpp
The file was modifiedllvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp
The file was modifiedllvm/lib/Target/Mips/MipsDelaySlotFiller.cpp
The file was modifiedllvm/lib/Target/Mips/MipsInstrFPU.td
The file was modifiedllvm/lib/Target/Mips/Mips16InstrInfo.cpp
The file was modifiedllvm/lib/Target/Mips/Mips64InstrInfo.td
The file was modifiedllvm/lib/Target/Mips/Mips64r6InstrInfo.td
The file was modifiedllvm/lib/Target/Mips/MipsCondMov.td
The file was modifiedllvm/lib/Target/Mips/MipsInstrInfo.td
The file was modifiedllvm/lib/Target/Mips/MipsISelLowering.cpp
The file was modifiedllvm/lib/Target/Mips/Mips.td
The file was modifiedllvm/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp
The file was modifiedllvm/lib/Target/Mips/MicroMipsInstrInfo.td
The file was modifiedllvm/lib/Target/Mips/MicroMips32r6InstrFormats.td
The file was modifiedllvm/lib/Target/Mips/MipsDSPInstrInfo.td
Commit aa67e51195da57ef3305fe0df4c0241b501fccbb by simon
[mips] Remove trailing spaces. NFC
The file was modifiedllvm/lib/Target/Mips/Mips16InstrInfo.td
Commit 46abbe77d6bb0f372628c45f2cbf9ab1b9e8fff7 by maskray
CodeGen/DIE.h: prefer the default member initializer to the member
initializers in the constructor. NFC
The file was modifiedllvm/include/llvm/CodeGen/DIE.h
Commit d801f79419231481cda2980da4056714c788e7a8 by llvm-dev
TargetParserTest - testARMArch - stop bitwise operators on boolean
warnings. NFCI.
Ensure the test still runs all target checks but stop the static
analyzer warnings.
The file was modifiedllvm/unittests/Support/TargetParserTest.cpp
Commit 2b2adef03d004e3fb61dc886c735a3b79ef879a7 by llvm-dev
Stop static analyzer warnings about using bitwise operators on booleans.
NFCI.
Call each of the rebase_if() calls separately.
The file was modifiedllvm/utils/TableGen/CodeGenDAGPatterns.cpp
Commit e0b3a8c991569f8c05a4edb551b8cc2942e37ea1 by maskray
[CodeGenCXX][test] Use -fno-experimental-new-pass-manager for
CodeGenCXX/union-tbaa2.cpp after
D68593/llvmorg-10-init-8907-gcecc0d27ad5
It fails with -DENABLE_EXPERIMENTAL_NEW_PASS_MANAGER=0 builds.
Temporarily use -fno-experimental-new-pass-manager while we are
investigating the root cause.
The file was modifiedclang/test/CodeGenCXX/union-tbaa2.cpp
Commit 4e9778e346f27b09724f39f92b34dd7336c2147a by shkzhang
[CodeGen] [ExpandReduction] Fix the bug for ExpandReduction() when
vector size isn't power of 2
Summary: For below test case, we will get assert error except for
AArch64 and ARM:
declare i8 @llvm.experimental.vector.reduce.and.i8.v3i8(<3 x i8> %a)
define i8 @test_v3i8(<3 x i8> %a) nounwind {
%b = call i8 @llvm.experimental.vector.reduce.and.i8.v3i8(<3 x i8> %a)
ret i8 %b
} In the function getShuffleReduction (), we can see it needs the vector
size must be power of 2.
This patch is fix below error when the number of element is not power of
2 for those llvm.experimental.vector.reduce.* function.
Reviewed By: jsji
Differential Revision: https://reviews.llvm.org/D68625
The file was modifiedllvm/lib/CodeGen/ExpandReductions.cpp
The file was modifiedllvm/test/CodeGen/Generic/expand-experimental-reductions.ll