Displaying 1 50 of 191,712 commits (0.079s)

LLVM — cfe/trunk/lib/Sema SemaCodeComplete.cpp

Sema: Formatting. No behavior change.

LLVM — llvm/trunk/docs CompilerWriterInfo.rst

[docs] Add link to the MIPS 64-bit ELF object file specification

LLVM — llvm/trunk/include/llvm/IR GCStrategy.h, llvm/trunk/lib/IR GCStrategy.cpp

Instantiate Registry<GCStrategy> in LLVMCore, to let it available on Win32 DLL.

LLVM — llvm/trunk/include/llvm/Object ELFTypes.h ELFYAML.h, llvm/trunk/include/llvm/Support ELF.h

[ELFYAML] Support mips64 relocation record format in yaml2obj/obj2yaml

MIPS64 ELF file has a very specific relocation record format. Each
record might specify up to three relocation operations. So the `r_info`
field in fact consists of three relocation type sub-fields and optional
code of "special" symbols.

page 40

The patch implements support of the MIPS64 relocation record format in
yaml2obj/obj2yaml tools by introducing new optional Relocation fields:
Type2, Type3, and SpecSym. These fields are recognized only if the
object/YAML file relates to the MIPS64 target.

Differential Revision: http://reviews.llvm.org/D7136

LLVM — llvm/trunk/lib/Target/X86 X86InstrAVX512.td X86RegisterInfo.td, llvm/trunk/test/CodeGen/X86 avx512-mask-op.ll avx512-insert-extract.ll

AVX-512: Changes in operations on masks registers for KNL and SKX
- Added KSHIFTB/D/Q for skx
- Added KORTESTB/D/Q for skx
- Fixed store operation for v8i1 type for KNL
- Store size of v8i1, v4i1 and v2i1 are changed to 8 bits

LLVM — llvm/trunk/include/llvm/ExecutionEngine/Orc IRCompileLayer.h

Orc/IRCompileLayer.h: Avoid non-static initializer.

LLVM — llvm/trunk/include/llvm/ExecutionEngine/Orc IRCompileLayer.h, llvm/trunk/lib/ExecutionEngine/Orc OrcMCJITReplacement.h

OrcJIT: Avoid non-static initializers.

LLVM — llvm/trunk/lib/ExecutionEngine/Orc LLVMBuild.txt

Orc/LLVMBuild.txt: Prune redundant "Target" in libdeps.

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

[X86] Give scalar VRNDSCALE instructions priority in AVX512 mode.

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

Simplify a multiclass. No functional change.

LLVM — cfe/trunk/lib/Sema SemaCodeComplete.cpp, cfe/trunk/test/Index complete-functor-call.cpp

Sema: require a complete type before lookup.

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

Remove tab characters. NFC

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

Implemented cost model for masked load/store operations.

LLVM — cfe/trunk/include/clang/AST ExprCXX.h

Fix the buildbots (fallout from r227028) by returning the exprloc of non-binary operator 
overload calls (and ->) to the start of the expression, not the location of the operator

I'll give this some further thought/discussion later, but this is enough
to unbreak the buildbots at least.

LLVM — llvm/trunk/lib/Target/X86 X86InstrSSE.td X86InstrAVX512.td, llvm/trunk/utils/TableGen X86RecognizableInstr.cpp

[X86] Replace i32i8imm on SSE/AVX instructions with i32u8imm which will make the assembler 
bounds check them. It will also make them print as unsigned.

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

[X86] Use u8imm in several places that used i32i8imm that don't require an i32 type.

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

Remove tab characters. NFC.

LLVM — cfe/trunk/test/CodeGenCXX apple-kext-indirect-call-2.C apple-kext-indirect-call-2.cpp

Rename four test files from .C to .cpp.

lit.cfg has never supported running .C files, so these tests were never
executed by check-clang.  Rename them to .cpp so that they run as part of
the test suite, and minorly tweak two of them that look like they were broken
when checked in to actually pass.

LLVM — cfe/trunk/include/clang/AST ExprCXX.h, cfe/trunk/lib/CodeGen CGExpr.cpp

DebugInfo: Attribute calls to overloaded operators with the operator, not the start of the 
whole expression

LLVM — cfe/trunk/lib/CodeGen CGDebugInfo.cpp CGExpr.cpp, cfe/trunk/test/CodeGenCXX debug-info-line.cpp

DebugInfo: Use the preferred location rather than the start location for expression line 

This causes things like assignment to refer to the '=' rather than the
LHS when attributing the store instruction, for example.

There were essentially 3 options for this:

* The beginning of an expression (this was the behavior prior to this
  commit). This meant that stepping through subexpressions would bounce
  around from subexpressions back to the start of the outer expression,
  etc. (eg: x + y + z would go x, y, x, z, x (the repeated 'x's would be
  where the actual addition occurred)).

* The end of an expression. This seems to be what GCC does /mostly/, and
  certainly this for function calls. This has the advantage that
  progress is always 'forwards' (never jumping backwards - except for
  independent subexpressions if they're evaluated in interesting orders,
  etc). "x + y + z" would go "x y z" with the additions occurring at y
  and z after the respective loads.
  The problem with this is that the user would still have to think
  fairly hard about precedence to realize which subexpression is being
  evaluated or which operator overload is being called in, say, an asan

    [11 lines not shown]

LLVM — cfe/trunk/lib/Sema SemaExpr.cpp

Name a bool parameter. No behavior change.
Delta File
+2 -1 cfe/trunk/lib/Sema/SemaExpr.cpp
+2 -1 1 file

LLVM — llvm/trunk/include/llvm/Transforms/InstCombine InstCombineWorklist.h

[PM] Remove the restricted visibility from the instcombine worklist. Now
that library consumers access the instcombine pass directly, they also
(transitively) access the worklist. Also, it would need to be used
directly in order to have a useful utility if we ever want that.

This should fix some warnings since I moved this code. Sorry for the

LLVM — cfe/trunk/lib/Parse ParseDeclCXX.cpp

Remove duplicate code
Delta File
+18 -32 cfe/trunk/lib/Parse/ParseDeclCXX.cpp
+18 -32 1 file

LLVM — cfe/trunk/lib/CodeGen CGExpr.cpp, cfe/trunk/test/CodeGenCXX debug-info-line.cpp

DebugInfo: Correct the line location of geps on array accesses

LLVM — cfe/trunk/lib/Sema SemaInit.cpp, cfe/trunk/test/CXX/drs dr14xx.cpp

First steps in implementing DR1467: List-initialization of aggregate from same-type 
Only the first two items for now, changing Sections 8.5.4 [dcl.init.list] paragraph 3 and [over.match.list] paragraph 1,
so that defining class objects and character arrays using uniform initialization syntax is 
actually treated as list initialization
and before it is treated aggregate initialization.

LLVM — llvm/trunk/test/ExecutionEngine test-global-init-nonzero.ll test-fp-no-external-funcs.ll, llvm/trunk/test/ExecutionEngine/MCJIT 2010-01-15-UndefValue.ll

Remove a few more redundant ExecutionEngine regression tests.

LLVM — llvm/trunk/docs/tutorial LangImpl9.rst LangImpl1.rst

Fixup debug information references.

LLVM — llvm/trunk/docs/tutorial LangImpl1.rst LangImpl9.rst

Update references to lines of code count.

The number of lines of code in Kaleidoscope has risen from the
previously reported 700 to 986 according to the cloc tool. This tools
was run on the toy.cpp file from Chapter 8.

LLVM — llvm/trunk/include/llvm/ProfileData CoverageMapping.h

InstrProf: Add operator!= to coverage counters

I'll use this in clang shortly. Also makes the operator definition
style more consistent in this class.

LLVM — llvm/trunk/lib/ProfileData CoverageMapping.cpp

llvm-cov: Only combine segments if they overlap exactly

If two coverage segments cover the same area we need to combine them,
as per r218432. OTOH, just because they start at the same place
doesn't mean they cover the same area. This fixes the check to be more
exact about this.

This is pretty hard to test right now. The frontend doesn't currently
emit regions that start at the same place but don't overlap, but some
upcoming work changes this.

LLVM — llvm/trunk/include/llvm/Transforms/InstCombine InstCombine.h

Revert r227013 "Add visibility attribute for InstCombinePass (r226987)."

Buildbot breakage.

LLVM — cfe/trunk/lib/CodeGen CoverageMappingGen.cpp

InstrProf: Use an Optional instead of an out parameter

LLVM — llvm/trunk/lib/CodeGen/AsmPrinter DwarfDebug.cpp

CodeGen: drive-by formatting clean ups

Minor tweaks to whitespace formatting that I noticed was off.  NFC.

LLVM — llvm/trunk/include/llvm/Transforms/InstCombine InstCombine.h

Add visibility attribute for InstCombinePass (r226987).

Warning by gcc:
'llvm::InstCombinePass' declared with greater visibility than the type of its field 
'llvm::InstCombinePass::Worklist' [-Wattributes]

LLVM — llvm/trunk/include/llvm/IR DebugInfo.h, llvm/trunk/lib/IR DebugInfo.cpp

DebugInfo: Fix use after return found by asan.

LLVM — llvm/trunk/lib/ExecutionEngine/Orc LLVMBuild.txt

[Orc] Add TransformUtils to Orc's dependency list.

Patch by Jan Vesely. Thanks Jan!

LLVM — llvm/trunk/test/ExecutionEngine test-cast.ll test-common-symbols.ll

Remove a number of redundant ExecutionEngine regression tests.

These tests used to test the legacy JIT but since that has been removed they're
just redundantly testing MCJIT. Remove them and just leave their counterparts in

LLVM — llvm/trunk/test/CodeGen/BPF lit.local.cfg

bpf: add missing lit.local.cfg

LLVM — llvm/trunk CODE_OWNERS.TXT, llvm/trunk/include/llvm/ADT Triple.h

BPF backend

- cleanup tests

- addressed feedback from David:
- switched to range-based 'for' loops
- fixed formatting of tests

- rebased and adjusted AsmPrinter args
- CamelCased .td, fixed formatting, cleaned up names, removed unused patterns
- diffstat: 3 files changed, 203 insertions(+), 227 deletions(-)

- addressed feedback from Chandler:
- reinstated full verbose standard banner in all files
- fixed variables that were not in CamelCase
- fixed names of #ifdef in header files
- removed redundant braces in if/else chains with single statements
- fixed comments
- removed trailing empty line
- dropped debug annotations from tests

    [80 lines not shown]

LLVM — cfe/trunk/test/CodeGen private-extern.c enum.c

test: Convert some tests to FileCheck

These were all doing trivial greps. It's better to use FileCheck.

LLVM — cfe/trunk/test/CodeGen address-space.c

test: Remove two redundant lines from this test

The FileCheck already checks for these lines, no need to grep as well.

LLVM — llvm/trunk/lib/Target/Mips MipsISelLowering.cpp MipsISelLowering.h, llvm/trunk/test/DebugInfo/Mips fn-call-line.ll

[mips] Fix 'jumpy' debug line info around calls.

At the moment, address calculation is taking the debug line info from the
address node (e.g. TargetGlobalAddress). When a function is called multiple
times, this results in output of the form:

  .loc $first_call_location
  .. address calculation ..
  .. function call ..
  .. address calculation ..
  .loc $second_call_location
  .. function call ..
  .loc $first_call_location
  .. address calculation ..
  .loc $third_call_location
  .. function call ..

This patch makes address calculations for function calls take the debug line
info for the call node and results in output of the form:
  .loc $first_call_location
  .. address calculation ..
  .. function call ..
  .loc $second_call_location
  .. address calculation ..

    [12 lines not shown]

LLVM — llvm/trunk/tools/gold gold-plugin.cpp

Update of the gold-plugin.cpp code to match Chandler's changes (r226981)

LLVM — llvm/trunk/lib/Target/Mips MipsSEISelDAGToDAG.cpp Mips64InstrInfo.td, llvm/trunk/test/CodeGen/Mips/llvm-ir add.ll sub.ll

[mips] Fix assertion on i128 addition/subtraction on MIPS64

In addition to the included tests, this fixes
test/CodeGen/Generic/i128-addsub.ll on a mips64 host.

Reviewers: atanasyan, sagar, vmedic

Reviewed By: vmedic

Subscribers: sdkie, llvm-commits

Differential Revision: http://reviews.llvm.org/D6610

LLVM — llvm/trunk/lib/CodeGen/SelectionDAG SelectionDAG.cpp, llvm/trunk/test/CodeGen/X86 selectiondag-crash.ll

[DAG] Fix wrong canonicalization performed on shuffle nodes.

This fixes a regression introduced by r226816.
When replacing a splat shuffle node with a constant build_vector,
make sure that the new build_vector has a valid number of elements.

Thanks to Patrik Hagglund for reporting this problem and providing a
small reproducible.

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

[PM] General doxygen and comment cleanup for this pass.

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

[PM] Reformat this code with clang-format so that I can use clang-format
when refactoring for the new pass manager without introducing too many
formatting changes into meaning full diffs.
Delta File
+138 -141 llvm/trunk/lib/Transforms/Scalar/EarlyCSE.cpp
+138 -141 1 file

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

[PM] Use a more appropriate name for the statistics variable in
lower-expect, as we don't have 'if's in the IR and we use it for
switches as well.

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

[PM] Switch tihs code to use a range based for loop over the function.

We can't switch the loop over the instructions because it needs to
early-increment the iterator.

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

[PM] Use a SmallVector instead of std::vector to avoid heap allocations
for small switches, and avoid using a complex loop to set up the

We know what the baseline weights will be so we can just resize the
vector to contain all that value and clobber the one slot that is
likely. This seems much more direct than the previous code that tested
at every iteration, and started off by zeroing the vector.