Displaying 1 50 of 175,090 commits (0.013s)

LLVM — llvm/trunk/lib/MC MCAsmStreamer.cpp, llvm/trunk/test/MC/AsmParser directive_seh.s

Patch by Ray Donnelly to print register names instead of numbers.

http://reviews.llvm.org/D3422
Delta File
+11 -4 llvm/trunk/lib/MC/MCAsmStreamer.cpp
+4 -4 llvm/trunk/test/MC/AsmParser/directive_seh.s
+15 -8 2 files

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

Speculative fix for buildbot failure. Apparently Clang 3.1 got move semantics wrong.
Delta File
+2 -1 cfe/trunk/include/clang/AST/ASTVector.h
+2 -1 1 file

LLVM — cfe/trunk/include/clang/Analysis/Analyses ThreadSafetyTraverse.h ThreadSafetyTIL.h, cfe/trunk/lib/Analysis ThreadSafetyCommon.cpp

Thread Safety Analysis:  Convert to minimal SSA.
Delta File
+72 -17 cfe/trunk/lib/Analysis/ThreadSafetyCommon.cpp
+43 -12 cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyTraverse.h
+19 -9 cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyTIL.h
+1 -0 cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyCommon.h
+135 -38 4 files

LLVM — cfe/trunk/include/clang/AST ASTVector.h ASTUnresolvedSet.h, cfe/trunk/include/clang/Basic DiagnosticSerializationKinds.td

When a module completes the definition of a class template specialization imported from 
another module, emit an update record, rather than using the broken decl rewriting 
mechanism. If multiple modules do this, merge the definitions together, much as we would 
if they were separate declarations.
Delta File
+205 -49 cfe/trunk/lib/Serialization/ASTReaderDecl.cpp
+144 -37 cfe/trunk/lib/Serialization/ASTReader.cpp
+107 -38 cfe/trunk/lib/Serialization/ASTWriter.cpp
+29 -2 cfe/trunk/include/clang/Serialization/ASTReader.h
+8 -8 cfe/trunk/lib/Sema/SemaDeclCXX.cpp
+14 -0 cfe/trunk/include/clang/AST/ASTVector.h
+49 -12 14 files not shown
+556 -146 20 files

LLVM — lldb/trunk/source/API SBData.cpp SBFileSpec.cpp, lldb/trunk/source/Plugins/Process/Utility RegisterContextDarwin_x86_64.cpp

Included <inttypes.h> in a few headers that were
using preprocessor constants for printf() format
specifications.
Delta File
+2 -0 lldb/trunk/source/API/SBData.cpp
+1 -0 lldb/trunk/source/API/SBFileSpec.cpp
+1 -0 lldb/trunk/source/Plugins/Process/Utility/RegisterContextDarwin_x86_64.cpp
+4 -0 3 files

LLVM — llvm/trunk/lib/MC ELFObjectWriter.cpp

Add parens to appease GCC warning.
Delta File
+4 -4 llvm/trunk/lib/MC/ELFObjectWriter.cpp
+4 -4 1 file

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

Revert "blockfreq: Rewrite BlockFrequencyInfoImpl" (#2)

This reverts commit r206666, as planned.

Still stumped on why the bots are failing.  Sanitizer bots haven't
turned anything up.  If anyone can help me debug either of the failures
(referenced in r206666) I'll owe them a beer.  (In the meantime, I'll be
auditing my patch for undefined behaviour.)
Delta File
+279 -1,602 llvm/trunk/include/llvm/Analysis/BlockFrequencyInfoImpl.h
+0 -933 llvm/trunk/lib/Analysis/BlockFrequencyInfoImpl.cpp
+0 -197 llvm/trunk/test/Analysis/BlockFrequencyInfo/irreducible.ll
+0 -165 llvm/trunk/test/Analysis/BlockFrequencyInfo/double_exit.ll
+0 -59 llvm/trunk/test/Analysis/BlockFrequencyInfo/nested_loop_with_branches.ll
+24 -31 llvm/trunk/test/Analysis/BlockFrequencyInfo/basic.ll
+9 -112 6 files not shown
+312 -3,099 12 files

LLVM — cfe/trunk/include/clang/Analysis/Analyses ThreadSafetyCommon.h ThreadSafetyTIL.h, cfe/trunk/lib/Analysis ThreadSafetyCommon.cpp

Thread Safety Analysis:  Update SSA pass to handle loops.
Delta File
+168 -84 cfe/trunk/lib/Analysis/ThreadSafetyCommon.cpp
+58 -29 cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyCommon.h
+36 -9 cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyTIL.h
+7 -4 cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyUtil.h
+1 -1 cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyTraverse.h
+270 -127 5 files

LLVM — llvm/trunk/include/llvm/ProfileData InstrProfReader.h, llvm/trunk/include/llvm/Support OnDiskHashTable.h

OnDiskHashTable: Audit types and use offset_type consistently
Delta File
+7 -6 llvm/trunk/include/llvm/Support/OnDiskHashTable.h
+4 -4 llvm/trunk/lib/ProfileData/InstrProfWriter.cpp
+2 -2 llvm/trunk/include/llvm/ProfileData/InstrProfReader.h
+13 -12 3 files

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

ProfileData: Avoid UB when reading
Delta File
+3 -2 llvm/trunk/include/llvm/ProfileData/InstrProfReader.h
+3 -2 1 file

LLVM — cfe/trunk/include/clang/Basic Module.h, cfe/trunk/lib/Basic Module.cpp

Fix a hole with nested unavailable submodules from r206664

If a module doesn't meet a requirement, neither do its submodules. If we
don't propogate that, we might think it's an error to be missing a
header in one of those submodules.
Delta File
+4 -3 cfe/trunk/lib/Basic/Module.cpp
+1 -1 cfe/trunk/include/clang/Basic/Module.h
+1 -0 cfe/trunk/test/Modules/Inputs/submodules/module.map
+6 -4 3 files

LLVM — llvm/trunk/include/llvm/Support OnDiskHashTable.h

OnDiskHashTable: Fix a think-o with offset_type
Delta File
+2 -2 llvm/trunk/include/llvm/Support/OnDiskHashTable.h
+2 -2 1 file

LLVM — llvm/trunk/lib/Transforms/Instrumentation GCOVProfiling.cpp

Check whether functions have any lines associated before emitting coverage info for them. 
This isn't just a size/time saving, gcov may crash on these.
Delta File
+17 -0 llvm/trunk/lib/Transforms/Instrumentation/GCOVProfiling.cpp
+17 -0 1 file

LLVM — llvm/trunk/test/tools/llvm-profdata errors.test

llvm-profdata: Avoid writing to /dev/null in tests

We fseek on our output file in llvm-profdata, which errors on some
systems. Avoid getting into the situation by writing to /dev/null
Delta File
+4 -10 llvm/trunk/test/tools/llvm-profdata/errors.test
+4 -10 1 file

LLVM — llvm/trunk/lib/Target/ARM/AsmParser ARMAsmParser.cpp, llvm/trunk/lib/Target/ARM/MCTargetDesc ARMMCCodeEmitter.cpp

Change the ARM assembler to require a :lower16: or :upper16 on non-constant
expressions for mov instructions instead of silently truncating by default.

For the ARM assembler, we want to avoid misleadingly allowing something
like "mov r0, <symbol>" especially when we turn it into a movw and the
expression <symbol> does not have a :lower16: or :upper16" as part of the
expression.  We don't want the behavior of silently truncating, which can be
unexpected and lead to bugs that are difficult to find since this is an easy
mistake to make.

This does change the previous behavior of llvm but actually matches an
older gnu assembler that would not allow this but print less useful errors
of like “invalid constant (0x927c0) after fixup” and “unsupported relocation on
symbol foo”.  The error for llvm is "immediate expression for mov requires
:lower16: or :upper16" with correct location information on the operand
as shown in the added test cases.

rdar://12342160
Delta File
+24 -0 llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
+11 -0 llvm/trunk/test/MC/ARM/thumb2-diagnostics.s
+5 -5 llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp
+4 -4 llvm/trunk/test/MC/ARM/complex-operands.s
+8 -0 llvm/trunk/test/MC/ARM/diagnostics.s
+3 -3 llvm/trunk/test/MC/ARM/arm_fixups.s
+55 -12 6 files

LLVM — llvm/trunk/test/tools/llvm-profdata errors.test

test: Add extra run lines to investigate an error on the bots
Delta File
+6 -0 llvm/trunk/test/tools/llvm-profdata/errors.test
+6 -0 1 file

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

CodeGen: Remove an unused include
Delta File
+0 -1 cfe/trunk/lib/CodeGen/CodeGenPGO.cpp
+0 -1 1 file

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

Reapply "blockfreq: Rewrite BlockFrequencyInfoImpl" (#2)

This reverts commit r206628, reapplying r206622 (and r206626).

Two tests are failing only on buildbots [1][2]: i.e., I can't reproduce
on Darwin, and Chandler can't reproduce on Linux.  Asan and valgrind
don't tell us anything, but we're hoping the msan bot will catch it.

So, I'm applying this again to get more feedback from the bots.  I'll
leave it in long enough to trigger builds in at least the sanitizer
buildbots (it was failing for reasons unrelated to my commit last time
it was in), and hopefully a few others.... and then I expect to revert a
third time.

[1]: http://bb.pgr.jp/builders/ninja-x64-msvc-RA-centos6/builds/1816
[2]: http://llvm-amd64.freebsd.your.org/b/builders/clang-i386-freebsd/builds/18445
Delta File
+1,602 -279 llvm/trunk/include/llvm/Analysis/BlockFrequencyInfoImpl.h
+933 -0 llvm/trunk/lib/Analysis/BlockFrequencyInfoImpl.cpp
+197 -0 llvm/trunk/test/Analysis/BlockFrequencyInfo/irreducible.ll
+165 -0 llvm/trunk/test/Analysis/BlockFrequencyInfo/double_exit.ll
+59 -0 llvm/trunk/test/Analysis/BlockFrequencyInfo/nested_loop_with_branches.ll
+31 -24 llvm/trunk/test/Analysis/BlockFrequencyInfo/basic.ll
+112 -9 6 files not shown
+3,099 -312 12 files

LLVM — llvm/trunk/lib/DebugInfo DWARFContext.cpp, llvm/trunk/test/DebugInfo llvm-symbolizer.test

[llvm-symbolizer] Print file/line for a PC even if there is no DIE describing it.

This is important for symbolizing executables with debug info in
unavailable .dwo files. Even if all DIE entries are missing, we can
still symbolize an address: function name can be fetched from symbol table,
and file/line info can be fetched from line table.
Delta File
+20 -9 llvm/trunk/lib/DebugInfo/DWARFContext.cpp
+18 -0 llvm/trunk/test/DebugInfo/Inputs/llvm-symbolizer-dwo-test.cc
+4 -0 llvm/trunk/test/DebugInfo/llvm-symbolizer.test
+0 -0 llvm/trunk/test/DebugInfo/Inputs/llvm-symbolizer-dwo-test
+42 -9 4 files

LLVM — cfe/trunk/include/clang/Basic Module.h, cfe/trunk/lib/Basic Module.cpp

Don't build modules with (submodules with) missing headers

Unless they are in submodules that aren't available anyway, due to
requirements not being met.  Also, mark children as unavailable when the
parent is.
Delta File
+13 -0 cfe/trunk/test/Modules/missing-header.m
+10 -2 cfe/trunk/include/clang/Basic/Module.h
+10 -2 cfe/trunk/lib/Lex/ModuleMap.cpp
+8 -0 cfe/trunk/test/Modules/Inputs/submodules/module.map
+0 -5 cfe/trunk/test/Modules/submodules.cpp
+5 -0 cfe/trunk/lib/Basic/Module.cpp
+2 -1 cfe/trunk/lib/Frontend/FrontendActions.cpp
+48 -10 7 files

LLVM — llvm/trunk/include/llvm/ProfileData InstrProfReader.h, llvm/trunk/lib/ProfileData InstrProfReader.cpp InstrProfIndexed.h

ProfileData: Don't forward declare ComputeHash and make it static inline
Delta File
+1 -4 llvm/trunk/include/llvm/ProfileData/InstrProfReader.h
+5 -0 llvm/trunk/lib/ProfileData/InstrProfReader.cpp
+1 -1 llvm/trunk/lib/ProfileData/InstrProfIndexed.h
+7 -5 3 files

LLVM — cfe/trunk/docs Modules.rst ClangFormatStyleOptions.rst

Fix sphinx-build warnings in clang docs.
Delta File
+2 -2 cfe/trunk/docs/Modules.rst
+1 -1 cfe/trunk/docs/ClangFormatStyleOptions.rst
+3 -3 2 files

LLVM — cfe/trunk/docs CMakeLists.txt

Add support for building Sphinx documentation when being inside LLVM source tree and using 
CMake

Patch by Daniel Liew <daniel.liew at imperial.ac.uk>!
Delta File
+9 -0 cfe/trunk/docs/CMakeLists.txt
+9 -0 1 file

LLVM — llvm/trunk/lib/MC ELFObjectWriter.cpp, llvm/trunk/test/MC/ELF compression.s

Compress debug sections only when beneficial.

Both ZLIB and the debug info compressed section header ("ZLIB" + the
size of the uncompressed data) take some constant overhead so in some
cases the compressed data is actually larger than the uncompressed data.
In these cases, just don't compress or rename the section at all.
Delta File
+31 -14 llvm/trunk/test/MC/ELF/compression.s
+6 -2 llvm/trunk/lib/MC/ELFObjectWriter.cpp
+37 -16 2 files

LLVM — cfe/trunk/lib/CodeGen CodeGenPGO.cpp CodeGenPGO.h, cfe/trunk/tools/driver Makefile CMakeLists.txt

CodeGen: Use LLVM's InstrProfReader in -fprofile-instr-use=

Update clang to use the InstrProfReader from LLVM to read
instrumentation based profile data. This also switches us from the
naive text format to the binary format, since that's what's
implemented in the reader.
Delta File
+12 -140 cfe/trunk/lib/CodeGen/CodeGenPGO.cpp
+3 -24 cfe/trunk/lib/CodeGen/CodeGenPGO.h
+11 -4 cfe/trunk/lib/CodeGen/CodeGenModule.cpp
+4 -9 cfe/trunk/lib/CodeGen/CodeGenModule.h
+1 -1 cfe/trunk/tools/driver/Makefile
+1 -0 cfe/trunk/tools/driver/CMakeLists.txt
+1 -0 cfe/trunk/lib/CodeGen/CMakeLists.txt
+33 -178 7 files

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

[Cleanup] Remove a trailing whitespace
Delta File
+1 -1 cfe/trunk/lib/CodeGen/CodeGenPGO.cpp
+1 -1 1 file

LLVM — llvm/trunk/include/llvm/ProfileData InstrProfReader.h InstrProfWriter.h, llvm/trunk/lib/ProfileData InstrProfReader.cpp InstrProfWriter.cpp

ProfileData: Add support for the indexed instrprof format

This adds support for an indexed instrumentation based profiling
format, which is just a small header and an on disk hash table.  This
format will be used by clang's -fprofile-instr-use= for PGO.
Delta File
+112 -6 llvm/trunk/lib/ProfileData/InstrProfReader.cpp
+106 -1 llvm/trunk/include/llvm/ProfileData/InstrProfReader.h
+77 -11 llvm/trunk/lib/ProfileData/InstrProfWriter.cpp
+54 -0 llvm/trunk/lib/ProfileData/InstrProfIndexed.h
+18 -9 llvm/trunk/test/tools/llvm-profdata/simple.test
+4 -5 llvm/trunk/tools/llvm-profdata/llvm-profdata.cpp
+6 -3 4 files not shown
+377 -35 10 files

LLVM — llvm/trunk CMakeLists.txt, llvm/trunk/cmake config-ix.cmake

Added Sphinx documentation generation to CMake build system.

The option LLVM_ENABLE_SPHINX option enables the "docs-llvm-html",
"docs-llvm-man" targets but does not build them by default. The
following CMake options have been added that control what targets are
made available

SPHINX_OUTPUT_HTML
SPHINX_OUTPUT_MAN

If LLVM_BUILD_DOCS is enabled then the enabled docs-llvm-* targets will
be built by default and if ``make install`` is run then docs-llvm-html
and docs-llvm-man will be installed (tested on Linux only).

The add_sphinx_target function is in its own file so it can be included
by other projects that use Sphinx for their documentation.

Patch by Daniel Liew <daniel.liew at imperial.ac.uk>!
Delta File
+54 -0 llvm/trunk/cmake/modules/AddSphinxTarget.cmake
+25 -0 llvm/trunk/cmake/modules/FindSphinx.cmake
+15 -0 llvm/trunk/docs/CMakeLists.txt
+10 -0 llvm/trunk/cmake/config-ix.cmake
+2 -1 llvm/trunk/CMakeLists.txt
+106 -1 5 files

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

[DWARF parser] Turn DILineInfo into a struct.

Immutable DILineInfo doesn't bring any benefits and complicates
code. Also, use std::string instead of SmallString<16> for file
and function names - their length can vary significantly.

No functionality change.
Delta File
+46 -54 llvm/trunk/lib/DebugInfo/DWARFContext.cpp
+8 -19 llvm/trunk/include/llvm/DebugInfo/DIContext.h
+5 -13 llvm/trunk/tools/llvm-symbolizer/LLVMSymbolize.cpp
+2 -4 llvm/trunk/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
+3 -3 llvm/trunk/tools/llvm-objdump/MachODump.cpp
+1 -2 llvm/trunk/tools/llvm-rtdyld/llvm-rtdyld.cpp
+65 -95 6 files

LLVM — llvm/trunk/lib/MC ELFObjectWriter.cpp, llvm/trunk/test/MC/ELF compression.s

Update the fragments of symbols in compressed sections.

While unnamed relocations are already cached in side tables in
ELFObjectWriter::RecordRelocation, symbols still need their fragments
updated to refer to the newly compressed fragment (even if that fragment
isn't big enough to fit the offset). Even though we only create
temporary symbols in debug info sections this comes up in 32 bit builds
where even temporary symbols in mergeable sections (such as debug_str)
have to be emitted as named symbols.

I tried a few other ways to do this but they all didn't work for various
reasons:

1) Canonicalize the MCSymbolData in RecordRelocation, nulling out the
Fragment (so it didn't have to be updated by CompressDebugSection). This
doesn't work because some code relies on symbols having fragments to
indicate that they're defined, I think.

2) Canonicalize the MCSymbolData in RecordRelocation to be "first
fragment + absolute offset" so it would be cheaper to just test and
update the fragment in CompressDebugSections. This doesn't work because
the offset computed in RecordRelocation isn't that of the symbol's
fragment, it's the passed in fragment (I haven't figured out what that
fragment is - perhaps it's the location where the relocation is to be
written). And if the fragment offset has to be computed only for this

    [7 lines not shown]
Delta File
+24 -1 llvm/trunk/test/MC/ELF/compression.s
+21 -0 llvm/trunk/lib/MC/ELFObjectWriter.cpp
+45 -1 2 files

LLVM — llvm/trunk/lib/Target/ARM64 ARM64SchedA53.td ARM64.td, llvm/trunk/test/CodeGen/ARM64 misched-basic-A53.ll

[ARM64] Ports the Cortex-A53 Machine Model description from AArch64.

Summary:
This port includes the rudimentary latencies that were provided for
the Cortex-A53 Machine Model in the AArch64 backend. It also changes
the SchedAlias for COPY in the Cyclone model to an explicit
WriteRes mapping to avoid conflicts in other subtargets.

Differential Revision: http://reviews.llvm.org/D3427
Patch by Dave Estes <cestes at codeaurora.org>!
Delta File
+129 -0 llvm/trunk/lib/Target/ARM64/ARM64SchedA53.td
+112 -0 llvm/trunk/test/CodeGen/ARM64/misched-basic-A53.ll
+3 -3 llvm/trunk/lib/Target/ARM64/ARM64.td
+3 -1 llvm/trunk/lib/Target/ARM64/ARM64SchedCyclone.td
+247 -4 4 files

LLVM — llvm/trunk/docs Passes.rst

Remove -simplify-libcalls pass form Passes documentation

This pass was removed in r184459.

Also added note that the InstCombine pass does library call
simplification.

Patch slightly modified from one by Daniel Liew
<daniel.liew at imperial.ac.uk>!
Delta File
+10 -9 llvm/trunk/docs/Passes.rst
+10 -9 1 file

LLVM — llvm/trunk/test/CodeGen/X86 tls.ll

Expanded test for x86-pc-windows-gnu and x86_64-pc-windows-gnu environments.
Delta File
+87 -0 llvm/trunk/test/CodeGen/X86/tls.ll
+87 -0 1 file

LLVM — llvm/trunk/lib/Analysis LazyCallGraph.cpp

[LCG] Fix the bugs that Ben pointed out in code review (and the MSan bot
caught). Sad that we don't have warnings for these things, but bleh, no
idea how to fix that.
Delta File
+7 -3 llvm/trunk/lib/Analysis/LazyCallGraph.cpp
+7 -3 1 file

LLVM — cfe/trunk/lib/Frontend ASTUnit.cpp

Don't read CompilerInstance fields that don't exist in ASTUnit

When transferring data from a CompilerInstance in an error path we need
to consider cases where the various fields are uninitialized.
Delta File
+6 -3 cfe/trunk/lib/Frontend/ASTUnit.cpp
+6 -3 1 file

LLVM — llvm/trunk/include/llvm/Support OnDiskHashTable.h

OnDiskHashTable: Expect the Info type to declare the offset type

This changes the on-disk hash to get the type to use for offsets from
the Info type, so that clients can be more flexible with the size of
table they support.
Delta File
+54 -42 llvm/trunk/include/llvm/Support/OnDiskHashTable.h
+54 -42 1 file

LLVM — llvm/trunk/include/llvm/Support OnDiskHashTable.h

OnDiskHashTable: Expect the Info type to declare the hash size

This changes the on-disk hash to get the size of a hash value from the
Info type, so that clients can be more flexible with the types of hash
they use.
Delta File
+15 -10 llvm/trunk/include/llvm/Support/OnDiskHashTable.h
+15 -10 1 file

LLVM — llvm/trunk/lib/DebugInfo DWARFUnit.cpp

[DWARF parser] Respect address ranges specified in compile unit DIE.

When address ranges for compile unit are specified in compile unit DIE
itself, there is no need to collect ranges from children subprogram DIEs.

This change speeds up llvm-symbolizer on Clang-produced binaries with
full debug info. For instance, symbolizing a first address in a 1Gb binary
is now 2x faster (1s vs. 2s).
Delta File
+7 -0 llvm/trunk/lib/DebugInfo/DWARFUnit.cpp
+7 -0 1 file

LLVM — cfe/trunk/lib/Frontend CacheTokens.cpp, cfe/trunk/lib/Lex PTHLexer.cpp

Teach users of OnDiskHashTable to define hash_value and offset types

This paves the way to making OnDiskHashTable work with hashes that are
not 32 bits wide and to making OnDiskHashTable work very large hash
tables. The LLVM change to use these types is upcoming.
Delta File
+18 -5 cfe/trunk/lib/Serialization/ASTWriter.cpp
+12 -5 cfe/trunk/lib/Serialization/ASTReaderInternals.h
+8 -8 cfe/trunk/lib/Lex/PTHLexer.cpp
+8 -2 cfe/trunk/lib/Frontend/CacheTokens.cpp
+6 -2 cfe/trunk/lib/Serialization/GlobalModuleIndex.cpp
+52 -22 5 files

LLVM — cfe/trunk/include/clang/Basic OnDiskHashTable.h, cfe/trunk/include/clang/Serialization Module.h ASTReader.h

Remove OnDiskHashTable.h, since it's been moved to llvm
Delta File
+0 -455 cfe/trunk/include/clang/Basic/OnDiskHashTable.h
+10 -6 cfe/trunk/lib/Frontend/CacheTokens.cpp
+7 -6 cfe/trunk/lib/Serialization/ASTWriter.cpp
+5 -6 cfe/trunk/lib/Serialization/GlobalModuleIndex.cpp
+6 -3 cfe/trunk/include/clang/Serialization/Module.h
+4 -5 cfe/trunk/lib/Lex/PTHLexer.cpp
+5 -5 2 files not shown
+37 -486 8 files

LLVM — llvm/trunk/include/llvm/ADT ImmutableSet.h, llvm/trunk/lib/Analysis BasicAliasAnalysis.cpp CostModel.cpp

Remove a couple of redundant copies of SmallVector::operator==.

No functionality change.
Delta File
+1 -16 llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp
+2 -13 llvm/trunk/lib/Analysis/CostModel.cpp
+1 -6 llvm/trunk/include/llvm/ADT/ImmutableSet.h
+4 -35 3 files

LLVM — llvm/trunk/lib/Target/X86 X86ISelLowering.cpp, llvm/trunk/test/CodeGen/X86 vec_shuffle-41.ll

[X86] Improve buildFromShuffleMostly for AVX

For a 256-bit BUILD_VECTOR consisting mostly of shuffles of 256-bit vectors,
both the BUILD_VECTOR and its operands may need to be legalized in multiple
steps.  Consider:

(v8f32 (BUILD_VECTOR (extract_vector_elt (v8f32 %vreg0,) Constant<1>),
                     (extract_vector_elt %vreg0, Constant<2>),
                     (extract_vector_elt %vreg0, Constant<3>),
                     (extract_vector_elt %vreg0, Constant<4>),
                     (extract_vector_elt %vreg0, Constant<5>),
                     (extract_vector_elt %vreg0, Constant<6>),
                     (extract_vector_elt %vreg0, Constant<7>),
                     %vreg1))

a. We can't build a 256-bit vector efficiently so, we need to split it into
two 128-bit vecs and combine them with VINSERTX128.

b. Operands like (extract_vector_elt (v8f32 %vreg0), Constant<7>) needs to be
split into a VEXTRACTX128 and a further extract_vector_elt from the
resulting 128-bit vector.

c. The extract_vector_elt from b. is lowered into a shuffle to the first
element and a movss.


    [24 lines not shown]
Delta File
+39 -6 llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
+21 -0 llvm/trunk/test/CodeGen/X86/vec_shuffle-41.ll
+60 -6 2 files

LLVM — llvm/trunk/lib/DebugInfo DWARFDebugInfoEntry.cpp

DebugInfo: Remove some initializer lists to make MSVC happy again.
Delta File
+3 -3 llvm/trunk/lib/DebugInfo/DWARFDebugInfoEntry.cpp
+3 -3 1 file

LLVM — llvm/trunk/include/llvm/MC MCAssembler.h, llvm/trunk/lib/MC ELFObjectWriter.cpp MachObjectWriter.cpp

Add range access to MCAssembler's symbol collection.
Delta File
+14 -16 llvm/trunk/lib/MC/ELFObjectWriter.cpp
+11 -16 llvm/trunk/lib/MC/MachObjectWriter.cpp
+5 -6 llvm/trunk/lib/MC/MCMachOStreamer.cpp
+3 -7 llvm/trunk/lib/MC/WinCOFFObjectWriter.cpp
+6 -0 llvm/trunk/include/llvm/MC/MCAssembler.h
+39 -45 5 files

LLVM — llvm/trunk/include/llvm/Bitcode LLVMBitCodes.h

Update comment in LLVMBitCodes.h to reflect the actual bitcode record
Delta File
+1 -1 llvm/trunk/include/llvm/Bitcode/LLVMBitCodes.h
+1 -1 1 file

LLVM — llvm/trunk/include/llvm/ADT StringExtras.h

Fix uint -> size_t conversion warning.

This warning is disabled for the LLVM build,
but external users of the header can still
run into this.

Patch by Ke Bai
Delta File
+1 -1 llvm/trunk/include/llvm/ADT/StringExtras.h
+1 -1 1 file

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

Revert "blockfreq: Rewrite BlockFrequencyInfoImpl" (#2)

This reverts commit r206622 and the MSVC fixup in r206626.

Apparently the remotely failing tests are still failing, despite my
attempt to fix the nondeterminism in r206621.
Delta File
+279 -1,602 llvm/trunk/include/llvm/Analysis/BlockFrequencyInfoImpl.h
+0 -933 llvm/trunk/lib/Analysis/BlockFrequencyInfoImpl.cpp
+0 -197 llvm/trunk/test/Analysis/BlockFrequencyInfo/irreducible.ll
+0 -165 llvm/trunk/test/Analysis/BlockFrequencyInfo/double_exit.ll
+0 -59 llvm/trunk/test/Analysis/BlockFrequencyInfo/nested_loop_with_branches.ll
+24 -31 llvm/trunk/test/Analysis/BlockFrequencyInfo/basic.ll
+9 -112 6 files not shown
+312 -3,099 12 files

LLVM — llvm/trunk/utils/llvm-build/llvmbuild main.py

Fixed llvm-build when no targets are enabled
Delta File
+3 -1 llvm/trunk/utils/llvm-build/llvmbuild/main.py
+3 -1 1 file

LLVM — llvm/trunk/lib/Analysis BlockFrequencyInfoImpl.cpp

Fixing MSVC after r206622?
Delta File
+2 -0 llvm/trunk/lib/Analysis/BlockFrequencyInfoImpl.cpp
+2 -0 1 file

LLVM — llvm/trunk/lib/CodeGen ScheduleDAGInstrs.cpp

Better comments to explain buffered/unbuffered processor resources.
Delta File
+8 -4 llvm/trunk/lib/CodeGen/ScheduleDAGInstrs.cpp
+8 -4 1 file