Displaying 1 50 of 188,269 commits (0.988s)

LLVM — cfe/trunk/include/clang/AST Type.h, cfe/trunk/include/clang/Basic DiagnosticSemaKinds.td

[OpenCL] Implemented restrictions for pointer conversions specified in OpenCL v2.0.

OpenCL v2.0 s6.5.5 restricts conversion of pointers to different address spaces:
- the named address spaces (__global, __local, and __private) => __generic - implicitly 
converted;
- __generic => named - with an explicit cast;
- named <=> named - disallowed;
- __constant <=> any other - disallowed.

LLVM — cfe/trunk/test/Parser opencl-cl20.cl

[OpenCL] Generic address space parsing and diagnostics test (forgotten previously)
Delta File
+26 -0 cfe/trunk/test/Parser/opencl-cl20.cl
+26 -0 1 file

LLVM — cfe/trunk/include/clang/Basic AttrDocs.td Attr.td, cfe/trunk/lib/AST ASTContext.cpp TypePrinter.cpp

[OpenCL] Generic address space has been added in OpenCL v2.0.

To support it in the frontend, the following has been added:  
- generic address space type attribute;
- documentation for the OpenCL address space attributes;
- parsing of __generic(generic) keyword;
- test code for the parser and diagnostics.

LLVM — llvm/trunk/lib/ExecutionEngine/RuntimeDyld RuntimeDyldMachO.cpp

Removing a spurious semicolon; NFC

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

clang-format: [Java] Improve formatting of throws declarations.

Before:
  public void doSoooooooooo() throws LoooooooooongException,
      LooooooooooongException {}

After:
  public void doSoooooooooo()
      throws LoooooooooongException, LooooooooooongException {}

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

clang-format: [Java] Fix breaking after annotations.

Before:
  @Annotation1 // comment
  @Annotation2 class C {}

After:
  @Annotation1 // comment
  @Annotation2
  class C {}

LLVM — llvm/trunk/include/llvm/Support/ELFRelocs AArch64.def, llvm/trunk/lib/Target/AArch64/MCTargetDesc AArch64ELFObjectWriter.cpp

Update AArch64 ELF relocations to ABI 1.0

This mostly entails adding relocations, however there are a couple of
changes to existing relocations:

1. R_AARCH64_NONE is defined to be zero rather than 256

R_AARCH64_NONE has been defined to be zero for a long time elsewhere
e.g. binutils and glibc since the submission of the AArch64 port in
2012 so this is required for compatibility.

2. R_AARCH64_TLSDESC_ADR_PAGE renamed to R_AARCH64_TLSDESC_ADR_PAGE21

I don't think there is any way for relocation names to leak out of LLVM
so this should not break anything.

Tested with check-all with no regressions.

LLVM — llvm/trunk/lib/Target/X86 X86InstrAVX512.td X86ISelLowering.cpp, llvm/trunk/test/CodeGen/X86 avx512er-intrinsics.ll

AVX-512: Scalar ERI intrinsics
including SAE mode and memory operand.
Added AVX512_maskable_scalar template, that should cover all scalar instructions in the 
future.

The main difference between AVX512_maskable_scalar<> and AVX512_maskable<> is using 
X86select instead of vselect.
I need it, because I can't create vselect node for MVT::i1 mask for scalar instruction.

http://reviews.llvm.org/D6378

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

clang-format: Add SFS_Empty to only empty functions on a single line.

Activated for and tested by Google's Java style.

This fixes llvm.org/PR21667.

LLVM — llvm/trunk/include/llvm/Support/ELFRelocs ARM.def, llvm/trunk/test/tools/llvm-readobj reloc-types.test

Update ARM ELF relocations to ABI 2.09

Add R_ARM_IRELATIVE.

LLVM — lldb/trunk/include/lldb/Core IOHandler.h

Re-order the base classes to prevent a crash in Linux.

In the initialization list of IOHandlerConfirm, *this is basically casting
IOHandlerConfirm to its base IOHandlerDelegate and passing it to constructor of
IOHandlerEditline which uses it and crashes as constructor of IOHandlerDelegate
is still not called. Re-ordering the base classes makes sure that constructor of
IOHandlerDelegate runs first.

It would be good to have a test case for this case too.

LLVM — cfe/branches/release_35/test/Driver cl-x86-flags.c

Merging r213769:
------------------------------------------------------------------------
r213769 | askrobov | 2014-07-23 18:09:26 +0100 (Wed, 23 Jul 2014) | 6 lines

Fix test/Driver/cl-x86-flags.c by providing explicit --target

This isn't very neat, but we haven't found any better ways to
make this test work with non-X86 default target.


------------------------------------------------------------------------

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

clang-format: [Java] Support Foo.class;

Before:
  SomeClass.
  class.getName();

After:
  SomeClass.class.getName();

This fixes llvm.org/PR21665.

LLVM — llvm/trunk/lib/ExecutionEngine/MCJIT MCJIT.cpp, llvm/trunk/lib/ExecutionEngine/RuntimeDyld GDBRegistrationListener.cpp

[MCJIT] Re-enable GDB registration (temporarily disabled in r222811), but check
that we actually have an object to register first.

For MachO objects, RuntimeDyld::LoadedObjectInfo::getObjectForDebug returns an
empty OwningBinary<ObjectFile> which was causing crashes in the GDB registration
code.

LLVM — llvm/trunk/lib/ExecutionEngine/MCJIT MCJIT.cpp

[MCJIT] Temporarily disable automatic JIT debugger registration.

The RuntimeDyld cleanup patch r222810 turned on GDB registration for MachO
objects. I expected this to be harmless, but it seems to have broken on
MacsOS. Temporarily disabling debugger registration while I dig in to what's
gone wrong.

LLVM — llvm/trunk/include/llvm/ExecutionEngine ObjectBuffer.h ObjectImage.h, llvm/trunk/lib/ExecutionEngine JITEventListener.cpp ExecutionEngine.cpp

[MCJIT] Clean up RuntimeDyld's quirky object-ownership/modification scheme.

Previously, when loading an object file, RuntimeDyld (1) took ownership of the
ObjectFile instance (and associated MemoryBuffer), (2) potentially modified the
object in-place, and (3) returned an ObjectImage that managed ownership of the
now-modified object and provided some convenience methods. This scheme accreted
over several years as features were tacked on to RuntimeDyld, and was both
unintuitive and unsafe (See e.g. http://llvm.org/PR20722).

This patch fixes the issue by removing all ownership and in-place modification
of object files from RuntimeDyld. Existing behavior, including debugger
registration, is preserved.

Noteworthy changes include:

(1) ObjectFile instances are now passed to RuntimeDyld by const-ref.
(2) The ObjectImage and ObjectBuffer classes have been removed entirely, they
    existed to model ownership within RuntimeDyld, and so are no longer needed.
(3) RuntimeDyld::loadObject now returns an instance of a new class,
    RuntimeDyld::LoadedObjectInfo, which can be used to construct a modified
    object suitable for registration with the debugger, following the existing
    debugger registration scheme.
(4) The JITRegistrar class has been removed, and the GDBRegistrar class has been
    re-written as a JITEventListener.

This should fix http://llvm.org/PR20722 .

LLVM — llvm/trunk/docs/TableGen index.rst, llvm/trunk/include/llvm/Target Target.td

Remove neverHasSideEffects support from TableGen CodeGenInstruction. Everyone should use 
hasSideEffects now.

LLVM — llvm/trunk/include/llvm module.modulemap

Try to make the modules buildbot happy again.

LLVM — cfe/trunk/include/clang/Basic DiagnosticSemaKinds.td, cfe/trunk/include/clang/Sema Sema.h

[c++1z] Most of N4268 (allow constant evaluation for non-type template arguments).

We don't yet support pointer-to-member template arguments that have undergone
pointer-to-member conversions, mostly because we don't have a mangling for them yet.

LLVM — llvm/trunk/bindings/go/llvm executionengine.go

Reformat with gofmt.

LLVM — llvm/trunk/bindings/go/llvm executionengine.go executionengine_test.go

Make SetMCJITOptimizationLevel more of a method and pass options
as a reference. Move closer to the type.

LLVM — llvm/trunk/bindings/go/llvm executionengine.go executionengine_test.go

Make sure that the go bindings call LLVMInitializeMCJITCompilerOptions
so that they initialize the code generation model to the correct
(non-zero) default model.

LLVM — llvm/trunk/include/llvm/Target Target.td, llvm/trunk/lib/Target/AArch64 AArch64InstrInfo.td AArch64InstrFormats.td

Replace neverHasSideEffects=1 with hasSideEffects=0 in all .td files.

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

CodeGen: Fix emission of __atomic_compare_exchange

We (wrongly) discarded the return value of the call.

LLVM — cfe/trunk/lib/Sema SemaExpr.cpp, cfe/trunk/test/SemaCXX typo-correction-delayed.cpp

Ensure that any TypoExprs in the arguments to bultins with custom type
checking are handled before the custom type checking is performed.

Fixes PR21669.

LLVM — llvm/trunk/lib/Target/X86 X86ISelLowering.cpp, llvm/trunk/test/CodeGen/X86 vector-shuffle-128-v4.ll vector-shuffle-128-v2.ll

[X86][SSE] Improvements to byte shift shuffle matching

Since (v)pslldq / (v)psrldq instructions resolve to a single input argument it is useful 
to match it much earlier than we currently do - this prevents more complicated shuffles 
(notably insertion into a zero vector) matching before it.

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

LLVM — llvm/trunk/lib/Target/Hexagon HexagonInstrInfo.td, llvm/trunk/test/MC/Hexagon inst_add64.ll inst_sub64.ll

[Hexagon] Adding add64 and sub64 instructions.

LLVM — libcxx/trunk/include tuple __locale, libcxx/trunk/include/support/solaris xlocale.h

Fixes to get libc++ building on sun solaris. Patch from C Bergstrom.

LLVM — llvm/trunk/lib/Target/Hexagon HexagonInstrInfo.td, llvm/trunk/test/MC/Hexagon inst_cmp_gti.ll inst_cmp_eqi.ll

Reverting 222792

LLVM — llvm/trunk/lib/Target/Hexagon HexagonInstrInfo.td, llvm/trunk/test/MC/Hexagon inst_cmp_gti.ll inst_cmp_eqi.ll

[Hexagon] Adding compare with immediate instructions.

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

[Hexagon] Adding NOP encoding bits.

LLVM — llvm/trunk/bindings/go/llvm DIBuilderBindings.cpp DIBuilderBindings.h

Go bindings: add DIBuilder.InsertValueAtEnd

Expose llvm::DIBuilder::insertDbgValueIntrinsic as
DIBuilder.InsertValueAtEnd in the Go bindings, to support attaching
debug metadata to register values.

Patch by Andrew Wilkins!

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

LLVM — llvm/trunk/lib/Target/R600 SIFixSGPRCopies.cpp

R600/SI: Only use one DEBUG()

LLVM — llvm/trunk/test/tools/gold stats.ll

This test requires asserts because of -stats.

Sorry about that.

LLVM — llvm/trunk/test/tools/gold stats.ll, llvm/trunk/tools/gold gold-plugin.cpp

gold plugin: call llvm_shutdown so that -stats works.

LLVM — llvm/trunk/include/llvm/IR IntrinsicsX86.td, llvm/trunk/lib/Target/X86 X86InstrAVX512.td X86IntrinsicsInfo.h

[AVX512] Add 512b integer shift by variable intrinsics and patterns.

LLVM — llvm/trunk/test/MC/Hexagon inst_add.ll inst_and.ll

[Hexagon] [NFC] Adding trailing whitespace to test files.

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

[Hexagon] Adding C2_mux instruction.

LLVM — llvm/trunk/utils/TableGen AsmMatcherEmitter.cpp

Remove unncessary check for Int_* and *_Int in AsmMatcherEmitter. These are all marked 
isCodeGenOnly these days.

LLVM — llvm/trunk/utils/TableGen AsmMatcherEmitter.cpp AsmWriterEmitter.cpp

Use range-based for loops.

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

Remove dead code.

LLVM — llvm/trunk/utils/TableGen AsmWriterEmitter.cpp

Remove unused MaxSize variable.

LLVM — llvm/trunk/utils/TableGen AsmWriterEmitter.cpp

Move a vector instead of copying it.

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

Remove space before tab in all AVX512 mnemonic strings.
Delta File
+137 -137 llvm/trunk/lib/Target/X86/X86InstrAVX512.td
+137 -137 1 file

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

When a process stops, set the StopInfo object on Windows.

LLVM — lldb/trunk/source/Plugins/Process/Windows ProcessWindows.h ProcessWindows.cpp, lldb/trunk/test/lang/cpp/virtual TestVirtual.py

Disable GetSTDOUT, GetSTDERR, and PutSTDIN on Windows.

These methods are difficult / impossible to implement in a way
that is semantically equivalent to the expectations set by LLDB
for using them.  In the future, we should find an alternative
strategy (for example, i/o redirection) for achieving similar
functionality, and hopefully deprecate these APIs someday.

LLVM — lldb/trunk/include/lldb lldb-private-types.h

Add some more comments explaining the purpose of some Register classes.

LLVM — llvm/trunk/test/Transforms/SimplifyCFG/X86 switch_to_lookup_table.ll

Remove useless rdar:// comment from switch_to_lookup_table.ll test.

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

[Hexagon] Replacing cmp* instructions with ones that contain encoding bits.