Displaying 1 50 of 222,524 commits (0.023s)

LLVM — cfe/trunk/include/clang/Basic DebugInfoOptions.h, cfe/trunk/include/clang/Driver DebugInfoKind.h

Move DebugInfoKind enum from Driver to Basic. NFC

LLVM — cfe/trunk/lib/CodeGen TargetInfo.cpp, cfe/trunk/test/CodeGenObjC arc-i386.m

Add an ARC autoreleased-return-value caller marker on i386.

rdar://24531556

LLVM — llvm/tags/google/stable 2016-02-05

Creating tags/google/stable/2016-02-05 from r256229
Delta File
+0 -0 llvm/tags/google/stable/2016-02-05/
+0 -0 1 file

LLVM — lldb/branches/google stable

Updating branches/google/stable to r256229
Delta File
+0 -0 lldb/branches/google/stable/
+0 -0 1 file

LLVM — lldb/tags/google/stable 2016-02-05

Creating tags/google/stable/2016-02-05 from r256229
Delta File
+0 -0 lldb/tags/google/stable/2016-02-05/
+0 -0 1 file

LLVM — cfe/branches/google stable

Updating branches/google/stable to r256229
Delta File
+0 -0 cfe/branches/google/stable/
+0 -0 1 file

LLVM — cfe/tags/google/stable 2016-02-05

Creating tags/google/stable/2016-02-05 from r256229
Delta File
+0 -0 cfe/tags/google/stable/2016-02-05/
+0 -0 1 file

LLVM — cfe/branches/google stable, clang-tools-extra/branches/google stable

Cleaning up stable branch
Delta File
+0 -0 cfe/branches/google/stable/
+0 -0 clang-tools-extra/branches/google/stable/
+0 -0 compiler-rt/branches/google/stable/
+0 -0 lldb/branches/google/stable/
+0 -0 llvm/branches/google/stable/
+0 -0 polly/branches/google/stable/
+0 -0 6 files

LLVM — llvm/trunk/tools/llvm-nm llvm-nm.cpp

[llvm-nm] Simplify code logic. NFCI.

LLVM — cfe/trunk/include/clang/Basic TargetInfo.h, cfe/trunk/lib/AST RecordLayoutBuilder.cpp

Do not honor explicit alignment attribute on fields for PS4.
This change reverts r257462 for PS4 triple.

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

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

CallAnalyzer::analyzeCall: change the condition back to "Cost < Threshold"

In r252595, I inadvertently changed the condition to "Cost <= Threshold",
which caused a significant size regression in Chrome. This commit rectifies
that.

LLVM — llvm/trunk/lib/Target/AArch64 AArch64LoadStoreOptimizer.cpp

[AArch64] Refactoring aarch64-ldst-opt. NCF.

Remove narrow load / store instructions from getMatchingPairOpcode(),
and add getMatchingWideOpcode().

LLVM — llvm/trunk/include/llvm/Target Target.td, llvm/trunk/utils/TableGen AsmMatcherEmitter.cpp

TableGen: Add IsOptional field to AsmOperandClass

Summary:
This makes it possible to specify some operands as optional to the AsmMatcher.
Setting this field to true will prevent the AsmMatcher from emitting
'too few operands' errors when there are missing optional operands.

Reviewers: olista01, ab

Subscribers: nhaustov, arsenm, llvm-commits

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

LLVM — llvm/trunk/lib/Target/AMDGPU AMDGPUISelLowering.cpp, llvm/trunk/test/CodeGen/AMDGPU lds-alignment.ll

AMDGPU: Account for LDS alignment

The current situation isn't great, because the amount of padding
requires is determined by the inverse order of the first encountered
use. We should eventually somehow sort these to minimize wasted space.

Another problem is the alignment of kernel arguments isn't
respected. The group_segment_alignment is always emitted as
the default 16, and typed arguments with higher alignments
or an explicitly set alignment are also ignored.

LLVM — llvm/trunk/lib/Target/AMDGPU AMDGPUPromoteAlloca.cpp, llvm/trunk/test/CodeGen/AMDGPU private-memory.ll promote-alloca-mem-intrinsics.ll

AMDGPU: Preserve alignments on new created globals

Also switch to internal linkage, and include the name of the function in
the name.

LLVM — cfe/trunk/lib/Parse ParseTemplate.cpp, cfe/trunk/test/Parser objcxx14-protocol-in-template.mm

[Parser] Perform CachedTokens update dependent on token consumption

In the context where we break one tok::greatergreater into two
tok::greater in order to correctly update the cached tokens; update the
CachedTokens with two tok::greater only if ParseGreaterThanInTemplateList
clients asks to consume the last token. Otherwise we only need to add
one because the second is already added later on, as a not yet cached token.

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

rdar://problem/24488367

LLVM — cfe/tags/checker/checker-278/include/clang/StaticAnalyzer/Core/PathSensitive CheckerContext.h, cfe/tags/checker/checker-278/lib/Analysis BodyFarm.cpp

[analyzer] checker-277: Pull in nullability fixes and dealloc checker.

Cherry-pick in the following fixes from trunk:

r259288:[analyzer] Make suppression of macro defensive checks work with 
-analyzer-eagerly-assume.
r259222:[analyzer] Suppress null reports from defensive checks in function-like macros.
r259221:[analyzer] Improve Nullability checker diagnostics
r259118:[analyzer] NullabilityChecker: Remove unused isReturnSelf() function.
r259099:[analyzer] Suppress nullability warnings in copy, mutableCopy, and init families.
r258461:[analyzer] Suppress nullability warning for defensive super initializer idiom.
r258896:[analyzer] ObjCDeallocChecker: Only operate on classes with retained properties.
r258886:[analyzer] Body farm: Look for property ivar in shadowing readwrite property.
r258061:[analyzer] Nullability: Look through implicit casts when suppressing warnings on 
return.
r257938:[analyzer] Check for return of nil in ObjC methods with nonnull return type.

LLVM — llvm/trunk/include/llvm/DebugInfo/CodeView SymbolRecord.h, llvm/trunk/tools/llvm-readobj COFFDumper.cpp

[codeview] Dump a missing field and change its signedness

LLVM — lld/trunk/ELF OutputSections.cpp

Simplify. NFC.
Delta File
+1 -2 lld/trunk/ELF/OutputSections.cpp
+1 -2 1 file

LLVM — lldb/trunk/include/lldb/Symbol ClangASTContext.h TypeSystem.h, lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/member-and-local-vars-with-same-name TestMembersAndLocalsWithSameName.py main.cpp

Take 2: Use an artifical namespace so that member vars do not hide local vars.

Summary: This relands r259810 with fix for failures on Mac.

Reviewers: spyffe, tfiala

Subscribers: tfiala, lldb-commits

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

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

[modules] Separately track whether an identifier's preprocessor information and
name lookup information have changed since deserialization. For a C++ modules
build, we do not need to re-emit the identifier into the serialized identifier
table if only the name lookup information has changed (and in all cases, we
don't need to re-emit the macro information if only the name lookup information
has changed).

LLVM — llvm/trunk/lib/Target/AMDGPU SIInstrInfo.cpp AMDGPUInstrInfo.h

AMDGPU: Remove some purely R600 functions from AMDGPUInstrInfo

Reviewers: arsenm

Subscribers: arsenm, llvm-commits

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

LLVM — lld/trunk/ELF Writer.cpp

ELF: Make Out<ELFT> initialization less error-prone.

Previously, it was easy to leave some Out<ELFT> fields uninitialized
because assignments to the fields are mixed with output section
instantiations. In this patch, I separate initializations from assignments
to improve readability.

http://reviews.llvm.org/D16864
Delta File
+47 -46 lld/trunk/ELF/Writer.cpp
+47 -46 1 file

LLVM — cfe/trunk/include/clang/ASTMatchers ASTMatchersInternal.h, cfe/trunk/lib/ASTMatchers ASTMatchersInternal.cpp

[ASTMatchers] Allow hasName() to look through inline namespaces

Summary:
Allow hasName() to look through inline namespaces.
This will fix the interaction between some clang-tidy checks and libc++.

libc++ defines names in an inline namespace named std::<version_#>.
When we try to match a name using hasName("std::xxx") it fails to match and the clang-tidy 
check does not work.

Reviewers: klimek

Subscribers: klimek, cfe-commits

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

LLVM — llvm/trunk/lib/Target/AMDGPU AMDGPUTargetMachine.h AMDGPUTargetMachine.cpp

AMDGPU: Fix ordering of CPU and FS parameters in TargetMachine constructors

Reviewers: arsenm

Subscribers: arsenm, llvm-commits

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

LLVM — llvm/trunk/test/Bindings/llvm-c echo.ll

Fix echo.ll test failing due to DOS line endings

LLVM — llvm/trunk/lib/CodeGen InlineSpiller.cpp, llvm/trunk/test/CodeGen/X86 unused_stackslots.ll

Some stackslots are allocated to vregs which have no real reference.

LiveRangeEdit::eliminateDeadDef is used to remove dead define instructions
after rematerialization. To remove a VNI for a vreg from its LiveInterval,
LiveIntervals::removeVRegDefAt is used. However, after non-PHI VNIs are all
removed, PHI VNI are still left in the LiveInterval. Such unused vregs will
be kept in RegsToSpill[] at the end of InlineSpiller::reMaterializeAll and
spiller will allocate stackslot for them.

The fix is to get rid of unused reg by checking whether it has non-dbg
reference instead of whether it has non-empty interval.

LLVM — llvm/trunk/lib/Target/AMDGPU SIInsertWaits.cpp AMDGPU.h

AMDGPU/SI: Correctly initialize SIInsertWaits pass

Reviewers: arsenm

Subscribers: arsenm, llvm-commits

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

LLVM — llvm/trunk/lib/Target/WebAssembly WebAssemblyInstrInteger.td WebAssemblyInstrFloat.td, llvm/trunk/test/CodeGen/WebAssembly select.ll

[WebAssembly] Update the select instructions' operand orders to match the spec.

LLVM — llvm/branches/release_38/include/llvm/IR IntrinsicsPowerPC.td, llvm/branches/release_38/lib/Target/PowerPC PPCInstrAltivec.td

Merging r259886 and r259888:

------------------------------------------------------------------------
r259886 | nemanjai | 2016-02-05 06:50:29 -0800 (Fri, 05 Feb 2016) | 5 lines

Fix for PR 26193

This is a simple fix for a PowerPC intrinsic that was incorrectly defined
(the return type was incorrect).
------------------------------------------------------------------------

------------------------------------------------------------------------
r259888 | nemanjai | 2016-02-05 07:03:17 -0800 (Fri, 05 Feb 2016) | 3 lines

Add the missing test case for PR26193
------------------------------------------------------------------------

LLVM — lld/trunk/ELF Symbols.h Writer.cpp

Rename IsUsedInDynamicReloc to MustBeInDynSym.

The variable was marking various cases where a symbol must be included
in the dynamic symbol table. Being used by a dynamic relocation was only
one of them.

LLVM — llvm/trunk/test/CodeGen/PowerPC pr26193.ll

Add the missing test case for PR26193

LLVM — lld/trunk/ELF Writer.cpp OutputSections.cpp

Centralize most calls to setUsedInDynamicReloc.

LLVM — llvm/trunk/include/llvm/IR IntrinsicsPowerPC.td, llvm/trunk/lib/Target/PowerPC PPCInstrAltivec.td

Fix for PR 26193

This is a simple fix for a PowerPC intrinsic that was incorrectly defined
(the return type was incorrect).

LLVM — lldb/trunk/include/lldb/Core ArchSpec.h, lldb/trunk/source/Plugins/ABI/SysV-arm ABISysV_arm.cpp ABISysV_arm.h

Add support to detect arm hard float ABI based binaries for ABISysV_arm

This patch adds logic to detect if underlying binary is using arm hard float abi and use 
that information while handling return values in ABISysV_arm.

Differential revision: http://reviews.llvm.org/D16627

LLVM — cfe/trunk/lib/Format TokenAnnotator.cpp ContinuationIndenter.cpp, cfe/trunk/unittests/Format FormatTest.cpp

clang-format: Fix corner case in template detection.

Before:
  f(a.operator() < A > ());

After:
  f(a.operator()<A>());

LLVM — llvm/trunk/lib/ProfileData CoverageMappingReader.cpp, llvm/trunk/lib/Target/Hexagon HexagonRDFOpt.cpp

Move classes defined in a cpp file into an anonymous namespace.

No functionality change intended.

LLVM — llvm/trunk/tools/llvm-c-test main.c llvm-c-test.h

Prefix external symbols in llvm-c-test.

This makes it less likely to clash with other stuff that might be linked
in by change, e.g. ncurses exposes an external function called simply
"echo", so linking ncurses statically into the binary explodes in funny
ways.

LLVM — llvm/trunk/lib/Target/AArch64 AArch64LoadStoreOptimizer.cpp, llvm/trunk/test/CodeGen/AArch64 ldp-stp-scaled-unscaled-pairs.ll

Revert "[AArch64] Improve load/store optimizer to handle LDUR + LDR (take 3)."

This reverts commit r259812 as it broke AArch64 self-hosting.

LLVM — lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server gdbremote_testcase.py

Bump up the packet timeout for gdbremote tests

Log confirmed that the we are sometimes timing out on the receive, even though the server 
is
sending the correct packets.

LLVM — llvm/trunk/lib/DebugInfo/DWARF DWARFDebugFrame.cpp

[DebugInfo] Eliminate compilation warning about used variable LSDA

The waring was:
lib/DebugInfo/DWARF/DWARFDebugFrame.cpp:643:20: warning: variable ‘LSDA’ set but not used

LLVM — cfe/trunk/lib/StaticAnalyzer/Checkers LocalizationChecker.cpp, cfe/trunk/test/Analysis localization.m

[analyzer] Suppress localization diagnostics in debug classes and methods.

If the class or method name case-insensitively contains the term "debug",
suppress warnings about string constants flowing to user-facing UI APIs.

LLVM — cfe/trunk/lib/CodeGen TargetInfo.cpp, cfe/trunk/test/CodeGenCXX windows-on-arm-stack-probe-size.cpp

CodeGen: correct Windows ARM C++ assertion

Because the Decl is explicitly passed as nullptr further up the call chain, it
is possible to invoke isa on a nullptr, which will assert.  Guard against the
nullptr.

Take the opportunity to reuse the helper method rather than re-implementing this
logic.

LLVM — cfe/trunk CMakeLists.txt, cfe/trunk/tools/driver CMakeLists.txt

[CMake] One more try to make CMake clean up after itself

Seriously... CMake... You're on my list...

LLVM — cfe/trunk CMakeLists.txt, cfe/trunk/tools/driver CMakeLists.txt

Revert "[CMake] Improve the clang order-file generation workflow"

This reverts commit r259862, and attempts to fix builder CMakeCaches.

Will try this again some other time...

Conflicts:

        CMakeLists.txt
        tools/driver/CMakeLists.txt

LLVM — cfe/trunk CMakeLists.txt

[CMake] One more try to fix this.

This change will catch any bots that generated the order file that GNU ld doesn't like and 
delete it before trying to generate one that I think GNU ld will deal with.
Delta File
+5 -0 cfe/trunk/CMakeLists.txt
+5 -0 1 file

LLVM — cfe/trunk CMakeLists.txt

[CMake] Speculative fix for linker error on Linux

I can't reproduce this locally, but I think this may fix it.
Delta File
+2 -2 cfe/trunk/CMakeLists.txt
+2 -2 1 file

LLVM — llvm/trunk/lib/Transforms/Utils LoopUnroll.cpp

[LoopUnrolling] Try harder to avoid rebuilding LCSSA when possible.

In r255133 (reapplied r253126) we started to avoid redundant
recomputation of LCSSA after loop-unrolling. This patch moves one step
further in this direction - now we can avoid it for much wider range of
loops, as we start to look at IR and try to figure out if the
transformation actually breaks LCSSA phis or makes it necessary to
insert new ones.

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

LLVM — llvm/trunk/include/llvm/DebugInfo/CodeView SymbolRecord.h, llvm/trunk/include/llvm/MC MCFragment.h MCCodeView.h

[MC] Add support for encoding CodeView variable definition ranges

CodeView, like most other debug formats, represents the live range of a
variable so that debuggers might print them out.

They use a variety of records to represent how a particular variable
might be available (in a register, in a frame pointer, etc.) along with
a set of ranges where this debug information is relevant.

However, the format only allows us to use ranges which are limited to a
maximum of 0xF000 in size.  This means that we need to split our debug
information into chunks of 0xF000.

Because the layout of code is not known until *very* late, we must use a
new fragment to record the information we need until we can know
*exactly* what the range is.

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

[RS4GC] Pass DenseMap by reference, NFC

Summary:
Passing the rematerialized values map to insertRematerializationStores by
value looks to be a simple oversight; update it to pass by reference.


Reviewers: reames, sanjoy

Subscribers: llvm-commits

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