Displaying 1 50 of 249,605 commits (0.017s)

LLVM — lldb/trunk/source/Host/common FileSpec.cpp

Fix windows unit tests

The unit test I added in the previous commit discovered a bug in
PrependPathComponent on windows -- it was calling SetFile with the host native
path syntax, whereas it should be explicitly specifying the path syntax (as
AppendPathComponent does). This fixes it.

LLVM — lld/trunk/COFF MapFile.cpp

[COFF] - Fixed format in writeOutSecLine()

The same as https://reviews.llvm.org/rL292102,
fixes next testcases under msvs2015/win32:

25>  Failing Tests (3):
25>      lld :: COFF/lldmap.test
25>      lld :: COFF/weak-external.test
25>      lld :: COFF/weak-external3.test
Delta File
+2 -1 lld/trunk/COFF/MapFile.cpp
+2 -1 1 file

LLVM — lld/trunk/ELF MapFile.cpp

[ELF] - Fix format specifiers in writeOutSecLine()

I had a error in map-file.s testcase under MSVS2015/win32:

map-file.s:30:16: error: expected string not found in input
// CHECK-NEXT: 0000000000200158 0000000000000030 8 .eh_frame

<stdin>:2:1: note: scanning from here
0000000000200158 10 30 .eh_frame

Format string '%0*x' requires an argument of type 'unsigned int',
but argument has type 'uint64_t'. Proper format is '%0*llx' then.

This fixes testcase failture for me.
Delta File
+1 -1 lld/trunk/ELF/MapFile.cpp
+1 -1 1 file

LLVM — llvm/trunk/lib/Transforms/InstCombine InstCombineCalls.cpp InstCombineSimplifyDemanded.cpp, llvm/trunk/test/Transforms/InstCombine x86-pshufb.ll

[InstCombine][SSE] Add DemandedElts support for PSHUFB instructions

Simplify a pshufb shuffle mask based on the elements of the mask that are actually 

Differential Revision: https://reviews.llvm.org/D28745

LLVM — lldb/trunk/source/Host/common FileSpec.cpp, lldb/trunk/unittests/Host FileSpecTest.cpp

FileSpec: Fix PrependPathComponent("/")

PrependPathComponent was unconditionally inserting path separators between the
path components. This is not correct if the prepended path is "/", which caused
problems down the line. Fix the function to use the same algorithm as
AppendPathComponent and add a test. This fixes one part of llvm.org/pr31611.

Reviewers: clayborg, zturner

Subscribers: lldb-commits

Differential Revision: https://reviews.llvm.org/D28677

LLVM — cfe/trunk/lib/Format UnwrappedLineParser.cpp, cfe/trunk/unittests/Format FormatTestJS.cpp

clang-format: [JS] revert over-eager ASI check.

Summary: Change r291428 introduced ASI detection after closing curly braces. That would 
generally be correct, however this breaks indentation for structural statements. What 
happens is that CompoundStatementIndenter increases indentation for the current line, then 
after reading ASI creates a new line (with the increased line level), and only after the 
structural parser sees e.g. the if/then/else branch closed, line level is reduced. That 
leads to the new line started by ASI having a level too high.

Reviewers: djasper

Subscribers: sammccall, cfe-commits, klimek

Differential Revision: https://reviews.llvm.org/D28763

LLVM — libcxx/trunk/include variant, libcxx/trunk/test/std/utilities/variant/variant.visit visit.pass.cpp

Added a workaround for a `-fdelayed-template-parsing` bug.

There seems to be an additional bug in `-fdelayed-template-parsing`
similar to

This is a workaround for it for <variant> to compile with `clang-cl` on Windows.

Reviewers: EricWF

Differential Revision: https://reviews.llvm.org/D28734

LLVM — llvm/trunk/lib/Target/X86/Disassembler X86Disassembler.cpp X86DisassemblerDecoderCommon.h, llvm/trunk/utils/TableGen X86RecognizableInstr.cpp

[X86] Merge the disassemblers handling of the different TYPE_RELs by getting the size 
information from the ENCODING field. NFCI

LLVM — llvm/trunk/lib/Target/X86/Disassembler X86DisassemblerDecoderCommon.h X86Disassembler.cpp, llvm/trunk/utils/TableGen X86RecognizableInstr.cpp

[X86] Reduce the number of operand 'types' the disassembler needs to deal with. NFCI

We were frequently checking for a list of types and the different types
conveyed no real information. So lump them together explicitly.

LLVM — llvm/trunk/lib/Target/X86/Disassembler X86Disassembler.cpp X86DisassemblerDecoder.cpp, llvm/trunk/test/MC/Disassembler/X86 avx-512.txt

[AVX-512] Teach the disassembler about all of the EVEX gather and scatter instructions.

LLVM — llvm/trunk/lib/Target/X86/Disassembler X86DisassemblerDecoderCommon.h X86DisassemblerDecoder.cpp, llvm/trunk/utils/TableGen X86RecognizableInstr.cpp

[AVX-512] Begin giving the disassembler a way to recognize that VSIB is a different 
encoding than regular addressing modes.

This part first teaches it not to check error if EVEX.V2 is used by a VSIB instruction.

LLVM — llvm/trunk/include/llvm/Analysis LoopInfo.h

Fix typos. NFC

LLVM — libcxx/trunk/include array, libcxx/trunk/test/std/containers/sequences/array front_back.pass.cpp at.pass.cpp

Implement the missing constexpr stuff in <array>. Fixes PR#31645.

LLVM — lld/trunk/ELF MapFile.cpp

Use error() instead of fatal() to handle file open error.
Delta File
+3 -2 lld/trunk/ELF/MapFile.cpp
+3 -2 1 file

LLVM — llvm/trunk/test/MC/X86 avx512vl-encoding.s avx512-encodings.s

[AVX-512] Add more gather/scatter encoding test cases.

LLVM — llvm/trunk/lib/Target/X86 X86InstrAVX512.td X86InstrInfo.td, llvm/trunk/lib/Target/X86/AsmParser X86Operand.h

[AVX-512] Correct memory operand size for VPGATHERQPS and VPGATHERQD
with ZMM index. Similar for SCATTER and the prefetch gather and scatter

Fixes PR31618.

LLVM — llvm/trunk/lib/Target/X86 X86InstrInfo.td

[AVX-512] Fix register class in one of the gather/scatter memory operands so that all 32 
bit registers can be allowed.

LLVM — libcxx/trunk CMakeLists.txt

Reland "[CMake][libcxx] Check that we have libcxxabi before using it"

This relands commit r291726.
Delta File
+2 -1 libcxx/trunk/CMakeLists.txt
+2 -1 1 file

LLVM — libcxx/trunk CMakeLists.txt, libcxx/trunk/lib CMakeLists.txt

Reland "[CMake][libcxx] Do not rely on the existence of c++abi or unwind targets"

This relands commit r291727.

LLVM — libcxx/trunk CMakeLists.txt, libcxx/trunk/cmake/Modules HandleOutOfTreeLLVM.cmake

Reland "[CMake][libcxx] Move Python check to main CMake file"

This relands commit r291728.

LLVM — llvm/trunk/test/Transforms/InstCombine apint-shift.ll shift.ll

[InstCombine] add tests to show missed vector folds; NFC

Also, add comments and remove bogus comment.

LLVM — llvm/trunk/unittests/Analysis LoopInfoTest.cpp

Empty line. NFC.

LLVM — cfe/branches/release_40/docs ReleaseNotes.rst

Mention Devirtualization and ThinLTO in ReleaseNotes

This might require some small fixits after generating



LLVM — llvm/branches/release_40/docs ReleaseNotes.rst

Mention ThinLTO in ReleaseNotes


LLVM — llvm/trunk/lib/Analysis LoopInfo.cpp, llvm/trunk/unittests/Analysis LoopInfoTest.cpp CMakeLists.txt

Use getLoopLatch in place of isLoopSimplifyForm

Use getLoopLatch in place of isLoopSimplifyForm. we do not need
to know whether the loop has a preheader nor dedicated exits.

Reviewers: hfinkel, sanjoy, atrick, mkuper

Subscribers: mzolotukhin, llvm-commits

Differential Revision: https://reviews.llvm.org/D28724

LLVM — llvm/trunk/lib/Target/X86 X86TargetTransformInfo.cpp, llvm/trunk/test/Analysis/CostModel/X86 vshift-ashr-cost.ll vshift-lshr-cost.ll

[CostModel][X86] Fix AVX512BW vector shift costs for vXi16 types

We already have patterns in place to support 128/256-bit shifts without AVX512VL

LLVM — llvm/trunk/test/Analysis/CostModel/X86 vshift-ashr-cost.ll vshift-lshr-cost.ll

[CostModel][X86] Drop separate AVX512VL checks - they match existing AVX512 costs

Keep the tests though.

LLVM — llvm/trunk/test/Analysis/CostModel/X86 vshift-ashr-cost.ll vshift-lshr-cost.ll

[CostModel][X86] Update vector shift tests to correctly check by non-constant uniform 

Use shuffle( scslar_to_vector, zeroinitializer) pattern instead of shuffle( vec, 

LLVM — llvm/trunk/unittests/Analysis UnrollAnalyzer.cpp

Delete a dead argument. NFC

LLVM — llvm/trunk/lib/Transforms/InstCombine InstCombineShifts.cpp

[InstCombine] fix formatting; NFC

LLVM — llvm/trunk/test/Transforms/InstCombine x86-pshufb.ll

[InstCombine][SSE] Tests showing missed opportunities to pass demanded elts through a 
pshufb shuffle mask

LLVM — llvm/trunk/test/CodeGen/NVPTX convert-fp.ll

[NVPTX] Add fptosi tests to convert-fp.ll.

These seem to have been left off by accident.

LLVM — llvm/trunk/test/CodeGen/NVPTX math-intrins.ll

[NVPTX] Add codegen tests for llvm.fma.

LLVM — llvm/trunk/test/CodeGen/NVPTX intrinsics.ll

[NVPTX] Modernize intrinics.ll test.

LLVM — llvm/trunk/docs NVPTXUsage.rst, llvm/trunk/lib/Target/NVPTX NVVMReflect.cpp NVPTX.h

[NVPTX] Let there be One True Way to set NVVMReflect params.

Previously there were three ways to inform the NVVMReflect pass whether
you wanted to flush denormals to zero:

  * An LLVM command-line option
  * Parameters to the NVVMReflect constructor
  * Metadata on the module itself.

This change removes the first two, leaving only the third.

The motivation for this change, aside from simplifying things, is that
we want LLVM to be aware of whether it's operating in FTZ mode, so other
passes can use this information.  Ideally we'd have a target-generic
piece of metadata on the module.  This change moves us in that

Reviewers: tra

Subscribers: jholewinski, llvm-commits

Differential Revision: https://reviews.llvm.org/D28700

LLVM — llvm/trunk/lib/Target/X86 X86ISelLowering.cpp, llvm/trunk/test/CodeGen/X86 vector-shuffle-256-v32.ll vector-shuffle-avx512.ll

Fix blend mask by switch the side of the operand since Blend node uses opposite mask then 
Select NODE.

LLVM — llvm/trunk/tools/dsymutil DwarfLinker.cpp

Fix un-initialized error introduced by r291959.

This is uncovered when running tools/dsymutil/X86/empty_range.s.test
with ASAN. Haven't investigate yet, whether that means there is an ODR
violation in that test.

LLVM — llvm/trunk/lib/Transforms/InstCombine InstCombineShifts.cpp, llvm/trunk/test/Transforms/InstCombine vector-casts.ll icmp.ll

[InstCombine] use m_APInt to allow ashr folds for vectors with splat constants

LLVM — llvm/trunk/test/Transforms/InstCombine signext.ll

[InstCombine] add explanatory comments to tests; NFC

LLVM — llvm/trunk/include/llvm Pass.h PassAnalysisSupport.h, llvm/trunk/lib/Analysis LoopInfo.cpp LoopPass.cpp

Reverted: Track validity of pass results

Commits r291882 and related r291887.

LLVM — llvm/trunk/include/llvm/CodeGen/GlobalISel IRTranslator.h, llvm/trunk/lib/CodeGen/GlobalISel IRTranslator.cpp

Revert "[GlobalISel] track predecessor mapping during switch lowering."

This reverts commit r291973.

The test fails in a Release build with LLVM_BUILD_GLOBAL_ISEL enabled.
AFAICT, llc segfaults. I'll add a few more details to the original

LLVM — llvm/trunk/test/Analysis IVUsers, llvm/trunk/test/Analysis/IVUsers quadradic-exit-value.ll

[PM] Clean up the testing for IVUsers, especially with the new PM.

First, I've moved a test of IVUsers from the LSR tree to a dedicated
IVUsers test directory. I've also simplified its RUN line now that the
new pass manager's loop PM is providing analyses on their own.

No functionality changed, but it makes subsequent changes cleaner.

LLVM — llvm/trunk/lib/Transforms/Scalar NewGVN.cpp

NewGVN: Change a bunch of densemap find_or_creates to lookups, since they should not be 
creating new entries

LLVM — llvm/trunk/include/llvm/Analysis OptimizationDiagnosticInfo.h, llvm/trunk/lib/Analysis OptimizationDiagnosticInfo.cpp

[PM] Teach the optimization remarks emitter to handle invalidation

This pass sometimes has a pointer to BlockFrequencyInfo so it needs
custom invalidation logic. It is also otherwise immutable so we can
reduce the number of invalidations that happen substantially.

LLVM — llvm/trunk/include/llvm/IR InstrTypes.h

These two functions should be const. We often could detect it but this just makes it 
always true.

LLVM — llvm/trunk/utils update_test_checks.py

Update update_test_checks so that . is a valid identifier character in addition to _

LLVM — llvm/trunk/include/llvm/ExecutionEngine/Orc OrcError.h RPCUtils.h, llvm/trunk/lib/ExecutionEngine/Orc OrcError.cpp

[Orc][RPC] Add an RPCFunctionNotSupported error type and return it from
negotiateFunction where appropriate.

Replacing the old ECError with a custom type allows us to attach the name of
the function that could not be negotiated, enabling better diagnostics for
negotiation failures.

LLVM — llvm/trunk/include/llvm/Analysis BlockFrequencyInfo.h DominanceFrontier.h, llvm/trunk/include/llvm/IR PassManager.h Dominators.h

[PM] Introduce an analysis set used to preserve all analyses over
a function's CFG when that CFG is unchanged.

This allows transformation passes to simply claim they preserve the CFG
and analysis passes to check for the CFG being preserved to remove the
fanout of all analyses being listed in all passes.

I've gone through and removed or cleaned up as many of the comments
reminding us to do this as I could.

Differential Revision: https://reviews.llvm.org/D28627

LLVM — llvm/trunk/lib/Target/X86 X86InstrAVX512.td

[AVX-512] Remove unnecessary duplicate broadcast patterns. NFC

LLVM — cfe/trunk/lib/Parse ParseExpr.cpp, cfe/trunk/test/CodeCompletion member-access.cpp

[code-completion] Fix crash when trying to do postfix completion of instance member inside 
a static function.