Displaying 1 50 of 188,091 commits (0.012s)

LLVM — cfe/trunk/test/CodeGenCXX vla-lambda-capturing.cpp

Support matching signext attribute in vla-lambda-capturing test to appease 
clang-cmake-mips builder.

The Mips target adds the signext attribute to signed 32-bit integers in order
to support the N32/N64 correctly. Integers must be promoted to 64-bit bit on
these ABI's.

LLVM — cfe/trunk/lib/CodeGen CGAtomic.cpp, cfe/trunk/test/CodeGen atomic-ops.c

CodeGen: Make atomic operations play nice with address spaces

We were being a little sloppy with our pointer/address space casts.

This fixes PR21643.

LLVM — llvm/trunk/lib/Target/X86 X86ISelLowering.cpp

[x86] Teach the vector shuffle yet another step of canonicalization.

No functionality changed yet, but this will prevent subsequent patches
from having to handle permutations of various interleaved shuffle
patterns.

LLVM — llvm/trunk/lib/Transforms/InstCombine InstCombineMulDivRem.cpp, llvm/trunk/test/Transforms/InstCombine mul.ll

InstCombine: Propagate NSW/NUW for X*(1<<Y) -> X<<Y

LLVM — llvm/trunk/lib/Transforms/InstCombine InstCombineMulDivRem.cpp, llvm/trunk/test/Transforms/InstCombine mul.ll

InstCombine: Propagate NSW for -X * -Y -> X * Y

LLVM — llvm/trunk/lib/Analysis InstructionSimplify.cpp, llvm/trunk/test/Transforms/InstSimplify AndOrXor.ll

InstSimplify: Simplify (sub 0, X) -> X if it's NUW

This is a generalization of the X - (0 - Y) -> X transform.

LLVM — cfe/trunk/lib/AST MicrosoftMangle.cpp

Simplify MicrosoftMangleContextImpl::shouldMangleStringLiteral

No functionality changed.

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

InstCombine: Silence a parenthesis warning

LLVM — lldb/trunk/test/functionalities/asan TestMemoryHistory.py TestReportData.py, lldb/trunk/test/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist TestInitializerList.py

Mark 9 lldb unit tests for ubuntu as XFAIL.

The following lldb unit tests fail check-lldb on ubuntu:

TestDataFormatterStdMap.py
TestDataFormatterStdVBool.py
TestDataFormatterStdVector.py
TestDataFormatterSynthVal.py
TestEvents.py
TestInitializerList.py
TestMemoryHistory.py
TestReportData.py
TestValueVarUpdate.py

These unit test failures are for non-core functionality. The intent is to
reduce the check-lldb FAILS to core functionality FAILS and then circle
back later and fix these FAILS at a later date.

LLVM — llvm/trunk/test/CodeGen/X86 vector-shuffle-256-v4.ll vector-shuffle-256-v32.ll

[x86] Add some tests for a common unpack pattern of vector shuffle that
has a remarkably unique and efficient lowering.

While we get this some of the time already, we miss a few cases and
there wasn't a principled reason we got it. We should at least test
this. v8 already has tests for this pattern.

LLVM — llvm/trunk/lib/Transforms/InstCombine InstCombineMulDivRem.cpp, llvm/trunk/test/Transforms/InstCombine add2.ll div.ll

InstCombine: Preserve nsw when folding X*(2^C) -> X << C

LLVM — llvm/trunk/lib/Transforms/InstCombine InstCombineMulDivRem.cpp, llvm/trunk/test/Transforms/InstCombine mul.ll

InstCombine: Preserve nsw/nuw for ((X << C2)*C1) -> (X * (C1 << C2))

LLVM — llvm/trunk/lib/Transforms/InstCombine InstCombineMulDivRem.cpp, llvm/trunk/test/Transforms/InstCombine mul.ll

InstCombine: Preserve nsw for (mul %V, -1) -> (sub 0, %V)

LLVM — cfe/trunk/include/clang/Sema Sema.h, cfe/trunk/lib/Sema SemaDeclCXX.cpp SemaExceptionSpec.cpp

Delay checking overrides for exception specifications if the overridden
specification has not yet been parsed.

LLVM — lldb/trunk/source/Plugins/SymbolFile/DWARF DWARFFormValue.cpp DWARFDebugInfoEntry.cpp

Fixed an issue where a DW_FORM_ref{2,4,8} might be extracted incorrectly because the wrong 
compile unit was being used to calculate the compile unit relative offset. 

This was fixed by making the DWARFFormValue contain the compile unit that it needs so it 
can decode its form value correctly. Any form value that requires a compile unit will now 
assert. If any of the assertions that were added are triggered, then code that led to the 
extraction of the form value without properly setting the compile unit must be fixed 
immediately. 

<rdar://problem/19035440>

LLVM — lldb/trunk/source/Plugins/Process/Utility UnwindLLDB.cpp RegisterContextLLDB.cpp

When a RegisterContext produces an invalid CFA address, change
UnwindLLDB::AddOneMoreFrame to try the fallback unwind plan on
that same stack frame before it tries the fallback unwind plan
on the "next" or callee frame.

In RegisterContextLLDB::TryFallbackUnwindPlan, when we're
trying the fallback unwind plan to see if it is valid, make
sure we change all of the object ivars that might be used in
the process of fetching the CFA & caller's saved pc value 
and restore those if we decide not to use the fallback 
unwindplan.

<rdar://problem/19035079>

LLVM — lldb/trunk/include/lldb/Core Debugger.h, lldb/trunk/include/lldb/Host Host.h

This is the first step of making lldb able to create target-specific things
(e.g. breakpoints, stop-hooks) before we have any targets - for instance in 
your ~/.lldbinit file.  These will then get copied over to any new targets 
that get created.  So far, you can only make stop-hooks.

Breakpoints will have to learn to move themselves from target to target for
us to get them from no-target to new-target.

We should also make a command & SB API way to prime this ur-target.

LLVM — lldb/trunk/tools/driver Driver.cpp Driver.h

Make the sourcing of the local .lldbinit file quiet.

<rdar://problem/19065278>

LLVM — lldb/trunk/source/Plugins/Process/Windows RegisterContextWindows_x86.cpp RegisterContextWindows_x86.h

[ProcessWindows] Clean up the register definitions array.

LLVM — lldb/trunk/www varformats.html

Just a few words to introduce the extra optional argument to Python summaries
Delta File
+4 -0 lldb/trunk/www/varformats.html
+4 -0 1 file

LLVM — lldb/trunk/include/lldb lldb-forward.h, lldb/trunk/include/lldb/API SBTypeSummary.h

Enable Python summaries to use custom SBTypeSummaryOptions if the user is so inclined. 
Updates to the webdoc will follow

LLVM — lldb/trunk/scripts/Python/interface SBDeclaration.i SBLineEntry.i

Fix mispelled 'ling' Python property to be 'line' in
SBLineEntry and SBDeclaration.  Patch from Chris Willmore.
<rdar://problem/19054323>

LLVM — cfe/trunk/lib/AST MicrosoftMangle.cpp, cfe/trunk/test/CodeGenCXX mangle-ms-string-literals.cpp

MS ABI: Mangle u8 string literals

UTF8 string literals are mangled just like ASCII string literals.

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

[InstCombine] Re-commit of  r218721 (Optimize icmp-select-icmp sequence)

Fixes the self-host fail. Note that this commit activates dominator
analysis in the combiner by default (like the original commit did).

LLVM — lldb/trunk/test/functionalities/stop-hook TestStopHookMechanism.py

Remove print statement that was accidentally left in.

LLVM — llvm/trunk/lib/Target/ARM/AsmParser ARMAsmParser.cpp, llvm/trunk/test/MC/ARM basic-arm-instructions.s

Fix transformation of add with pc argument to adr for non-immediate
arguments.

LLVM — llvm/trunk/lib/Transforms/Instrumentation AddressSanitizer.cpp, llvm/trunk/test/Instrumentation/AddressSanitizer keep-instrumented_functions.ll

[asan] remove old experimental code

LLVM — llvm/trunk/test/CodeGen/R600 ds_read2_offset_order.ll

R600/SI: Add a failing test case for offset order in ds_read2 instructions

LLVM — llvm/trunk/lib/Target/R600 SIInstrInfo.cpp SIInstructions.td

R600/SI: Add an s_mov_b32 to patterns which use the M0RegClass

We need to use a s_mov_b32 rather than a copy, so that CSE will
eliminate redundant moves to the m0 register.

LLVM — llvm/trunk/lib/Target/R600 SILowerControlFlow.cpp SIInstrInfo.td, llvm/trunk/test/CodeGen/R600 shl_add_ptr.ll

R600/SI: Emit s_mov_b32 m0, -1 before every DS instruction

This s_mov_b32 will write to a virtual register from the M0Reg
class and all the ds instructions now take an extra M0Reg explicit
argument.

This change is necessary to prevent issues with the scheduler
mixing together instructions that expect different values in the m0
registers.

LLVM — lldb/trunk/include/lldb/API SBValueList.h, lldb/trunk/scripts/Python/interface SBValueList.i

Per off-list feedback, this API returns the *first* value with a given name, not the 
*only* one. Rename it to reflect that

LLVM — llvm/trunk/lib/Target/R600 SIFoldOperands.cpp AMDGPU.h, llvm/trunk/test/CodeGen/R600 operand-folding.ll local-atomics.ll

R600/SI: Add SIFoldOperands pass

This pass attempts to fold the source operands of mov and copy
instructions into their uses.

LLVM — llvm/trunk/lib/Target/Mips MipsDelaySlotFiller.cpp MipsLongBranch.cpp, llvm/trunk/test/CodeGen/Mips micromips-compact-branches.ll micromips-atomic.ll

[mips][microMIPS] This patch implements functionality in MIPS delay slot
filler such as if delay slot filler have to put NOP instruction into the
delay slot of microMIPS BEQ or BNE instruction which uses the register $0,
then instead of emitting NOP this instruction is replaced by the corresponding
microMIPS compact branch instruction, i.e. BEQZC or BNEZC.

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

LLVM — llvm/trunk/lib/Target/R600 SIInstructions.td

R600/SI: Mark s_mov_b32 and s_mov_b64 as rematerializable

LLVM — llvm/trunk/test/CodeGen/R600 sgpr-copy.ll

R600/SI: Use hex notation for constant in test

LLVM — llvm/trunk/lib/Target/Hexagon HexagonInstrInfo.cpp HexagonInstrInfo.td, llvm/trunk/test/MC/Hexagon inst_sxth.ll

[Hexagon] Adding sxth instruction.

LLVM — lldb/trunk/include/lldb/API SBValueList.h, lldb/trunk/scripts/Python/interface SBValueList.i

Add an API on SBValueList to find the first value with a given name stored in the list

LLVM — llvm/trunk/lib/Target/Hexagon HexagonInstrInfo.td HexagonInstrInfo.cpp, llvm/trunk/test/MC/Hexagon inst_sxtb.ll

[Hexagon] Adding sxtb instruction.  Renaming some identically named classes that will be 
removed after converting referencing defs.

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

[asan] add statistic counter to dynamic alloca instrumentation

LLVM — llvm/trunk/lib/Target/Hexagon HexagonInstrInfo.td HexagonInstrInfo.cpp

[Hexagon] Removing SUB_rr and replacing with A2_sub.

LLVM — cfe/trunk/lib/Sema ScopeInfo.cpp, cfe/trunk/test/SemaObjC arc-repeated-weak.mm

Objective-C ARC. Fixes a crash when checking for 'weak' propery 
whose base is not an expression. rdar://19053620

LLVM — cfe/trunk/include/clang/Basic DiagnosticSemaKinds.td, cfe/trunk/lib/Sema SemaExprCXX.cpp

Sema: Don't permit variably modified types in typeid

GCC and ICC both reject this and the 'Runtime-sized arrays with
automatic storage duration' (N3639) paper forbade this as well.
Previously, we would crash on our way to mangling.

This fixes PR21632.

LLVM — cfe/trunk/include/clang/Basic DiagnosticSemaKinds.td DiagnosticGroups.td, cfe/trunk/lib/Sema SemaCast.cpp

Implement -Wcast-qual, fixing #13772.

Many thanks to dblaikie for his advices and suggestions!

LLVM — llvm/trunk/lib/Object ELFYAML.cpp

Remove duplication of relocation names in lib/Object/ELFYAML.cpp

We can now use the ELF relocation .def files to create the mapping
of relocation numbers to names and avoid having to duplicate the
list of relocations.

Patch by Will Newton.
Delta File
+7 -330 llvm/trunk/lib/Object/ELFYAML.cpp
+7 -330 1 file

LLVM — llvm/trunk/lib/Object ELF.cpp

Remove duplication of relocation names in lib/Object/ELF.cpp

We can now use the ELF relocation .def files to create the mapping
of relocation numbers to names and avoid having to duplicate the
list of relocations.

Patch by Will Newton.
Delta File
+14 -742 llvm/trunk/lib/Object/ELF.cpp
+14 -742 1 file

LLVM — llvm/trunk/include/llvm/Support ELF.h ELFRelocs, llvm/trunk/include/llvm/Support/ELFRelocs ARM.def AArch64.def

Split ELF relocation defintions into per-architecture .def files

This should allow the list of relocations for a particular
architecture to be kept in a single header rather than duplicated
whenever we need to enumerate all the relocations.

Patch by Will Newton.

LLVM — cfe/trunk/lib/AST MicrosoftMangle.cpp, cfe/trunk/test/CodeGenCXX mangle-ms-string-literals.cpp

MS ABI: Mangle char16_t and char32_t string literals

We previously had support for char and wchar_t string literals.  VS 2015
added support for char16_t and char32_t.

String literals must be mangled in the MS ABI in order for them to be
deduplicated across translation units: their linker has no notion of
mergeable section.  Instead, they use the mangled name to make a COMDAT
for the string literal; the COMDAT will merge with other COMDATs in
other object files.

This allows strings in object files generated by clang to get merged
with strings in object files generated by MSVC.

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

Debug Info: revert r222195, r222210 and r222239.

This is no longer needed after David's fix at r222377 + r222485.
rdar://18958417

LLVM — llvm/trunk/lib/Transforms/IPO PassManagerBuilder.cpp

Disable header duplication at -Oz in loop-rotate pass.

LLVM — llvm/trunk/lib/IR DIBuilder.cpp

Debug Info: add an assertion that the context field of a global variable can not
be a DIType with identifier.

This makes sure that there is no need to use DIScopeRef for global variable's
context.

rdar://18958417
Delta File
+8 -1 llvm/trunk/lib/IR/DIBuilder.cpp
+8 -1 1 file