[llvm-testresults] buildbot failure in lab.llvm.org on phase3 - tree health

llvmlab-buildmaster at lab.llvm.org llvmlab-buildmaster at lab.llvm.org
Mon Oct 7 16:44:04 PDT 2013


The Buildbot has detected a new failure on builder phase3 - tree health while building lab.llvm.org.
Full details are available at:
 http://lab.llvm.org:8013/builders/phase3%20-%20tree%20health/builds/1969

Buildbot URL: http://lab.llvm.org:8013/

Buildslave for this Build: macpro1

Build Reason: scheduler
Build Source Stamp: 192115
Blamelist: aaronballman,adrian,aemerson,ahatanak,akaylor,akirtzidis,alp,amaury.dlv,arnolds,arsenm,atanasyan,chapuni,ctopper,d0k,dblaikie,delena,delesley,djasper,dmalea,dvyukov,echristo,emaste,enrico,eugenis,faisalv,fjahanian,hfinkel,jacksprat,jaykang10,jiangning,jmolenda,joey,jrose,klimek,logan,majnemer,matze,mcrosier,mcurtis,mikesart,mren,nicholas,nico,pete,qcolombet,rafael,resistor,revane,rkotler,rmitton,rsmith,rudkx,samsonov,spyffe,sylvestre,timurrrr,tmroeder,tnorthover,venkatra

BUILD FAILED: failed

sincerely,
 -The Buildbot


================================================================================

CHANGES:
File: tools/lli/Unix/RemoteTargetExternal.inc
On: smooshlab-project
At: Wed 02 Oct 2013 15:06:30
Changed By: d0k
Comments: Add newline at eof.Properties: 
  phase_id: r191858-t20131002_150830-b12273



Files:
 include/clang/Driver/Options.td
 lib/Frontend/CompilerInvocation.cpp
On: smooshlab-project
At: Wed 02 Oct 2013 15:06:30
Changed By: fjahanian
Comments: ObjectiveC migrator: Add more options one for each
kind of migration. // rdar://15003157

Properties: 
  phase_id: r191858-t20131002_150830-b12273



Files:
 include/llvm-c/Disassembler.h
 lib/MC/MCDisassembler/Disassembler.cpp
 lib/MC/MCDisassembler/Disassembler.h
On: smooshlab-project
At: Wed 02 Oct 2013 15:16:30
Changed By: qcolombet
Comments: [llvm-c][Disassembler] Add an option to print latency information in
disassembled output alongside the instructions.
E.g., on a vector shuffle operation with a memory operand, disassembled
outputs are:
* Without the option:
    vpshufd $-0x79, (%rsp), %xmm0
    
* With the option:
    vpshufd $-0x79, (%rsp), %xmm0   ## Latency: 5

The printed latency is extracted from the schedule model available in the
disassembler context. Thus, this option has no effect if there is not a
scheduling model for the target.
This boils down to one may need to specify the CPU string, so that this
option could have an effect.

Note: Latency < 2 are not printed.

This part of <rdar://problem/14687488>.
Properties: 
  phase_id: r191862-t20131002_154830-b12276



File: source/Plugins/Process/Utility/RegisterContextLLDB.cpp
On: smooshlab-project
At: Wed 02 Oct 2013 15:16:30
Changed By: jmolenda
Comments: Tweak logging messages from Ed's prev commit to make it a little more
clear what is happening in this case.
Properties: 
  phase_id: r191862-t20131002_154830-b12276



Files:
 test/CMakeLists.txt
 tools/lli/ChildTarget/LLVMBuild.txt
 tools/lli/LLVMBuild.txt
On: smooshlab-project
At: Wed 02 Oct 2013 15:36:30
Changed By: akaylor
Comments: Fixing lli-child-target buildProperties: 
  phase_id: r191862-t20131002_154830-b12276



Files:
 lib/Transforms/Vectorize/LoopVectorize.cpp
 test/Transforms/LoopVectorize/runtime-check-address-space.ll
 test/Transforms/LoopVectorize/runtime-check-readonly-address-space.ll
On: smooshlab-project
At: Wed 02 Oct 2013 15:46:30
Changed By: arsenm
Comments: Don't use runtime bounds check between address spaces.

Don't vectorize with a runtime check if it requires a
comparison between pointers with different address spaces.
The values can't be assumed to be directly comparable.
Previously it would create an illegal bitcast.Properties: 
  phase_id: r191862-t20131002_154830-b12276



Files:
 lib/ARCMigrate/ObjCMT.cpp
 test/ARCMT/objcmt-arc-cf-annotations.m
 test/ARCMT/objcmt-arc-cf-annotations.m.result
 test/ARCMT/objcmt-instancetype-2.m
 test/ARCMT/objcmt-instancetype-2.m.result
 test/ARCMT/objcmt-instancetype.m
 test/ARCMT/objcmt-instancetype.m.result
 test/ARCMT/objcmt-ns-macros.m
 test/ARCMT/objcmt-ns-macros.m.result
 test/ARCMT/objcmt-ns-returns-inner-pointer.m
 test/ARCMT/objcmt-ns-returns-inner-pointer.m.result
 test/ARCMT/objcmt-protocol-conformance.m
 test/ARCMT/objcmt-protocol-conformance.m.result
On: smooshlab-project
At: Wed 02 Oct 2013 15:56:34
Changed By: fjahanian
Comments: ObjectiveC migrator: Add individual options and
enable them for distinct feature migration.
// rdar://15003157
Properties: 
  phase_id: r191864-t20131002_161834-b12278



File: lib/MC/MCDisassembler/Disassembler.cpp
On: smooshlab-project
At: Wed 02 Oct 2013 16:16:30
Changed By: qcolombet
Comments: [llvm-c][Disassembler] When printing latency information, skip scheduling
classes that are marked as Variant as those require an MI to pass to
SubTargetInfo::resolveSchedClass.

This is part of <rdar://problem/14687488>.
Properties: 
  phase_id: r191864-t20131002_161834-b12278



File: tools/gold/gold-plugin.cpp
On: smooshlab-project
At: Wed 02 Oct 2013 17:16:34
Changed By: rafael
Comments: Dispose the codegen even when just writing the bitcode file.

This makes it possible to add timers to the code generator and still use them
with -plugin-opt=emit-llvm.Properties: 
  phase_id: r191866-t20131002_171834-b12279



File: test/settings/TestSettings.py
On: smooshlab-project
At: Wed 02 Oct 2013 18:56:30
Changed By: rmitton
Comments: Fixed TestSettings.py to correctly restore the frame format string.

This fixes TestBreakpointCommand.Properties: 
  phase_id: r191868-t20131002_185830-b12280



File: source/DataFormatters/ValueObjectPrinter.cpp
On: smooshlab-project
At: Wed 02 Oct 2013 19:10:30
Changed By: enrico
Comments: <rdar://problem/15118409>

Fix an issue with the new ValueObjectPrinter where in some cases spurious \n would be printed

Properties: 
  phase_id: r191869-t20131002_191230-b12281



Files:
 include/llvm/CodeGen/ValueTypes.h
 include/llvm/CodeGen/ValueTypes.td
 include/llvm/IR/Intrinsics.td
 lib/IR/ValueTypes.cpp
 utils/TableGen/CodeGenTarget.cpp
On: smooshlab-project
At: Wed 02 Oct 2013 20:36:30
Changed By: pete
Comments: Add v4f16 to supported value types.

This is useful for some ARM intrinsics such as VCVTN which does a <4 x float> <-> <4 x half> conversion.
Properties: 
  phase_id: r191870-t20131002_203830-b12282



Files:
 include/llvm/IR/IntrinsicsX86.td
 lib/Target/X86/X86ISelLowering.cpp
 lib/Target/X86/X86InstrInfo.td
 test/CodeGen/X86/tbm-intrinsics-x86_64.ll
 test/CodeGen/X86/tbm_patterns.ll
On: smooshlab-project
At: Wed 02 Oct 2013 21:20:34
Changed By: ctopper
Comments: Add patterns for selecting TBM instructions from logical operations. Patch from Yunzhong Gao.Properties: 
  phase_id: r191873-t20131002_215644-b12285



Files:
 include/clang/Basic/BuiltinsX86.def
 lib/Headers/tbmintrin.h
 test/CodeGen/tbm-builtins.c
On: smooshlab-project
At: Wed 02 Oct 2013 21:26:30
Changed By: ctopper
Comments: Change __builtin_ia32_bextri_u64 to take an i64imm to match up with LLVM backend changes.

An explicit cast is still needed in tbmintrin.h to convert any big integer down to i32imm.

Patch from Yunzhong Gao.

Properties: 
  phase_id: r191873-t20131002_215644-b12285



File: test/CodeGen/X86/tbm_patterns.ll
On: smooshlab-project
At: Wed 02 Oct 2013 21:36:30
Changed By: ctopper
Comments: Remove duplicated test cases that occurred when I applied the same patch file to my model twice.Properties: 
  phase_id: r191873-t20131002_215644-b12285



Files:
 lib/Target/X86/Disassembler/X86DisassemblerDecoder.c
 lib/Target/X86/Disassembler/X86DisassemblerDecoder.h
 lib/Target/X86/Disassembler/X86DisassemblerDecoderCommon.h
 lib/Target/X86/X86InstrInfo.td
 lib/Target/X86/X86InstrXOP.td
 test/MC/Disassembler/X86/simple-tests.txt
 test/MC/X86/avx512-encodings.s
 utils/TableGen/X86DisassemblerTables.cpp
 utils/TableGen/X86DisassemblerTables.h
 utils/TableGen/X86RecognizableInstr.cpp
On: smooshlab-project
At: Wed 02 Oct 2013 22:26:30
Changed By: ctopper
Comments: Add XOP disassembler support. Fixes PR13933.Properties: 
  phase_id: r191874-t20131002_222830-b12286



Files:
 lib/Sema/SemaTemplateInstantiate.cpp
 lib/Sema/SemaTemplateInstantiateDecl.cpp
 lib/Sema/TreeTransform.h
 test/CXX/expr/expr.prim/expr.prim.lambda/generic-lambda-unimplemented-1y.cpp
 test/SemaCXX/cxx1y-generic-lambdas.cpp
On: smooshlab-project
At: Wed 02 Oct 2013 22:40:30
Changed By: faisalv
Comments: Teach TreeTransform and family how to transform generic lambdas within templates and nested within themselves.
  
This does not yet include capturing (that is next).

Please see test file for examples.

This patch was LGTM'd by Doug:
http://llvm-reviews.chandlerc.com/D1784
Properties: 
  phase_id: r191880-t20131002_234744-b12291



Files:
 lib/Sema/SemaTemplateInstantiate.cpp
 lib/Sema/SemaTemplateInstantiateDecl.cpp
 lib/Sema/TreeTransform.h
 test/CXX/expr/expr.prim/expr.prim.lambda/generic-lambda-unimplemented-1y.cpp
 test/SemaCXX/cxx1y-generic-lambdas.cpp
On: smooshlab-project
At: Wed 02 Oct 2013 23:06:30
Changed By: faisalv
Comments: Revert changes from the nested lambdas commit till i figure out 
why the buildbots are failing.

Properties: 
  phase_id: r191880-t20131002_234744-b12291



File: lib/Target/X86/Disassembler/X86DisassemblerDecoder.h
On: smooshlab-project
At: Wed 02 Oct 2013 23:26:30
Changed By: ctopper
Comments: Remove comma from the end of an enum.Properties: 
  phase_id: r191880-t20131002_234744-b12291



Files:
 include/clang/AST/Mangle.h
 lib/AST/ASTContext.cpp
 lib/AST/ItaniumMangle.cpp
 lib/AST/MicrosoftMangle.cpp
 lib/CodeGen/CGVTT.cpp
 lib/CodeGen/CGVTables.cpp
 lib/CodeGen/ItaniumCXXABI.cpp
 lib/CodeGen/MicrosoftCXXABI.cpp
 lib/CodeGen/MicrosoftVBTables.cpp
On: smooshlab-project
At: Wed 02 Oct 2013 23:30:30
Changed By: timurrrr
Comments: Extract ABI-specific parts of MangleContext into separate classes

Reviewed at http://llvm-reviews.chandlerc.com/D1807Properties: 
  phase_id: r191880-t20131002_234744-b12291



Files:
 lib/Sema/SemaTemplateInstantiate.cpp
 lib/Sema/SemaTemplateInstantiateDecl.cpp
 lib/Sema/TreeTransform.h
 test/CXX/expr/expr.prim/expr.prim.lambda/generic-lambda-unimplemented-1y.cpp
 test/SemaCXX/cxx1y-generic-lambdas.cpp
On: smooshlab-project
At: Wed 02 Oct 2013 23:36:30
Changed By: faisalv
Comments: Teach TreeTransform and family how to transform generic lambdas within templates and nested within themselves.
  
This does not yet include capturing (that is next).

Please see test file for examples.

This patch was LGTM'd by Doug:
http://llvm-reviews.chandlerc.com/D1784
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20130930/090048.html

When I first committed this patch - a bunch of buildbots were unable to compile the code that VS2010 seemed to compile.  Seems like there was a dependency on Sema/Template.h which VS did not seem to need, but I have now added for the other compilers.  It still compiles on Visual Studio 2010 - lets hope the buildbots remain quiet (please!)Properties: 
  phase_id: r191880-t20131002_234744-b12291



File: lib/Target/X86/Disassembler/X86DisassemblerDecoder.c
On: smooshlab-project
At: Wed 02 Oct 2013 23:36:30
Changed By: ctopper
Comments: Replace C++ style comment with a C style comment to satisfy some of the build bots.Properties: 
  phase_id: r191880-t20131002_234744-b12291



File: source/Plugins/Process/Utility/RegisterContextLLDB.cpp
On: smooshlab-project
At: Thu 03 Oct 2013 01:06:30
Changed By: jmolenda
Comments: Change two new logging messages from verbose-only to non-verbose
in the unwinder - they're important to flag when debugging an
unwind problem.
Properties: 
  phase_id: r191882-t20131003_010830-b12292



File: make/platform/clang_linux.mk
On: smooshlab-project
At: Thu 03 Oct 2013 01:36:30
Changed By: eugenis
Comments: [asan] Don't require X86 to build Android runtime.

Patch by Greg Fitzgerald.
Properties: 
  phase_id: r191885-t20131003_023830-b12295



Files:
 lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
 lib/CodeGen/AsmPrinter/DwarfDebug.cpp
 lib/CodeGen/AsmPrinter/DwarfDebug.h
 test/DebugInfo/X86/dwarf-aranges-no-dwarf-labels.ll
On: smooshlab-project
At: Thu 03 Oct 2013 02:00:30
Changed By: samsonov
Comments: Remove wild .debug_aranges entries generated from unimportant labels

r191052 added emitting .debug_aranges to Clang, but this
functionality is broken: it uses all MC labels added in DWARF Asm
printer, including the labels for build relocations between
different DWARF sections, like .Lsection_line or .Ldebug_loc0.

As a result, if any DIE .debug_info would contain "DW_AT_location=0x123"
attribute, .debug_aranges would also contain a range starting from 0x123,
breaking tools that rely on this section.

This patch fixes this by using only MC labels that corresponds to the
addresses in the user program.
Properties: 
  phase_id: r191885-t20131003_023830-b12295



Files:
 lib/Target/ARM/ARMBaseInstrInfo.cpp
 lib/Target/ARM/ARMFeatures.h
 lib/Target/ARM/ARMInstrInfo.td
 lib/Target/ARM/ARMInstrThumb.td
 lib/Target/ARM/ARMInstrThumb2.td
 lib/Target/ARM/AsmParser/ARMAsmParser.cpp
 lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
 test/MC/ARM/deprecated-v8.s
 test/MC/ARM/v8_IT_manual.s
On: smooshlab-project
At: Thu 03 Oct 2013 02:36:30
Changed By: aemerson
Comments: [ARM] Warn on deprecated IT blocks in v8 AArch32 assembly.

Patch by Artyom Skrobov.
Properties: 
  phase_id: r191885-t20131003_023830-b12295



File: lib/Target/X86/X86InstrAVX512.td
On: smooshlab-project
At: Thu 03 Oct 2013 05:10:30
Changed By: delena
Comments: AVX-512: Fixed encoding of VMOVQ instruction.
Properties: 
  phase_id: r191889-t20131003_051230-b12296



Files:
 include/clang/AST/Expr.h
 lib/Sema/SemaInit.cpp
 test/CodeGen/designated-initializers.c
 test/Sema/designated-initializers.c
On: smooshlab-project
At: Thu 03 Oct 2013 05:20:30
Changed By: mcurtis
Comments: Gracefully (and correctly) handle init of multiple union members

We now emit warnings when doing so and code generation is consistent
with GCC. Note that the C99 spec is unclear as to the precise
behavior.

See also ...
Bug:
  http://llvm.org/bugs/show_bug.cgi?id=16644 and

cfe-dev discussion:
  http://lists.cs.uiuc.edu/pipermail/cfe-dev/2013-September/031918.html

Properties: 
  phase_id: r191891-t20131003_053543-b12298



File: test/CodeGen/ARM/2010-09-29-mc-asm-header-test.ll
On: smooshlab-project
At: Thu 03 Oct 2013 05:26:30
Changed By: logan
Comments: [arm] Enhance the test case by checking .fpu directive.
Properties: 
  phase_id: r191891-t20131003_053543-b12298



File: lib/Analysis/CaptureTracking.cpp
On: smooshlab-project
At: Thu 03 Oct 2013 06:30:34
Changed By: d0k
Comments: CaptureTracking: Plug a loophole in the "too many uses" heuristic.

The heuristic was added to avoid spending too much compile time A specially
crafted test case (PR17461, PR16474) with many uses on a select or bitcast
instruction can still trigger the slow case. Add a check for that case.

This only affects compile time, don't have a good way to test it.Properties: 
  phase_id: r191898-t20131003_070830-b12301



Files:
 lib/sanitizer_common/CMakeLists.txt
 lib/sanitizer_common/sanitizer_libignore.cc
 lib/sanitizer_common/sanitizer_libignore.h
 lib/sanitizer_common/sanitizer_suppressions.cc
 lib/sanitizer_common/sanitizer_suppressions.h
 lib/sanitizer_common/tests/sanitizer_suppressions_test.cc
 lib/tsan/lit_tests/ignore_lib0.cc
 lib/tsan/lit_tests/ignore_lib0.cc.supp
 lib/tsan/lit_tests/ignore_lib1.cc
 lib/tsan/lit_tests/ignore_lib1.cc.supp
 lib/tsan/lit_tests/ignore_lib2.cc
 lib/tsan/lit_tests/ignore_lib2.cc.supp
 lib/tsan/lit_tests/ignore_lib3.cc
 lib/tsan/lit_tests/ignore_lib3.cc.supp
 lib/tsan/lit_tests/ignore_lib_lib.h
 lib/tsan/lit_tests/java_alloc.cc
 lib/tsan/lit_tests/java_lock.cc
 lib/tsan/rtl/tsan_interceptors.cc
 lib/tsan/rtl/tsan_interface_java.cc
 lib/tsan/rtl/tsan_interface_java.h
 lib/tsan/rtl/tsan_rtl.cc
 lib/tsan/rtl/tsan_rtl.h
 lib/tsan/rtl/tsan_stat.cc
 lib/tsan/rtl/tsan_stat.h
 lib/tsan/rtl/tsan_suppressions.cc
 lib/tsan/rtl/tsan_suppressions.h
On: smooshlab-project
At: Thu 03 Oct 2013 06:46:30
Changed By: dvyukov
Comments: tsan: ignore interceptors coming from specified libraries

LibIgnore allows to ignore all interceptors called from a particular set
of dynamic libraries. LibIgnore remembers all "called_from_lib" suppressions
from the provided SuppressionContext; finds code ranges for the libraries;
and checks whether the provided PC value belongs to the code ranges.

Also make malloc and friends interceptors use SCOPED_INTERCEPTOR_RAW instead of
SCOPED_TSAN_INTERCEPTOR, because if they are called from an ignored lib,
then must call our internal allocator instead of libc malloc.

Properties: 
  phase_id: r191898-t20131003_070830-b12301



Files:
 lib/tsan/rtl/tsan_flags.h
 lib/tsan/rtl/tsan_interceptors.cc
 lib/tsan/rtl/tsan_stat.cc
 lib/tsan/rtl/tsan_stat.h
On: smooshlab-project
At: Thu 03 Oct 2013 07:06:30
Changed By: dvyukov
Comments: tsan: intercept _exit so that we can override exit status

Properties: 
  phase_id: r191898-t20131003_070830-b12301



Files:
 lib/msan/msan_interceptors.cc
 lib/sanitizer_common/sanitizer_common_interceptors.inc
On: smooshlab-project
At: Thu 03 Oct 2013 07:20:30
Changed By: dvyukov
Comments: tsan: fix false positive in localtime()

Properties: 
  phase_id: r191902-t20131003_080230-b12305



Files:
 lib/Driver/Tools.cpp
 test/Driver/darwin-eabi.c
On: smooshlab-project
At: Thu 03 Oct 2013 07:30:30
Changed By: tnorthover
Comments: ARM: *-*-darwin-eabi triples should use AAPCS.Properties: 
  phase_id: r191902-t20131003_080230-b12305



File: test/Driver/darwin-eabi.c
On: smooshlab-project
At: Thu 03 Oct 2013 07:36:34
Changed By: tnorthover
Comments: Fix test to work on Linux hosts by specifying triple.

Thought I'd checked that beforeProperties: 
  phase_id: r191902-t20131003_080230-b12305



File: lib/tsan/check_cmake.sh
On: smooshlab-project
At: Thu 03 Oct 2013 08:00:30
Changed By: dvyukov
Comments: tsan: include lsan into presubmit check
Properties: 
  phase_id: r191902-t20131003_080230-b12305



Files:
 lib/asan/asan_interceptors.cc
 lib/msan/msan_interceptors.cc
 lib/sanitizer_common/sanitizer_common_interceptors.inc
 lib/sanitizer_common/sanitizer_platform_interceptors.h
 lib/tsan/rtl/tsan_interceptors.cc
On: smooshlab-project
At: Thu 03 Oct 2013 08:30:30
Changed By: dvyukov
Comments: asan/msan/tsan: move _exit interceptor to common interceptors

Properties: 
  phase_id: r191907-t20131003_092834-b12309



Files:
 lib/asan/asan_interceptors.cc
 lib/msan/msan_interceptors.cc
On: smooshlab-project
At: Thu 03 Oct 2013 08:50:34
Changed By: dvyukov
Comments: asan/msan: fix "unused function 'OnExit'" warning
Properties: 
  phase_id: r191907-t20131003_092834-b12309



File: lib/CodeGen/SelectionDAG/DAGCombiner.cpp
On: smooshlab-project
At: Thu 03 Oct 2013 09:06:30
Changed By: jaykang10
Comments: Added checking code whehter target supports specific dag combining about rotate
or not. The corresponding dag patterns are as following:

"DAGCombier::MatchRotate" function in DAGCombiner.cpp
Pattern1
// fold (or (shl (*ext x), (*ext y)),
//          (srl (*ext x), (*ext (sub 32, y)))) ->
//   (*ext (rotl x, y))
// fold (or (shl (*ext x), (*ext y)),
//          (srl (*ext x), (*ext (sub 32, y)))) ->
//   (*ext (rotr x, (sub 32, y)))

pattern2
// fold (or (shl (*ext x), (*ext (sub 32, y))),
//          (srl (*ext x), (*ext y))) ->
//   (*ext (rotl x, y))
// fold (or (shl (*ext x), (*ext (sub 32, y))),
//          (srl (*ext x), (*ext y))) ->
//   (*ext (rotr x, (sub 32, y)))
Properties: 
  phase_id: r191907-t20131003_092834-b12309



Files:
 bindings/python/clang/cindex.py
 include/clang-c/Index.h
 test/Index/print-type.cpp
 tools/libclang/CXType.cpp
 tools/libclang/libclang.exports
On: smooshlab-project
At: Thu 03 Oct 2013 09:26:34
Changed By: akirtzidis
Comments: [libclang] Introduce clang_Type_getClassType which returns the class type of a member pointer type.

Patch by Che-Liang Chiou!Properties: 
  phase_id: r191907-t20131003_092834-b12309



Files:
 bindings/python/clang/cindex.py
 bindings/python/tests/cindex/test_type.py
On: smooshlab-project
At: Thu 03 Oct 2013 09:26:34
Changed By: akirtzidis
Comments: [libclang] python: expose a few functions, patch by Loïc Jaquemet!Properties: 
  phase_id: r191907-t20131003_092834-b12309



File: lib/sanitizer_common/sanitizer_syscall_linux_x86_64.inc
On: smooshlab-project
At: Thu 03 Oct 2013 10:00:30
Changed By: dvyukov
Comments: asan/msan/tsan: fix broken linux syscalls

Currently the following source code:

u64 NanoTime() {
  kernel_timeval tv = {};
  internal_syscall(__NR_gettimeofday, &tv, 0);
  return (u64)tv.tv_sec * 1000*1000*1000 + tv.tv_usec * 1000;
}

generates the following assembly:

Dump of assembler code for function __sanitizer::NanoTime():
=> 0x00007ff30657d380 <+0>:	lea    -0x10(%rsp),%rdi
   0x00007ff30657d385 <+5>:	xor    %esi,%esi
   0x00007ff30657d387 <+7>:	mov    $0x60,%eax
   0x00007ff30657d38c <+12>:	syscall 
   0x00007ff30657d38e <+14>:	mov    $0,%eax
   0x00007ff30657d393 <+19>:	retq   

with this change:

Dump of assembler code for function __sanitizer::NanoTime():
=> 0x00007faab834f380 <+0>:	movq   $0x0,-0x10(%rsp)
   0x00007faab834f389 <+9>:	movq   $0x0,-0x8(%rsp)
   0x00007faab834f392 <+18>:	lea    -0x10(%rsp),%rdi
   0x00007faab834f397 <+23>:	xor    %esi,%esi
   0x00007faab834f399 <+25>:	mov    $0x60,%eax
   0x00007faab834f39e <+30>:	syscall 
   0x00007faab834f3a0 <+32>:	mov    -0x8(%rsp),%rax
   0x00007faab834f3a5 <+37>:	mov    -0x10(%rsp),%rcx
   0x00007faab834f3aa <+42>:	imul   $0x3e8,%rax,%rdx
   0x00007faab834f3b1 <+49>:	imul   $0x3b9aca00,%rcx,%rax
   0x00007faab834f3b8 <+56>:	add    %rdx,%rax
   0x00007faab834f3bb <+59>:	retq   


Properties: 
  phase_id: r191912-t20131003_101805-b12312



Files:
 docs/analyzer/DebugChecks.rst
 lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp
 test/Analysis/func.c
 test/Analysis/misc-ps-region-store.cpp
On: smooshlab-project
At: Thu 03 Oct 2013 10:06:30
Changed By: jrose
Comments: [analyzer] Add new debug helper clang_analyzer_warnIfReached.

This will emit a warning if a call to clang_analyzer_warnIfReached is
executed, printing REACHABLE. This is a more explicit way to declare
expected reachability than using clang_analyzer_eval or triggering
a bug (divide-by-zero or null dereference), and unlike the former will
work the same in inlined functions and top-level functions. Like the
other debug helpers, it is part of the debug.ExprInspection checker.

Patch by Jared Grubb!Properties: 
  phase_id: r191912-t20131003_101805-b12312



Files:
 include/clang/StaticAnalyzer/Checkers/CommonBugCategories.h
 include/clang/StaticAnalyzer/Core/BugReporter/BugType.h
 lib/StaticAnalyzer/Checkers/CStringChecker.cpp
 lib/StaticAnalyzer/Checkers/CheckSizeofPointer.cpp
 lib/StaticAnalyzer/Checkers/CommonBugCategories.cpp
On: smooshlab-project
At: Thu 03 Oct 2013 10:06:30
Changed By: jrose
Comments: [analyzer] Replace bug category magic strings with shared constants.

One small functionality change is to bring the sizeof-pointer checker in
line with the other checkers by making its category be "Logic error"
instead of just "Logic". There should be no other functionality changes.

Patch by Daniel Marjamäki!Properties: 
  phase_id: r191912-t20131003_101805-b12312



File: lib/Support/raw_ostream.cpp
On: smooshlab-project
At: Thu 03 Oct 2013 10:06:30
Changed By: d0k
Comments: raw_fd_ostream: Be more verbose about the reason when opening a file fails.Properties: 
  phase_id: r191912-t20131003_101805-b12312



Files:
 include/clang/Driver/Options.td
 test/Driver/x86_features.c
On: smooshlab-project
At: Thu 03 Oct 2013 10:10:30
Changed By: rafael
Comments: Ignore -mieee-fp.

It looks like clang always produce code with the ieee comparisons, so it is
safe to ignore this flag (we still error on -mno-ieee-fp).Properties: 
  phase_id: r191912-t20131003_101805-b12312



Files:
 lib/tsan/go/buildgo.sh
 lib/tsan/rtl/tsan_flags.cc
 lib/tsan/rtl/tsan_platform.h
 lib/tsan/rtl/tsan_platform_linux.cc
 lib/tsan/rtl/tsan_rtl.cc
On: smooshlab-project
At: Thu 03 Oct 2013 10:20:34
Changed By: dvyukov
Comments: tsan: add memory_limit_mb flag

The flag allows to bound maximum process memory consumption (best effort).
If RSS reaches memory_limit_mb, tsan flushes all shadow memory.

Properties: 
  phase_id: r191920-t20131003_113305-b12318



File: lib/CodeGen/AsmPrinter/DwarfDebug.cpp
On: smooshlab-project
At: Thu 03 Oct 2013 10:46:30
Changed By: echristo
Comments: Fix cut and paste typo.Properties: 
  phase_id: r191920-t20131003_113305-b12318



Files:
 lib/CodeGen/AsmPrinter/DwarfDebug.cpp
 test/DebugInfo/X86/gnu-public-names-empty.ll
On: smooshlab-project
At: Thu 03 Oct 2013 10:46:30
Changed By: echristo
Comments: Make sure we emit a section for pubnames even if that section is
going to be empty. This is particularly important for the gnu
pubnames case since we're emitting a relocation to the section.Properties: 
  phase_id: r191920-t20131003_113305-b12318



Files:
 lib/MC/MCDisassembler/Disassembler.cpp
 lib/MC/MCDisassembler/Disassembler.h
On: smooshlab-project
At: Thu 03 Oct 2013 10:56:30
Changed By: qcolombet
Comments: [llvm-c][Disassembler] When printing latency information, fall back to the
itinerary model in case the target does not supply a scheduling model.

By doing this, targets like cortex-a8 can benefit from the latency printing
feature added in r191859.

This part of <rdar://problem/14687488>. 
Properties: 
  phase_id: r191920-t20131003_113305-b12318



File: test/Driver/x86_features.c
On: smooshlab-project
At: Thu 03 Oct 2013 11:10:30
Changed By: echristo
Comments: Give this a temporary output so it is cleaned up.Properties: 
  phase_id: r191920-t20131003_113305-b12318



File: lib/LTO/Makefile
On: smooshlab-project
At: Thu 03 Oct 2013 11:10:30
Changed By: tmroeder
Comments: Test commit. Fixed a copy-paste error in the Makefile for lib/LTO.
Properties: 
  phase_id: r191920-t20131003_113305-b12318



File: source/DataFormatters/ValueObjectPrinter.cpp
On: smooshlab-project
At: Thu 03 Oct 2013 11:16:30
Changed By: enrico
Comments: A more thorough fix for the newlines issueProperties: 
  phase_id: r191920-t20131003_113305-b12318



Files:
 lib/Transforms/InstCombine/InstructionCombining.cpp
 test/Transforms/InstCombine/getelementptr.ll
On: smooshlab-project
At: Thu 03 Oct 2013 11:20:30
Changed By: arsenm
Comments: Make gep i8* X, -(ptrtoint Y) transform work with address spacesProperties: 
  phase_id: r191920-t20131003_113305-b12318



File: test/Driver/x86_features.c
On: smooshlab-project
At: Thu 03 Oct 2013 11:30:30
Changed By: echristo
Comments: Make this use -### instead of a temporary output.Properties: 
  phase_id: r191923-t20131003_122831-b12321



Files:
 include/llvm-c/lto.h
 include/llvm/LTO/LTOCodeGenerator.h
 include/llvm/Transforms/IPO.h
 lib/LTO/LTOCodeGenerator.cpp
 lib/Transforms/IPO/IPO.cpp
 lib/Transforms/IPO/Internalize.cpp
 lib/Transforms/IPO/PassManagerBuilder.cpp
 test/LTO/cfi_endproc.ll
 test/Transforms/Internalize/lists.ll
 tools/gold/gold-plugin.cpp
 tools/llvm-lto/llvm-lto.cpp
 tools/lto/lto.cpp
On: smooshlab-project
At: Thu 03 Oct 2013 11:36:30
Changed By: rafael
Comments: Optimize linkonce_odr unnamed_addr functions during LTO.

Generalize the API so we can distinguish symbols that are needed just for a DSO
symbol table from those that are used from some native .o.

The symbols that are only wanted for the dso symbol table can be dropped if
llvm can prove every other dso has a copy (linkonce_odr) and the address is not
important (unnamed_addr).Properties: 
  phase_id: r191923-t20131003_122831-b12321



File: test/Driver/x86_features.c
On: smooshlab-project
At: Thu 03 Oct 2013 12:26:30
Changed By: rafael
Comments: Fix test.

With -### clang return 0, so we have to use FileCheck to see if there was an
error.Properties: 
  phase_id: r191923-t20131003_122831-b12321



Files:
 include/clang/Driver/CC1Options.td
 include/clang/Driver/Options.td
 test/Driver/clang_f_opts.c
On: smooshlab-project
At: Thu 03 Oct 2013 12:40:30
Changed By: rafael
Comments: Fix the test in clang_f_opts.c to fail on unknown options.

Also fix options that were broken in the previous refactorings.Properties: 
  phase_id: r191928-t20131003_131834-b12325



Files:
 include/clang/Driver/Options.td
 test/Driver/clang_f_opts.c
On: smooshlab-project
At: Thu 03 Oct 2013 12:50:34
Changed By: nico
Comments: Don't complain about -fuse-ld=gold (cf r191429).

(There's a real implementation for this flag in review.)

Properties: 
  phase_id: r191928-t20131003_131834-b12325



Files:
 include/llvm/Analysis/MemoryBuiltins.h
 lib/Analysis/MemoryBuiltins.cpp
 lib/CodeGen/AsmPrinter/AsmPrinter.cpp
On: smooshlab-project
At: Thu 03 Oct 2013 12:56:30
Changed By: arsenm
Comments: Rename DataLayout variables TD -> DLProperties: 
  phase_id: r191928-t20131003_131834-b12325



Files:
 lib/CodeGen/AsmPrinter/DIE.h
 lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
 lib/CodeGen/AsmPrinter/DwarfDebug.cpp
On: smooshlab-project
At: Thu 03 Oct 2013 13:16:34
Changed By: dblaikie
Comments: DebugInfo: Avoid redundantly adding child DIEs to parents.

DIE::addChild had a shortcircuit that silently no-op'd when a child was
readded to the same parent. This hid some quirky/redundant code in
DwarfDebug/CompileUnit. By removing that functionality and replacing it
with an assert I was able to find and cleanup those cases, mostly
centering around adding members to types in various circumstances.

1) The original oddity I noticed while working on type units (which
actually was helping me in the short term, by accident) was the
addToContextOwner call in constructTypeDIE. This call was completely
bogus (why was it only done for non-virtual types? what relevance does
that have at all) and redundant with the more uniform addToContextOwner
made in getOrCreateTypeDIE.

2) If a member function definition was visited (createSubprogramDIE), it
would attempt to build the member function declaration. The declaration
DIE would then be added to its context, but in building the context (the
type for which this function is a member) the members of the type would
be added to the type automatically, so by the time the context was
constructed, the member function was already associated with it.

3) The same as (2) but without the member function being constructed
first. Whenever a type was constructed, the members would be created and
member functions would be created by getOrCreateSubprogramDIE - this
would lead to the subprogram being added to the (incomplete) type
already, then the general member-construction code would add it again.Properties: 
  phase_id: r191928-t20131003_131834-b12325



Files:
 lib/Transforms/InstCombine/InstCombineCasts.cpp
 test/Transforms/InstCombine/fpcast.ll
On: smooshlab-project
At: Thu 03 Oct 2013 14:16:30
Changed By: resistor
Comments: Pull fptrunc's upwards through selects when one of the select's selectands was a constant.  This has a number of benefits, including producing small immediates (easier to materialize, smaller constant pools) as well as being more likely to allow the fptrunc to fuse with a preceding instruction (truncating selects are unusual).
Properties: 
  phase_id: r191929-t20131003_141834-b12326



Files:
 lib/CodeGen/AsmPrinter/DwarfDebug.cpp
 test/DebugInfo/X86/dwarf-aranges.ll
 test/DebugInfo/X86/multiple-aranges.ll
On: smooshlab-project
At: Thu 03 Oct 2013 15:16:34
Changed By: rmitton
Comments: Fixed a bug with section names containing special characters.

Changed the dwarf aranges code to not use getLabelEndName, as it turns out it's not reliable to call that given user-defined section names. Section names can have characters in that aren't representable as symbol names.

The dwarf-aranges test case has been updated to include a special character, to check this.

This fixes pr17416.Properties: 
  phase_id: r191934-t20131003_153830-b12329



File: scripts/Python/interface/SBThread.i
On: smooshlab-project
At: Thu 03 Oct 2013 15:26:30
Changed By: dmalea
Comments: Add missing GetBroadcasterClassName and event types enum to SBThread.i


Properties: 
  phase_id: r191934-t20131003_153830-b12329



Files:
 include/lldb/Core/ConstString.h
 include/lldb/DataFormatters/FormatNavigator.h
 source/Core/ConstString.cpp
 source/Core/FileLineResolver.cpp
 source/Core/Module.cpp
 source/Core/SearchFilter.cpp
 source/Expression/ClangFunction.cpp
 source/Host/common/Host.cpp
 source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
 source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp
 source/Symbol/ClangASTType.cpp
 source/Symbol/CompileUnit.cpp
 source/Target/TargetList.cpp
On: smooshlab-project
At: Thu 03 Oct 2013 15:36:30
Changed By: spyffe
Comments: Changed the bool conversion operator on ConstString
to be explicit, to prevent horrid things like

std::string a = ConstString("foo")

from taking the path ConstString -> bool -> char
-> std::string.

This fixes, among other things, ClangFunction.

<rdar://problem/15137989>
Properties: 
  phase_id: r191934-t20131003_153830-b12329



Files:
 include/clang/StaticAnalyzer/Checkers/CommonBugCategories.h
 include/clang/StaticAnalyzer/Core/BugReporter/BugType.h
 lib/StaticAnalyzer/Checkers/CStringChecker.cpp
 lib/StaticAnalyzer/Checkers/CheckSizeofPointer.cpp
 lib/StaticAnalyzer/Checkers/CommonBugCategories.cpp
On: smooshlab-project
At: Thu 03 Oct 2013 16:46:30
Changed By: rsmith
Comments: Temporarily revert r191910 until the layering violation can be fixed.
Properties: 
  phase_id: r191936-t20131003_164830-b12330



Files:
 include/clang/StaticAnalyzer/Checkers/CommonBugCategories.h
 include/clang/StaticAnalyzer/Core/BugReporter/BugType.h
 include/clang/StaticAnalyzer/Core/BugReporter/CommonBugCategories.h
 lib/StaticAnalyzer/Checkers/CMakeLists.txt
 lib/StaticAnalyzer/Checkers/CStringChecker.cpp
 lib/StaticAnalyzer/Checkers/CheckSizeofPointer.cpp
 lib/StaticAnalyzer/Checkers/ClangSACheckers.h
 lib/StaticAnalyzer/Checkers/CommonBugCategories.cpp
 lib/StaticAnalyzer/Core/BugReporter.cpp
 lib/StaticAnalyzer/Core/CMakeLists.txt
 lib/StaticAnalyzer/Core/CommonBugCategories.cpp
On: smooshlab-project
At: Thu 03 Oct 2013 17:30:30
Changed By: jrose
Comments: [analyzer] Replace bug category magic strings with shared constants, take 2.

Re-commit r191910 (reverted in r191936) with layering violation fixed, by
moving the bug categories to StaticAnalyzerCore instead of ...Checkers.Properties: 
  phase_id: r191937-t20131003_173230-b12331



Files:
 include/llvm/ExecutionEngine/RTDyldMemoryManager.h
 lib/ExecutionEngine/MCJIT/MCJIT.cpp
 lib/ExecutionEngine/MCJIT/MCJIT.h
 test/ExecutionEngine/MCJIT/cross-module-a.ll
 test/ExecutionEngine/MCJIT/cross-module-b.ir
 test/ExecutionEngine/MCJIT/multi-module-a.ll
 test/ExecutionEngine/MCJIT/multi-module-b.ir
 test/ExecutionEngine/MCJIT/multi-module-c.ir
 test/ExecutionEngine/MCJIT/remote/cross-module-a.ll
 test/ExecutionEngine/MCJIT/remote/cross-module-b.ir
 test/ExecutionEngine/MCJIT/remote/multi-module-a.ll
 test/ExecutionEngine/MCJIT/remote/multi-module-b.ir
 test/ExecutionEngine/MCJIT/remote/multi-module-c.ir
 tools/lli/CMakeLists.txt
 tools/lli/RecordingMemoryManager.cpp
 tools/lli/RecordingMemoryManager.h
 tools/lli/RemoteMemoryManager.cpp
 tools/lli/RemoteMemoryManager.h
 tools/lli/lli.cpp
On: smooshlab-project
At: Thu 03 Oct 2013 17:56:30
Changed By: akaylor
Comments: Adding support and tests for multiple module handling in lliProperties: 
  phase_id: r191976-t20131004_134027-b12358



Files:
 lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
 test/DebugInfo/X86/DW_AT_specification.ll
 test/DebugInfo/X86/concrete_out_of_line.ll
 test/DebugInfo/X86/pr11300.ll
 test/DebugInfo/member-order.ll
On: smooshlab-project
At: Thu 03 Oct 2013 18:46:30
Changed By: dblaikie
Comments: DebugInfo: Fix ordering of members after r191928

In the case (shown in the attached test) where a member function
definition was emitted into debug info the following could occur:

1) build the debug info for the member function definition
2) in (1), build the debug info for the member function declaration
3) construct and add the member function declaration DIE
4) add it to its context
5) build its context (the type it is a member of)
6) construct the members and add them to the type
7) except don't add member functions because "getOrCreateSubprogram"
adds the function to its parent anyway
8) except we're only partway through building this subprogram
declaration so it hasn't been added yet - but we returned the partially
constructed DIE (since it's already in the MDNode->DIE mapping to avoid
infinitely recursing trying to create the member function DIE)
9) once the type is constructed, add the member function to it
10) now the members are out of order (the member function being defined
is listed as the last member, even though it was declared as the first)

To avoid this, construct the context of the subprogram DIE before we
query to see if it exists. That way we never end up creating it before
creating its context and ending up in this situation.

Alternatively, the type construction that visits/builds all the members
could call something like getOrCreateSubprogram, but that doesn't ever
do the "add to context" step. Then the type building code would always
be responsible for adding members (and the subprogram "addToContextDIE"
would no-op because the context building would have added the subprogram
declaration to the type/context DIE already).

(the test cases updated were overly-sensitive to offsets or abbreviation
numbers. We don't have a nice way to make these tests more robust as yet
- multiline FileCheck matches would be required)Properties: 
  phase_id: r191976-t20131004_134027-b12358



Files:
 include/llvm/CodeGen/SelectionDAGISel.h
 lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
 utils/TableGen/DAGISelMatcher.cpp
 utils/TableGen/DAGISelMatcher.h
 utils/TableGen/DAGISelMatcherEmitter.cpp
 utils/TableGen/DAGISelMatcherOpt.cpp
On: smooshlab-project
At: Thu 03 Oct 2013 22:30:30
Changed By: ctopper
Comments: Add OPC_CheckChildSame0-3 to the DAG isel matcher. This replaces sequences of MoveChild, CheckSame, MoveParent. Saves 846 bytes from the X86 DAG isel matcher, ~300 from ARM, ~840 from Hexagon.Properties: 
  phase_id: r191976-t20131004_134027-b12358



Files:
 include/llvm/CodeGen/SelectionDAGISel.h
 lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
 utils/TableGen/DAGISelMatcher.cpp
 utils/TableGen/DAGISelMatcher.h
 utils/TableGen/DAGISelMatcherEmitter.cpp
 utils/TableGen/DAGISelMatcherOpt.cpp
On: smooshlab-project
At: Thu 03 Oct 2013 23:00:30
Changed By: ctopper
Comments: Revert r191940 to see if it fixes the build bots.Properties: 
  phase_id: r191976-t20131004_134027-b12358



File: README.txt
On: smooshlab-project
At: Fri 04 Oct 2013 00:00:34
Changed By: jaykang10
Comments: Test commit to check e-mail address. Please discard this.
Properties: 
  phase_id: r191976-t20131004_134027-b12358



Files:
 lib/asan/asan_report.cc
 lib/asan/asan_stack.cc
 lib/lsan/lsan_common.cc
 lib/msan/msan_report.cc
 lib/sanitizer_common/sanitizer_common.cc
 lib/sanitizer_common/sanitizer_common.h
 lib/sanitizer_common/sanitizer_stacktrace.cc
 lib/sanitizer_common/sanitizer_stacktrace.h
 lib/sanitizer_common/tests/sanitizer_common_test.cc
 lib/tsan/rtl/tsan_flags.cc
 lib/ubsan/lit_tests/TypeCheck/misaligned.cpp
 lib/ubsan/ubsan_diag.cc
On: smooshlab-project
At: Fri 04 Oct 2013 02:00:30
Changed By: samsonov
Comments: Refactor the usage of strip_path_prefix option and make it more consistent across sanitizersProperties: 
  phase_id: r191976-t20131004_134027-b12358



Files:
 lib/Target/AArch64/AArch64ISelLowering.cpp
 lib/Target/AArch64/AArch64ISelLowering.h
 lib/Target/AArch64/AArch64InstrFormats.td
 lib/Target/AArch64/AArch64InstrNEON.td
 lib/Target/AArch64/AArch64RegisterInfo.td
 lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp
 test/CodeGen/AArch64/neon-2velem.ll
 test/CodeGen/AArch64/neon-diagnostics.ll
 test/MC/AArch64/neon-2velem.s
 test/MC/AArch64/neon-diagnostics.s
On: smooshlab-project
At: Fri 04 Oct 2013 02:26:30
Changed By: jiangning
Comments: Implement aarch64 neon instruction set AdvSIMD (3V elem).
Properties: 
  phase_id: r191976-t20131004_134027-b12358



Files:
 include/clang/Basic/arm_neon.td
 lib/CodeGen/CGBuiltin.cpp
 test/CodeGen/aarch64-neon-2velem.c
 utils/TableGen/NeonEmitter.cpp
On: smooshlab-project
At: Fri 04 Oct 2013 02:26:30
Changed By: jiangning
Comments: Implement aarch64 neon instruction set AdvSIMD (3V elem).
Properties: 
  phase_id: r191976-t20131004_134027-b12358



File: lib/tsan/rtl/tsan_interceptors.cc
On: smooshlab-project
At: Fri 04 Oct 2013 03:36:30
Changed By: dvyukov
Comments: tsan: fix a bug in pthread_once when called from an ignored library
It must set thr->in_rtl = 0 before executing user callback.

Properties: 
  phase_id: r191976-t20131004_134027-b12358



Files:
 lib/Driver/Tools.cpp
 test/Driver/pic.c
On: smooshlab-project
At: Fri 04 Oct 2013 03:40:30
Changed By: atanasyan
Comments: [Mips] For MIPS '-fPIC -static' means to compile as -fPIC but link with
-static. So do not turn off the PIC flag if -static passed to the
driver in case of MIPS target.

http://llvm.org/bugs/show_bug.cgi?id=14693Properties: 
  phase_id: r191976-t20131004_134027-b12358



File: CMakeLists.txt
On: smooshlab-project
At: Fri 04 Oct 2013 03:46:30
Changed By: samsonov
Comments: Restore LLVM_BUILD_RUNTIME option that was deleted in r191835, but is still used to control building of compiler-rt and libcxxProperties: 
  phase_id: r191976-t20131004_134027-b12358



File: README.txt
On: smooshlab-project
At: Fri 04 Oct 2013 04:06:30
Changed By: alp
Comments: Revert "Test commit to check e-mail address. Please discard this."

This reverts commit r191942.Properties: 
  phase_id: r191976-t20131004_134027-b12358



File: lib/AST/MicrosoftMangle.cpp
On: smooshlab-project
At: Fri 04 Oct 2013 04:30:34
Changed By: timurrrr
Comments: Simplify MicrosoftCXXNameMangler::mangleFunctionTypeProperties: 
  phase_id: r191976-t20131004_134027-b12358



Files:
 lib/Driver/Tools.cpp
 test/Driver/pic.c
On: smooshlab-project
At: Fri 04 Oct 2013 04:50:30
Changed By: atanasyan
Comments: Revert r191947. The problem is not MIPS-specific and requires more
general solution.Properties: 
  phase_id: r191976-t20131004_134027-b12358



File: lib/tsan/rtl/tsan.syms.extra
On: smooshlab-project
At: Fri 04 Oct 2013 06:20:30
Changed By: samsonov
Comments: [TSan] Add ValgrindSlowdown to the list of exported symbolsProperties: 
  phase_id: r191976-t20131004_134027-b12358



Files:
 lib/CodeGen/CGBuiltin.cpp
 lib/CodeGen/CodeGenFunction.h
 test/CodeGen/aarch64-neon-shifts.c
 test/CodeGen/arm-neon-shifts.c
On: smooshlab-project
At: Fri 04 Oct 2013 06:20:30
Changed By: amaury.dlv
Comments: Do not emit undefined lsrh/ashr for NEON shifts

These IR instructions are undefined when the amount is equal to operand
size, but NEON right shifts support such shifts. Work around that by
emitting a different IR in these cases.Properties: 
  phase_id: r191976-t20131004_134027-b12358



Files:
 lib/tsan/lit_tests/Unit/lit.cfg
 lib/tsan/lit_tests/lit.cfg
 lib/tsan/rtl/tsan_rtl.cc
On: smooshlab-project
At: Fri 04 Oct 2013 06:46:30
Changed By: samsonov
Comments: [TSan] Automatically pick up llvm-symbolizer from PATH, as we do in another sanitizersProperties: 
  phase_id: r191976-t20131004_134027-b12358



Files:
 lib/Sema/SemaTemplateInstantiate.cpp
 lib/Sema/SemaTemplateInstantiateDecl.cpp
 lib/Sema/TreeTransform.h
 test/CXX/expr/expr.prim/expr.prim.lambda/generic-lambda-unimplemented-1y.cpp
 test/SemaCXX/cxx1y-generic-lambdas.cpp
On: smooshlab-project
At: Fri 04 Oct 2013 07:36:30
Changed By: rafael
Comments: Revert "Teach TreeTransform and family how to transform generic lambdas within templates and nested within themselves."

This reverts commit r191879. It caused llvm.org/pr17476.Properties: 
  phase_id: r191976-t20131004_134027-b12358



Files:
 test/CodeGenCXX/crash.cpp
 test/CodeGenCXX/pr11676.cpp
On: smooshlab-project
At: Fri 04 Oct 2013 07:40:30
Changed By: rafael
Comments: Add test from pr17476.Properties: 
  phase_id: r191976-t20131004_134027-b12358



Files:
 test/CodeGen/aarch64-neon-shifts.c
 test/CodeGen/arm-neon-shifts.c
On: smooshlab-project
At: Fri 04 Oct 2013 07:50:30
Changed By: rafael
Comments: Don't assume instruction names in the output.Properties: 
  phase_id: r191976-t20131004_134027-b12358



File: test/DebugInfo/X86/DW_AT_specification.ll
On: smooshlab-project
At: Fri 04 Oct 2013 08:00:30
Changed By: rafael
Comments: Fix this test.Properties: 
  phase_id: r191976-t20131004_134027-b12358



File: include/lldb/lldb-forward.h
On: smooshlab-project
At: Fri 04 Oct 2013 08:36:34
Changed By: mikesart
Comments: fix class/struct mismatch warningProperties: 
  phase_id: r191976-t20131004_134027-b12358



Files:
 include/lldb/Core/Opcode.h
 source/Core/Opcode.cpp
On: smooshlab-project
At: Fri 04 Oct 2013 08:36:34
Changed By: emaste
Comments: Remove EOL whitespace and redundant break statement
Properties: 
  phase_id: r191976-t20131004_134027-b12358



Files:
 lib/Target/ARM/ARMExpandPseudoInsts.cpp
 test/CodeGen/ARM/select-undef.ll
On: smooshlab-project
At: Fri 04 Oct 2013 10:00:30
Changed By: matze
Comments: ARM: preserve undef flag in pseudo instruction expanders

Copy over the whole register machine operand instead of creating a new one
with an incomplete set of flags.Properties: 
  phase_id: r191976-t20131004_134027-b12358



Files:
 lib/Target/ARM/ARMISelLowering.cpp
 test/CodeGen/ARM/ifconv-regmask.ll
On: smooshlab-project
At: Fri 04 Oct 2013 10:00:30
Changed By: matze
Comments: ARM: do not add a regmask for TAILJUMPs

The jump doesn't really kill the registers, the following call does but
we never get back anyway.
This avoids some verify-machineinstrs problems when TAILJUMPs are
if-converted.Properties: 
  phase_id: r191976-t20131004_134027-b12358



Files:
 lib/Target/ARM/ARMBaseInstrInfo.cpp
 test/CodeGen/ARM/optselect-regclass.ll
On: smooshlab-project
At: Fri 04 Oct 2013 10:00:30
Changed By: matze
Comments: ARM: optimizeSelect has to consider the previous register class

optimizeSelect folds (predicated) copy instructions, it must not ignore
the original register class of the operand when replacing the register
with the copies dest register.Properties: 
  phase_id: r191976-t20131004_134027-b12358



Files:
 lib/CodeGen/LiveIntervalAnalysis.cpp
 lib/CodeGen/ProcessImplicitDefs.cpp
On: smooshlab-project
At: Fri 04 Oct 2013 10:00:30
Changed By: matze
Comments: Fix typoProperties: 
  phase_id: r191976-t20131004_134027-b12358



File: lib/CodeGen/MachineVerifier.cpp
On: smooshlab-project
At: Fri 04 Oct 2013 10:00:30
Changed By: matze
Comments: Fix indentationProperties: 
  phase_id: r191976-t20131004_134027-b12358



File: lib/CodeGen/RegisterCoalescer.cpp
On: smooshlab-project
At: Fri 04 Oct 2013 10:00:30
Changed By: matze
Comments: Fix commentProperties: 
  phase_id: r191976-t20131004_134027-b12358



Files:
 include/llvm/DebugInfo.h
 lib/CodeGen/AsmPrinter/DIE.cpp
 lib/CodeGen/AsmPrinter/DIE.h
 lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
 lib/CodeGen/AsmPrinter/DwarfDebug.cpp
 lib/CodeGen/AsmPrinter/DwarfDebug.h
 lib/IR/DIBuilder.cpp
 lib/IR/DebugInfo.cpp
 test/Linker/Inputs/type-unique-simple2-a.ll
 test/Linker/Inputs/type-unique-simple2-b.ll
 test/Linker/type-unique-simple-a.ll
 test/Linker/type-unique-simple2.ll
 test/Transforms/LICM/debug-value.ll
On: smooshlab-project
At: Fri 04 Oct 2013 10:16:30
Changed By: echristo
Comments: Temporarily revert r191792 as it is causing some LTO debug failures
on platforms with relocations in debug info and also temporarily
revert r191800 due to conflicts with the revert of r191792.Properties: 
  phase_id: r191976-t20131004_134027-b12358



Files:
 test/CodeGenCXX/debug-info-artificial-arg.cpp
 test/CodeGenCXX/debug-info-method.cpp
 test/CodeGenCXX/debug-info-template-limit.cpp
 test/CodeGenCXX/debug-info-template-member.cpp
 test/CodeGenCXX/debug-info-template.cpp
On: smooshlab-project
At: Fri 04 Oct 2013 10:16:30
Changed By: echristo
Comments: Temporarily revert r191801 due to conflicts with the revert of r191792.Properties: 
  phase_id: r191976-t20131004_134027-b12358



File: tools/lto/lto.exports
On: smooshlab-project
At: Fri 04 Oct 2013 10:36:30
Changed By: rafael
Comments: Add lto_codegen_add_dso_symbol to the export list.Properties: 
  phase_id: r191976-t20131004_134027-b12358



Files:
 include/clang/Sema/Sema.h
 lib/Sema/SemaObjCProperty.cpp
 test/SemaObjC/property-ownership-attr.m
On: smooshlab-project
At: Fri 04 Oct 2013 11:10:30
Changed By: fjahanian
Comments: ObjectiveC. Allow readonly properties without an explicit ownership
(assign/unsafe_unretained/weak/retain/strong/copy) in super class
to be overridden by a property with any explicit ownership in the 
subclass. // rdar://15014468
Properties: 
  phase_id: r191976-t20131004_134027-b12358



Files:
 include/lldb/Core/EmulateInstruction.h
 source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp
 source/Plugins/Instruction/ARM/EmulateInstructionARM.h
On: smooshlab-project
At: Fri 04 Oct 2013 12:06:30
Changed By: emaste
Comments: Correct typo: Intructions -> Instructions
Properties: 
  phase_id: r191976-t20131004_134027-b12358



File: tools/lli/Unix/RemoteTargetExternal.inc
On: smooshlab-project
At: Fri 04 Oct 2013 12:16:34
Changed By: d0k
Comments: lli: Check pipe creation for errors.

This is unlikely to ever fail, but ubuntu GCC warns when the return value is
unused.Properties: 
  phase_id: r191976-t20131004_134027-b12358



File: source/Breakpoint/BreakpointResolverFileRegex.cpp
On: smooshlab-project
At: Fri 04 Oct 2013 12:26:30
Changed By: mikesart
Comments: Remove unused local variable.Properties: 
  phase_id: r191976-t20131004_134027-b12358



Files:
 lib/CodeGen/AsmPrinter/DIE.cpp
 lib/CodeGen/AsmPrinter/DIE.h
 lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
 lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
 lib/CodeGen/AsmPrinter/DwarfDebug.cpp
 lib/CodeGen/AsmPrinter/DwarfDebug.h
On: smooshlab-project
At: Fri 04 Oct 2013 12:46:30
Changed By: echristo
Comments: Temporarily revert r176882 as it needs to be implemented in a different
way for all platforms.Properties: 
  phase_id: r191976-t20131004_134027-b12358



Files:
 tools/lli/RemoteMemoryManager.cpp
 tools/lli/RemoteMemoryManager.h
On: smooshlab-project
At: Fri 04 Oct 2013 13:16:34
Changed By: akaylor
Comments: Fixing container/pointer bug in remote-lli found by ASanProperties: 
  phase_id: r191976-t20131004_134027-b12358



Files:
 lib/Transforms/Vectorize/SLPVectorizer.cpp
 test/Transforms/SLPVectorizer/X86/operandorder.ll
On: smooshlab-project
At: Fri 04 Oct 2013 13:46:30
Changed By: arnolds
Comments: SLPVectorizer: Sort inputs to commutative binary operations

Sort the operands of the other entries in the current vectorization root
according to the first entry's operands opcodes.

%conv0 = uitofp ...
%load0 = load float ...

= fmul %conv0, %load0
= fmul %load0, %conv1
= fmul %load0, %conv2

Make sure that we recursively vectorize <%conv0, %conv1, %conv2> and <%load0,
%load0, %load0>.

This makes it more likely to obtain vectorizable trees. We have to be careful
when we sort that we don't destroy 'good' existing ordering implied by source
order.

radar://15080067Properties: 
  phase_id: r191985-t20131004_145802-b12363



Files:
 lib/Target/Mips/MipsLongBranch.cpp
 test/CodeGen/Mips/longbranch.ll
On: smooshlab-project
At: Fri 04 Oct 2013 13:56:30
Changed By: ahatanak
Comments: [mips] Fix a bug in MipsLongBranch::replaceBranch, which was erasing
instructions in delay slots along with the original branch instructions.
Properties: 
  phase_id: r191985-t20131004_145802-b12363



File: tools/lli/RemoteMemoryManager.cpp
On: smooshlab-project
At: Fri 04 Oct 2013 14:00:30
Changed By: akaylor
Comments: Attempting to fix lli build errorProperties: 
  phase_id: r191985-t20131004_145802-b12363



Files:
 include/llvm/MC/MCTargetAsmParser.h
 lib/MC/MCParser/AsmParser.cpp
 lib/Target/Mips/AsmParser/MipsAsmFlags.h
 lib/Target/Mips/AsmParser/MipsAsmParser.cpp
 lib/Target/Mips/MCTargetDesc/MipsELFStreamer.cpp
 lib/Target/Mips/MCTargetDesc/MipsELFStreamer.h
 lib/Target/Mips/MipsAsmPrinter.cpp
 test/MC/Mips/mips_directives.s
On: smooshlab-project
At: Fri 04 Oct 2013 14:30:30
Changed By: jacksprat
Comments: [MC][AsmParser] Hook for post assembly file processing

This patch handles LLVM standalone assembler (llvm-mc) ELF flag setting based on input file
directive processing.

Mips assembly requires processing inline directives that directly and
indirectly affect the output ELF header flags. This patch handles one
".abicalls".

To process these directives we are following the model the code generator
uses by storing state in a container as we go through processing and when
we detect the end of input file processing, AsmParser is notified and we
update the ELF header flags through a MipsELFStreamer method with a call from
MCTargetAsmParser::emitEndOfAsmFile(MCStreamer &OutStreamer).

This patch will allow other targets the same functionality.

Jack
Properties: 
  phase_id: r191985-t20131004_145802-b12363



Files:
 include/clang/Analysis/Analyses/Consumed.h
 include/clang/Basic/Attr.td
 include/clang/Basic/DiagnosticSemaKinds.td
 lib/Analysis/Consumed.cpp
 lib/Sema/AnalysisBasedWarnings.cpp
 lib/Sema/SemaDeclAttr.cpp
 test/SemaCXX/warn-consumed-analysis-strict.cpp
 test/SemaCXX/warn-consumed-analysis.cpp
 test/SemaCXX/warn-consumed-parsing.cpp
 utils/TableGen/ClangAttrEmitter.cpp
On: smooshlab-project
At: Fri 04 Oct 2013 14:36:30
Changed By: delesley
Comments: Consumed Analysis:  Change callable_when so that it can take a list of states
that a function can be called in.  This reduced the total number of annotations
needed and makes writing more complicated behaviour less burdensome.
Patch by chriswails at gmail.com.Properties: 
  phase_id: r191985-t20131004_145802-b12363



Files:
 include/lldb/Core/ModuleSpec.h
 include/lldb/Host/FileSpec.h
 include/lldb/Interpreter/CommandObject.h
 include/lldb/Interpreter/OptionValueBoolean.h
 include/lldb/Interpreter/PythonDataObjects.h
 include/lldb/Interpreter/ScriptInterpreter.h
 include/lldb/Interpreter/ScriptInterpreterPython.h
 include/lldb/Symbol/ClangASTType.h
 include/lldb/Symbol/ClangNamespaceDecl.h
 include/lldb/Utility/SharingPtr.h
 source/API/SBFileSpec.cpp
 source/API/SBModuleSpec.cpp
 source/Commands/CommandObjectRegister.cpp
 source/Core/Debugger.cpp
 source/Plugins/SymbolFile/DWARF/DWARFDeclContext.h
 source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
On: smooshlab-project
At: Fri 04 Oct 2013 14:40:34
Changed By: spyffe
Comments: Made all other "operator bool"s explicit and ensured
that all clients use them explicitly.  This will hopefully
prevent any future confusion where things get cast to types
we don't expect.

<rdar://problem/15146458>
Properties: 
  phase_id: r191985-t20131004_145802-b12363



Files:
 test/LTO/cfi_endproc.ll
 test/LTO/lit.local.cfg
 tools/llvm-lto/llvm-lto.cpp
On: smooshlab-project
At: Fri 04 Oct 2013 14:46:30
Changed By: rafael
Comments: Fix object file writing in llvm-lto on Windows.

We were writing in text mode.

Patch by Greg Bedwell.Properties: 
  phase_id: r191985-t20131004_145802-b12363



Files:
 lib/Target/Mips/Mips16InstrInfo.td
 test/CodeGen/Mips/blockaddr.ll
On: smooshlab-project
At: Fri 04 Oct 2013 15:06:30
Changed By: rkotler
Comments: Support tblockaddr for static compilation in Mips16.

Properties: 
  phase_id: r191994-t20131004_160234-b12367



File: lib/CodeGen/SelectionDAG/DAGCombiner.cpp
On: smooshlab-project
At: Fri 04 Oct 2013 15:26:30
Changed By: hfinkel
Comments: Fix DAGCombiner::visitFP_EXTEND to ignore indexed loads

DAGCombiner::visitFP_EXTEND will apply the following transformation:

  fold (fpext (load x)) -> (fpext (fptrunc (extload x)))

but the implementation does not handle indexed loads (pre/post inc.), but did
not specifically ignore them either (unlike for extending loads, which it
already ignored), causing an assert when the transformation was applied to an
indexed load. This is the minimal fix for correctness (causing the
transformation to be skipped for indexed loads).

Unfortunately, I don't have an in-tree test case.Properties: 
  phase_id: r191994-t20131004_160234-b12367



File: lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
On: smooshlab-project
At: Fri 04 Oct 2013 15:46:30
Changed By: echristo
Comments: Use Die->addValue and DIEIntegerOne directly when we want to add
a flag. No functional change.Properties: 
  phase_id: r191994-t20131004_160234-b12367



Files:
 lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
 test/DebugInfo/X86/enum-class.ll
On: smooshlab-project
At: Fri 04 Oct 2013 15:46:30
Changed By: echristo
Comments: Use addFlag to add the enum class attribute.

This has the side effect of using DW_FORM_flag_present on dwarf4 and above.Properties: 
  phase_id: r191994-t20131004_160234-b12367



Files:
 include/llvm/MC/MCTargetAsmParser.h
 lib/MC/MCParser/AsmParser.cpp
 lib/Target/Mips/AsmParser/MipsAsmParser.cpp
 lib/Target/Mips/MCTargetDesc/MipsELFStreamer.cpp
 lib/Target/Mips/MCTargetDesc/MipsELFStreamer.h
 lib/Target/Mips/MipsAsmPrinter.cpp
 test/MC/Mips/mips_directives.s
On: smooshlab-project
At: Fri 04 Oct 2013 16:00:30
Changed By: jacksprat
Comments: reverting per requestProperties: 
  phase_id: r191994-t20131004_160234-b12367



File: lib/Target/Mips/AsmParser/MipsAsmFlags.h
On: smooshlab-project
At: Fri 04 Oct 2013 16:00:30
Changed By: jacksprat
Comments: forgot to remove this file as wellProperties: 
  phase_id: r191994-t20131004_160234-b12367



File: lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
On: smooshlab-project
At: Fri 04 Oct 2013 16:00:30
Changed By: echristo
Comments: Prune includes.Properties: 
  phase_id: r191994-t20131004_160234-b12367



File: include/llvm/DebugInfo.h
On: smooshlab-project
At: Fri 04 Oct 2013 16:10:30
Changed By: echristo
Comments: Formatting.Properties: 
  phase_id: r192006-t20131004_170530-b12374



Files:
 include/lldb/DataFormatters/DataVisualization.h
 include/lldb/DataFormatters/FormatManager.h
 include/lldb/DataFormatters/TypeSummary.h
 include/lldb/DataFormatters/ValueObjectPrinter.h
 source/DataFormatters/DataVisualization.cpp
 source/DataFormatters/FormatManager.cpp
 source/DataFormatters/TypeSummary.cpp
 source/DataFormatters/ValueObjectPrinter.cpp
 test/expression_command/persistent_types/TestPersistentTypes.py
 test/functionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py
 test/functionalities/data-formatter/data-formatter-categories/TestDataFormatterCategories.py
 test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
 test/functionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py
 test/functionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py
 test/functionalities/data-formatter/data-formatter-stl/libcxx/multimap/TestDataFormatterLibccMultiMap.py
 test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py
 test/functionalities/data-formatter/rdar-11988289/TestRdar 11988289.py
 test/functionalities/data-formatter/rdar-13338477/Test-rdar-13338477.py
 test/lang/c/anonymous/TestAnonymous.py
On: smooshlab-project
At: Fri 04 Oct 2013 16:20:30
Changed By: enrico
Comments: <rdar://problem/12042982>

This radar extends the notion of one-liner summaries to automagically apply in a few interesting cases

More specifically, this checkin changes the printout of ValueObjects to print on one-line (as if type summary add -c had been applied) iff:
this ValueObject does not have a summary
its children have no synthetic children
its children are not a non-empty base class without a summary
its children do not have a summary that asks for children to show up
the aggregate length of all the names of all the children is <= 50 characters
you did not ask to see the types during a printout
your pointer depth is 0

This is meant to simplify the way LLDB shows data on screen for small structs and similarly compact data types (e.g. std::pair<int,int> anyone?)

Feedback is especially welcome on how the feature feels and corner cases where we should apply this printout and don't (or viceversa, we are applying it when we shouldn't be)

Properties: 
  phase_id: r192006-t20131004_170530-b12374



File: include/llvm/DebugInfo.h
On: smooshlab-project
At: Fri 04 Oct 2013 16:20:30
Changed By: echristo
Comments: Reformat.Properties: 
  phase_id: r192006-t20131004_170530-b12374



File: lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
On: smooshlab-project
At: Fri 04 Oct 2013 16:26:30
Changed By: dblaikie
Comments: Simplify setting of DIE tag for type DIEs by setting it in one* place.

* two actually due to some weird template thing... investigating that.Properties: 
  phase_id: r192006-t20131004_170530-b12374



File: include/llvm/DebugInfo.h
On: smooshlab-project
At: Fri 04 Oct 2013 16:40:30
Changed By: echristo
Comments: Pull this out for a bit of readability.Properties: 
  phase_id: r192006-t20131004_170530-b12374



Files:
 lib/CodeGen/AsmPrinter/DIE.h
 lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
On: smooshlab-project
At: Fri 04 Oct 2013 16:46:30
Changed By: dblaikie
Comments: Remove some dead code.Properties: 
  phase_id: r192006-t20131004_170530-b12374



Files:
 lib/Transforms/Utils/BasicBlockUtils.cpp
 test/Transforms/LoopSimplify/dup-preds.ll
On: smooshlab-project
At: Fri 04 Oct 2013 16:46:30
Changed By: hfinkel
Comments: UpdatePHINodes in BasicBlockUtils should not crash on duplicate predecessors

UpdatePHINodes has an optimization to reuse an existing PHI node, where it
first deletes all of its entries and then replaces them. Unfortunately, in the
case where we had duplicate predecessors (which are allowed so long as the
associated PHI entries have the same value), the loop removing the existing PHI
entries from the to-be-reused PHI would assert (if that PHI was not the one
which had the duplicates).Properties: 
  phase_id: r192006-t20131004_170530-b12374



Files:
 lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
 lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
On: smooshlab-project
At: Fri 04 Oct 2013 16:56:30
Changed By: echristo
Comments: Tighten up some type arguments to functions. Where we expect a
scope, pass a scope.Properties: 
  phase_id: r192006-t20131004_170530-b12374



File: lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
On: smooshlab-project
At: Fri 04 Oct 2013 16:56:30
Changed By: echristo
Comments: Reformat some odd formattings.Properties: 
  phase_id: r192006-t20131004_170530-b12374



File: lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
On: smooshlab-project
At: Fri 04 Oct 2013 16:56:30
Changed By: echristo
Comments: Remove odd use of this.Properties: 
  phase_id: r192006-t20131004_170530-b12374



File: lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
On: smooshlab-project
At: Fri 04 Oct 2013 17:00:30
Changed By: dblaikie
Comments: Minor formatting/comment rewording/etc.Properties: 
  phase_id: r192006-t20131004_170530-b12374



Files:
 lib/Target/Sparc/SparcInstrInfo.cpp
 test/CodeGen/SPARC/2011-01-11-CC.ll
On: smooshlab-project
At: Fri 04 Oct 2013 17:00:30
Changed By: venkatra
Comments: [Sparc] Correct the floating point conditional code mapping in GetOppositeBranchCondition().
Properties: 
  phase_id: r192006-t20131004_170530-b12374



File: source/DataFormatters/FormatManager.cpp
On: smooshlab-project
At: Fri 04 Oct 2013 17:10:30
Changed By: enrico
Comments: <rdar://problem/15154623>

Several CF* data formatters were in the AppKit category
This puts them back where they belong, i.e. in category CoreFoundation

Properties: 
  phase_id: r192017-t20131004_175018-b12378



Files:
 lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
 lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
On: smooshlab-project
At: Fri 04 Oct 2013 17:10:30
Changed By: echristo
Comments: Make a bunch of CompileUnit member functions private.Properties: 
  phase_id: r192017-t20131004_175018-b12378



Files:
 lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
 test/DebugInfo/ARM/selectiondag-deadcode.ll
On: smooshlab-project
At: Fri 04 Oct 2013 17:16:30
Changed By: adrian
Comments: Debug info: Don't crash in SelectionDAGISel when a vreg that is being
pointed to by a dbg_value belonging to a function argument is eliminated
during instruction selection.
rdar://problem/15094721.Properties: 
  phase_id: r192017-t20131004_175018-b12378



Files:
 include/lldb/DataFormatters/ValueObjectPrinter.h
 source/DataFormatters/ValueObjectPrinter.cpp
On: smooshlab-project
At: Fri 04 Oct 2013 17:26:30
Changed By: enrico
Comments: Cleaner way to work around the lack of delegating constructors on some versions of GCC

Properties: 
  phase_id: r192017-t20131004_175018-b12378



Files:
 lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
 lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
On: smooshlab-project
At: Fri 04 Oct 2013 17:36:30
Changed By: echristo
Comments: Add a resolve method on CompileUnit that forwards to DwarfDebug.Properties: 
  phase_id: r192017-t20131004_175018-b12378



Files:
 lib/Target/Sparc/SparcISelLowering.cpp
 test/CodeGen/SPARC/fp128.ll
On: smooshlab-project
At: Fri 04 Oct 2013 17:36:30
Changed By: venkatra
Comments: [Sparc] Respect hasHardQuad parameter correctly when lowering SINT_TO_FP with fp128 operand.
Properties: 
  phase_id: r192017-t20131004_175018-b12378



Files:
 lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
 lib/CodeGen/AsmPrinter/DwarfDebug.h
On: smooshlab-project
At: Fri 04 Oct 2013 17:40:30
Changed By: echristo
Comments: Fix one comment and update another. Slightly reformat.Properties: 
  phase_id: r192017-t20131004_175018-b12378



File: lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
On: smooshlab-project
At: Fri 04 Oct 2013 17:46:30
Changed By: echristo
Comments: Reorganize some member variables and update a comment.Properties: 
  phase_id: r192017-t20131004_175018-b12378



Files:
 include/llvm/DebugInfo.h
 lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
 lib/CodeGen/AsmPrinter/DwarfDebug.cpp
 lib/CodeGen/AsmPrinter/DwarfDebug.h
 lib/IR/DIBuilder.cpp
 lib/IR/DebugInfo.cpp
 test/Linker/Inputs/type-unique-simple2-a.ll
 test/Linker/Inputs/type-unique-simple2-b.ll
 test/Linker/type-unique-simple2.ll
 test/Transforms/LICM/debug-value.ll
On: smooshlab-project
At: Fri 04 Oct 2013 18:50:30
Changed By: mren
Comments: Debug Info: In DIBuilder, the derived-from field of a DW_TAG_pointer_type
is updated to use DITypeRef.

Move isUnsignedDIType and getOriginalTypeSize from DebugInfo.h to be static
helper functions in DwarfCompileUnit. We already have a static helper function
"isTypeSigned" in DwarfCompileUnit, and a pointer to DwarfDebug is added to
resolve the derived-from field. All three functions need to go across link
for derived-from fields, so we need to get hold of a type identifier map.

A pointer to DwarfDebug is also added to DbgVariable in order to resolve the
derived-from field.

Debug info verifier is updated to check a derived-from field is a TypeRef.
Verifier will not go across link for derived-from fields, in debug info finder,
we go across the link to add derived-from fields to types.

Function getDICompositeType is only used by dragonegg and since dragonegg does
not generate identifier for types, we use an empty map to resolve the
derived-from field.

When printing a derived-from field, we use DITypeRef::getName to either return
the type identifier or getName of the DIType.

A paired commit at clang is required due to changes to DIBuilder.
Properties: 
  phase_id: r192022-t20131004_190230-b12380



Files:
 test/CodeGenCXX/debug-info-artificial-arg.cpp
 test/CodeGenCXX/debug-info-method.cpp
 test/CodeGenCXX/debug-info-template-limit.cpp
 test/CodeGenCXX/debug-info-template-member.cpp
 test/CodeGenCXX/debug-info-template.cpp
On: smooshlab-project
At: Fri 04 Oct 2013 18:50:30
Changed By: mren
Comments: Debug Info: update testing cases when the derived-from field of a
DW_TAG_pointer_type is updated to use DITypeRef.

Paired commit with r192018.
Properties: 
  phase_id: r192022-t20131004_190230-b12380



Files:
 lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
 lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h
On: smooshlab-project
At: Fri 04 Oct 2013 19:00:30
Changed By: akaylor
Comments: Adding multiple GOT handling to RuntimeDyldELF

Patch by Ashok Thirumurthi

Properties: 
  phase_id: r192022-t20131004_190230-b12380



Files:
 test/ExecutionEngine/MCJIT/cross-module-sm-pic-a.ll
 test/ExecutionEngine/MCJIT/multi-module-sm-pic-a.ll
 test/ExecutionEngine/MCJIT/remote/cross-module-sm-pic-a.ll
 test/ExecutionEngine/MCJIT/remote/multi-module-sm-pic-a.ll
On: smooshlab-project
At: Fri 04 Oct 2013 19:00:30
Changed By: akaylor
Comments: Adding tests for multiple GOTs with MCJITProperties: 
  phase_id: r192022-t20131004_190230-b12380



Files:
 test/ExecutionEngine/MCJIT/cross-module-sm-pic-a.ll
 test/ExecutionEngine/MCJIT/multi-module-sm-pic-a.ll
 test/ExecutionEngine/MCJIT/remote/cross-module-sm-pic-a.ll
 test/ExecutionEngine/MCJIT/remote/multi-module-sm-pic-a.ll
On: smooshlab-project
At: Fri 04 Oct 2013 19:00:30
Changed By: akaylor
Comments: Updating XFAILs for recent GOT testsProperties: 
  phase_id: r192022-t20131004_190230-b12380



Files:
 lib/Target/Sparc/SparcISelLowering.cpp
 test/CodeGen/SPARC/fp128.ll
On: smooshlab-project
At: Fri 04 Oct 2013 19:36:30
Changed By: venkatra
Comments: [Sparc] Use correct alignment while loading/storing fp128 values.
Properties: 
  phase_id: r192025-t20131004_201001-b12383



Files:
 include/lldb/lldb-versioning.h
 tools/debugserver/source/DNB.cpp
 tools/debugserver/source/RNBRemote.cpp
On: smooshlab-project
At: Fri 04 Oct 2013 20:00:34
Changed By: jmolenda
Comments: Fix a few errors found when building lldb with newer versions of clang.
<rdar://problem/15148224> 
Properties: 
  phase_id: r192025-t20131004_201001-b12383



File: test/CodeGen/X86/aliases.ll
On: smooshlab-project
At: Fri 04 Oct 2013 20:06:30
Changed By: rafael
Comments: Convert test to FileCheck.Properties: 
  phase_id: r192025-t20131004_201001-b12383



Files:
 include/llvm/CodeGen/SelectionDAGISel.h
 lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
 utils/TableGen/DAGISelMatcher.cpp
 utils/TableGen/DAGISelMatcher.h
 utils/TableGen/DAGISelMatcherEmitter.cpp
 utils/TableGen/DAGISelMatcherOpt.cpp
On: smooshlab-project
At: Fri 04 Oct 2013 22:46:30
Changed By: ctopper
Comments: Add OPC_CheckChildSame0-3 to the DAG isel matcher. This replaces sequences of MoveChild, CheckSame, MoveParent. Saves 846 bytes from the X86 DAG isel matcher, ~300 from ARM, ~840 from Hexagon.Properties: 
  phase_id: r192026-t20131004_224830-b12384



File: include/clang/Sema/Sema.h
On: smooshlab-project
At: Fri 04 Oct 2013 23:56:30
Changed By: alp
Comments: Remove unused Sema::DelayedDestructorExceptionSpecs

This was a leftover from r160847.Properties: 
  phase_id: r192027-t20131004_235835-b12385



Files:
 include/llvm/CodeGen/ValueTypes.td
 include/llvm/IR/IntrinsicsAArch64.td
 lib/Target/AArch64/AArch64InstrFormats.td
 lib/Target/AArch64/AArch64InstrNEON.td
 test/CodeGen/AArch64/neon-across.ll
 test/MC/AArch64/neon-across.s
 test/MC/AArch64/neon-diagnostics.s
On: smooshlab-project
At: Sat 05 Oct 2013 01:30:34
Changed By: jiangning
Comments: Implement aarch64 neon instruction set AdvSIMD (Across).
Properties: 
  phase_id: r192029-t20131005_013235-b12386



Files:
 include/clang/Basic/arm_neon.td
 lib/CodeGen/CGBuiltin.cpp
 test/CodeGen/aarch64-neon-across.c
 utils/TableGen/NeonEmitter.cpp
On: smooshlab-project
At: Sat 05 Oct 2013 01:30:34
Changed By: jiangning
Comments: Implement aarch64 neon instruction set AdvSIMD (Across).
Properties: 
  phase_id: r192029-t20131005_013235-b12386



File: lib/Sema/SemaOverload.cpp
On: smooshlab-project
At: Sat 05 Oct 2013 03:10:30
Changed By: d0k
Comments: Sema: Cleanup redundant variable NumArgsToCheck

Patch by Daniel Marjamäki!Properties: 
  phase_id: r192030-t20131005_031230-b12387



Files:
 tools/lli/ChildTarget/ChildTarget.cpp
 tools/lli/ChildTarget/Unix/ChildTarget.inc
 tools/lli/ChildTarget/Windows/ChildTarget.inc
 tools/lli/RemoteTargetExternal.h
 tools/lli/Unix/RemoteTargetExternal.inc
 tools/lli/Windows/RemoteTargetExternal.inc
On: smooshlab-project
At: Sat 05 Oct 2013 05:00:30
Changed By: d0k
Comments: lli: Plug leaks in the remote target external implementation.Properties: 
  phase_id: r192031-t20131005_050231-b12388



Files:
 clang-apply-replacements/tool/ClangApplyReplacementsMain.cpp
 clang-modernize/AddOverride/AddOverride.cpp
 clang-modernize/AddOverride/AddOverride.h
 clang-modernize/CMakeLists.txt
 clang-modernize/Core/CMakeLists.txt
 clang-modernize/Core/FileOverrides.cpp
 clang-modernize/Core/FileOverrides.h
 clang-modernize/Core/Reformatting.cpp
 clang-modernize/Core/Reformatting.h
 clang-modernize/Core/ReplacementHandling.cpp
 clang-modernize/Core/ReplacementHandling.h
 clang-modernize/Core/SyntaxCheck.cpp
 clang-modernize/Core/SyntaxCheck.h
 clang-modernize/Core/Transform.cpp
 clang-modernize/Core/Transform.h
 clang-modernize/LoopConvert/LoopConvert.cpp
 clang-modernize/LoopConvert/LoopConvert.h
 clang-modernize/PassByValue/PassByValue.cpp
 clang-modernize/PassByValue/PassByValue.h
 clang-modernize/ReplaceAutoPtr/ReplaceAutoPtr.cpp
 clang-modernize/ReplaceAutoPtr/ReplaceAutoPtr.h
 clang-modernize/UseAuto/UseAuto.cpp
 clang-modernize/UseAuto/UseAuto.h
 clang-modernize/UseNullptr/UseNullptr.cpp
 clang-modernize/UseNullptr/UseNullptr.h
 clang-modernize/tool/CMakeLists.txt
 clang-modernize/tool/ClangModernize.cpp
 clang-modernize/tool/Makefile
 test/clang-modernize/Core/Inputs
 test/clang-modernize/Core/Inputs/.clang-format
 test/clang-modernize/Core/NoReformattingNeeded.cpp
 test/clang-modernize/Core/Reformatting.cpp
 test/clang-modernize/HeaderReplacements/main.cpp
 unittests/clang-modernize/CMakeLists.txt
 unittests/clang-modernize/FileOverridesTest.cpp
 unittests/clang-modernize/PerfSupportTest.cpp
 unittests/clang-modernize/ReformattingTest.cpp
 unittests/clang-modernize/TransformTest.cpp
 unittests/clang-modernize/UniqueHeaderNameTest.cpp
On: smooshlab-project
At: Sat 05 Oct 2013 05:20:30
Changed By: revane
Comments: clang-modernize: Apply replacements using clang-apply-replacements

Summary:
The clang-apply-replacements process is now invoked to apply
replacements between applying transforms. This resulted in a massive
simplification of the tool:
- FileOverrides class no longer needed.
- Change tracking and code formatting no longer needed.
- No more dependency on libclangApplyReplacements.
- Final syntax check is easier to do directly now than with a separate
  header/source pair.

Replacement handling stuff abstracted into a new header/source pair to
de-clutter ClangModernize.cpp somewhat.

Tests updated.

Differential Revision: http://llvm-reviews.chandlerc.com/D1836
Properties: 
  phase_id: r192032-t20131005_052230-b12389



File: clang-modernize/Core/ReplacementHandling.h
On: smooshlab-project
At: Sat 05 Oct 2013 06:36:30
Changed By: revane
Comments: clang-modernize: Fix clang-apply-replacements invocation bug

The command-line for clang-apply-replacements was being mangled due to an
uninitialized variable. gasp! Now fixed.

Properties: 
  phase_id: r192033-t20131005_063830-b12390



Files:
 lib/Driver/ToolChains.cpp
 lib/Driver/ToolChains.h
On: smooshlab-project
At: Sat 05 Oct 2013 07:46:34
Changed By: atanasyan
Comments: Remove unused param from Linux::computeSysRoot().Properties: 
  phase_id: r192034-t20131005_074835-b12391



Files:
 include/llvm/MC/MCELFStreamer.h
 include/llvm/MC/MCObjectStreamer.h
 include/llvm/MC/MCStreamer.h
 lib/CodeGen/AsmPrinter/DwarfDebug.cpp
 lib/LTO/LTOModule.cpp
 lib/MC/MCAsmStreamer.cpp
 lib/MC/MCMachOStreamer.cpp
 lib/MC/MCNullStreamer.cpp
 lib/MC/MCObjectStreamer.cpp
 lib/MC/MCPureStreamer.cpp
 lib/MC/MCStreamer.cpp
 lib/MC/WinCOFFStreamer.cpp
 lib/Target/ARM/ARMAsmPrinter.cpp
 lib/Target/ARM/AsmParser/ARMAsmParser.cpp
 lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
 lib/Target/ARM/MCTargetDesc/ARMELFStreamer.h
 lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
 lib/Target/Mips/AsmParser/MipsAsmParser.cpp
 lib/Target/Mips/MCTargetDesc/MipsELFStreamer.cpp
 lib/Target/Mips/MCTargetDesc/MipsELFStreamer.h
 lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp
 lib/Target/Mips/MipsAsmPrinter.cpp
 test/MC/ARM/elf-eflags-eabi-cg.ll
 test/MC/Mips/elf_eflags.ll
 test/MC/Mips/elf_eflags.s
 test/MC/Mips/elf_st_other.ll
 test/MC/Mips/elf_st_other.s
On: smooshlab-project
At: Sat 05 Oct 2013 09:50:30
Changed By: rafael
Comments: Remove some really nasty uses of hasRawTextSupport.

When MC was first added, targets could use hasRawTextSupport to keep features
working before they were added to the MC interface.

The design goal of MC is to provide an uniform api for printing assembly and
object files. Short of relaxations and other corner cases, a object file is
just another representation of the assembly.

It was never the intention that targets would keep doing things like

if (hasRawTextSupport())
  Set flags in one way.
else
  Set flags in another way.

When they do that they create two code paths and the object file is no longer
just another representation of the assembly. This also then requires testing
with llc -filetype=obj, which is extremelly brittle.

This patch removes some of these hacks by replacing them with smaller ones.
The ARM flag setting is trivial, so I just moved it to the constructor. For
Mips, the patch adds two temporary hack directives that allow the assembly
to represent the same things as the object file was already able to.

The hope is that the mips developers will replace the hack directives with
the same ones that gas uses and drop the -print-hack-directives flag.

I will also try to implement a target streamer interface, so that we can
move this out of the common code.

In summary, for any new work, two rules of the thumb are
  * Don't use "llc -filetype=obj" in tests.
  * Don't add calls to hasRawTextSupport.Properties: 
  phase_id: r192035-t20131005_095234-b12392



Files:
 include/clang/Basic/BuiltinsX86.def
 lib/Headers/tbmintrin.h
 test/CodeGen/tbm-builtins.c
On: smooshlab-project
At: Sat 05 Oct 2013 10:16:30
Changed By: ctopper
Comments: Use logical/arithmetic operations instead of builtins in tbmintrin.h. This way we can remove the intrinsic support from the backend.Properties: 
  phase_id: r192037-t20131005_102830-b12394



Files:
 lib/Target/X86/X86InstrInfo.td
 test/CodeGen/X86/tbm_patterns.ll
On: smooshlab-project
At: Sat 05 Oct 2013 10:26:30
Changed By: ctopper
Comments: Add an additional pattern for BLCI since opt can turn (not (add x, 1)) into (sub -2, x).Properties: 
  phase_id: r192037-t20131005_102830-b12394



Files:
 include/llvm/IR/IntrinsicsX86.td
 lib/Target/X86/X86InstrInfo.td
 test/CodeGen/X86/tbm-intrinsics-x86_64.ll
On: smooshlab-project
At: Sat 05 Oct 2013 12:30:30
Changed By: ctopper
Comments: Remove unneeded TBM intrinsics. The arithmetic/logical operation patterns are sufficient.Properties: 
  phase_id: r192039-t20131005_123230-b12395



File: lib/Target/X86/X86InstrInfo.td
On: smooshlab-project
At: Sat 05 Oct 2013 12:36:30
Changed By: ctopper
Comments: Remove underscores from TBM instruction names for consistency with other instruction naming.Properties: 
  phase_id: r192046-t20131005_133355-b12401



Files:
 lib/CodeGen/RegAllocBase.cpp
 lib/CodeGen/RegAllocFast.cpp
 test/CodeGen/X86/inline-asm-error.ll
On: smooshlab-project
At: Sat 05 Oct 2013 12:40:30
Changed By: d0k
Comments: Emit a better error when running out of registers on inline asm.

The most likely case where this error happens is when the user specifies
too many register operands. Don't make it look like an internal LLVM bug
when we can see that the error is coming from an inline asm instruction.
For other instructions we keep the "ran out of registers" error.Properties: 
  phase_id: r192046-t20131005_133355-b12401



File: unittests/IR/IRBuilderTest.cpp
On: smooshlab-project
At: Sat 05 Oct 2013 12:46:34
Changed By: aaronballman
Comments: Silencing an MSVC warning.Properties: 
  phase_id: r192046-t20131005_133355-b12401



File: lib/Sema/SemaLookup.cpp
On: smooshlab-project
At: Sat 05 Oct 2013 13:00:30
Changed By: aaronballman
Comments: Silencing an MSVC warning; SmallSet::count returns a bool instead of a size_t.Properties: 
  phase_id: r192046-t20131005_133355-b12401



File: lib/Target/X86/X86.td
On: smooshlab-project
At: Sat 05 Oct 2013 13:16:30
Changed By: nicholas
Comments: Rename this feature to "cx16" to match gcc's flag name. Apparently these strings
are directly tied to the flag names in clang with no remapping in between?
Properties: 
  phase_id: r192046-t20131005_133355-b12401



Files:
 include/clang/Driver/Options.td
 lib/Basic/Targets.cpp
 test/Preprocessor/x86_target_features.c
On: smooshlab-project
At: Sat 05 Oct 2013 13:20:30
Changed By: nicholas
Comments: Add support for -mcx16, and predefine __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16 when
it is enabled. Also enable it on the same architectures that GCC does.
Properties: 
  phase_id: r192046-t20131005_133355-b12401



File: lib/Target/X86/X86InstrInfo.cpp
On: smooshlab-project
At: Sat 05 Oct 2013 13:26:30
Changed By: ctopper
Comments: Add TBM instructions to loading folding tables.Properties: 
  phase_id: r192046-t20131005_133355-b12401



File: lib/Sema/SemaDeclAttr.cpp
On: smooshlab-project
At: Sat 05 Oct 2013 15:50:30
Changed By: aaronballman
Comments: Switching the CallableWhen attribute over to using the string literal helper function instead of custom logic.Properties: 
  phase_id: r192050-t20131005_155231-b12402



Files:
 lib/CodeGen/ABIInfo.h
 lib/CodeGen/TargetInfo.cpp
On: smooshlab-project
At: Sat 05 Oct 2013 18:40:30
Changed By: rudkx
Comments: Pass CGCXXABIs around directly.

In functions that only need to use the CGCXXABI member of a CodeGenTypes
class, pass that reference around directly rather than a reference to
a CodeGenTypes class.

This makes the actual dependence on CGCXXABI clear at the call sites.Properties: 
  phase_id: r192052-t20131005_184230-b12403



Files:
 lib/Target/Sparc/SparcInstrInfo.td
 test/CodeGen/SPARC/2011-01-11-CC.ll
On: smooshlab-project
At: Sat 05 Oct 2013 19:16:30
Changed By: venkatra
Comments: [Sparc] Use addxcc/subxcc for adde/sube instead of addx/subx.
addx/subx does not modify conditional codes whereas addxcc/subxx does.
Properties: 
  phase_id: r192053-t20131005_191835-b12404



Files:
 lib/Target/Sparc/SparcISelLowering.cpp
 lib/Target/Sparc/SparcInstr64Bit.td
 test/CodeGen/SPARC/2011-01-11-CC.ll
On: smooshlab-project
At: Sat 05 Oct 2013 20:40:30
Changed By: venkatra
Comments: [Sparc] Custom lower addc/adde/subc/sube on i64 in sparc64.
This is required because i64 is a legal type but addxcc/subxcc reads icc carry bit, which are 32 bit conditional codes.

Properties: 
  phase_id: r192054-t20131005_204235-b12405



Files:
 lib/Target/X86/X86ISelLowering.cpp
 lib/Target/X86/X86InstrAVX512.td
 test/CodeGen/X86/avx512-shuffle.ll
On: smooshlab-project
At: Sat 05 Oct 2013 23:16:30
Changed By: delena
Comments: AVX-512: fixed shuffle lowering
in case of BLEND and added VSHUFPS patterns.
Properties: 
  phase_id: r192055-t20131005_231830-b12406



Files:
 lib/Target/Sparc/DelaySlotFiller.cpp
 lib/Target/Sparc/SparcInstrInfo.td
 test/CodeGen/SPARC/2011-01-11-CC.ll
 test/CodeGen/SPARC/fp128.ll
On: smooshlab-project
At: Sun 06 Oct 2013 00:10:30
Changed By: venkatra
Comments: [Sparc] Do not emit nop after fcmp* instruction with V9.
Properties: 
  phase_id: r192056-t20131006_001234-b12407



File: include/llvm/Support/ELF.h
On: smooshlab-project
At: Sun 06 Oct 2013 01:56:30
Changed By: atanasyan
Comments: [Mips] Add MIPS program header types.Properties: 
  phase_id: r192059-t20131006_015830-b12408



File: source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
On: smooshlab-project
At: Sun 06 Oct 2013 02:56:34
Changed By: sylvestre
Comments: Value stored to 'pid' was never read. Found by scan-build http://buildd-clang.debian.net/scan-build/Properties: 
  phase_id: r192060-t20131006_025835-b12409



File: lib/CodeGen/TargetInfo.cpp
On: smooshlab-project
At: Sun 06 Oct 2013 03:00:30
Changed By: sylvestre
Comments: remove a dead assignment. The variables are set just right after. Found by scan-build http://buildd-clang.debian.net/scan-build/Properties: 
  phase_id: r192061-t20131006_030607-b12410



Files:
 lib/Format/Format.cpp
 unittests/Format/FormatTest.cpp
On: smooshlab-project
At: Sun 06 Oct 2013 04:46:30
Changed By: djasper
Comments: clang-format: Remove empty lines after visibility modifiers.

Formatting:
  class C {
  public:

    f();
  };

Now leads to:
  class C {
  public:
    f();
  };Properties: 
  phase_id: r192062-t20131006_044830-b12411



Files:
 include/llvm/IR/IntrinsicsX86.td
 lib/Target/X86/X86ISelLowering.cpp
 lib/Target/X86/X86InstrAVX512.td
 lib/Target/X86/X86InstrInfo.cpp
 test/CodeGen/X86/avx512-cvt.ll
 test/CodeGen/X86/avx512-intrinsics.ll
On: smooshlab-project
At: Sun 06 Oct 2013 06:16:30
Changed By: delena
Comments: AVX-512: added scalar convert instructions and intrinsics.
Fixed load folding in VPERM2I instruction.
Properties: 
  phase_id: r192063-t20131006_061830-b12412



Files:
 lib/Target/X86/X86InstrInfo.cpp
 test/CodeGen/X86/unaligned-spill-folding.ll
On: smooshlab-project
At: Sun 06 Oct 2013 06:56:30
Changed By: d0k
Comments: X86: Don't fold spills into SSE operations if the stack is unaligned.

Regalloc can emit unaligned spills nowadays, but we can't fold the
spills into SSE ops if we can't guarantee alignment. PR12250.Properties: 
  phase_id: r192065-t20131006_070612-b12414



File: test/CodeGen/X86/unaligned-spill-folding.ll
On: smooshlab-project
At: Sun 06 Oct 2013 07:00:30
Changed By: d0k
Comments: Force a CPU that doesn't have AVX, otherwise this test fails.Properties: 
  phase_id: r192065-t20131006_070612-b12414



Files:
 docs/LangRef.rst
 lib/AsmParser/LLParser.cpp
 lib/CodeGen/AsmPrinter/AsmPrinter.cpp
 lib/IR/Verifier.cpp
 test/CodeGen/X86/aliases.ll
On: smooshlab-project
At: Sun 06 Oct 2013 08:16:30
Changed By: rafael
Comments: Add support for aliases with linkonce_odr.

This will be used to extend constructor aliases in clang.Properties: 
  phase_id: r192066-t20131006_081830-b12415



Files:
 lib/AST/VTableBuilder.cpp
 test/CodeGenCXX/microsoft-abi-vtables-single-inheritance.cpp
On: smooshlab-project
At: Sun 06 Oct 2013 08:36:30
Changed By: timurrrr
Comments: Fix PR17382 - properly group virtual method overloads in the vftableProperties: 
  phase_id: r192067-t20131006_083830-b12416



Files:
 autoconf/configure.ac
 cmake/config-ix.cmake
 cmake/modules/LLVM-Config.cmake
 cmake/modules/TableGen.cmake
 include/llvm/Config/config.h.cmake
 include/llvm/Config/config.h.in
 include/llvm/Support/Process.h
 lib/Support/Unix/Process.inc
 lib/Support/Windows/DynamicLibrary.inc
 lib/Support/Windows/Path.inc
 lib/Support/Windows/Process.inc
 lib/Support/Windows/Program.inc
 lib/Support/Windows/Signals.inc
 lib/Support/Windows/Windows.h
 projects/sample/autoconf/configure.ac
 utils/FileCheck/CMakeLists.txt
 utils/FileUpdate/CMakeLists.txt
 utils/not/CMakeLists.txt
On: smooshlab-project
At: Sun 06 Oct 2013 13:30:30
Changed By: majnemer
Comments: Windows: Add support for unicode command lines

Summary:
The MSVCRT deliberately sends main() code-page specific characters.
This isn't too useful to LLVM as we end up converting the arguments to
UTF-16 and subsequently attempt to use the result as, for example, a
file name.  Instead, we need to have the ability to access the Unicode
command line and transform it to UTF-8.

This has the distinct advantage over using the MSVC-specific wmain()
function as our entry point because:
 - It doesn't work on cygwin.
 - It only work on MinGW with caveats and only then on certain versions.
 - We get to keep our entry point as main(). :)

N.B.  This patch includes fixes to other parts of lib/Support/Windows
s.t. we would be able to take advantage of getting the Unicode paths.
E.G.  clang spawning clang -cc1 would want to give it Unicode arguments.

Reviewers: aaron.ballman, Bigcheese, rnk, ruiu

Reviewed By: rnk

CC: llvm-commits, ygao

Differential Revision: http://llvm-reviews.chandlerc.com/D1834Properties: 
  phase_id: r192069-t20131006_133230-b12417



Files:
 autoconf/configure.ac
 cmake/config-ix.cmake
 cmake/modules/LLVM-Config.cmake
 cmake/modules/TableGen.cmake
 include/llvm/Config/config.h.cmake
 include/llvm/Config/config.h.in
 include/llvm/Support/Process.h
 lib/Support/Unix/Process.inc
 lib/Support/Windows/DynamicLibrary.inc
 lib/Support/Windows/Path.inc
 lib/Support/Windows/Process.inc
 lib/Support/Windows/Program.inc
 lib/Support/Windows/Signals.inc
 lib/Support/Windows/Windows.h
 projects/sample/autoconf/configure.ac
 utils/FileCheck/CMakeLists.txt
 utils/FileUpdate/CMakeLists.txt
 utils/not/CMakeLists.txt
On: smooshlab-project
At: Sun 06 Oct 2013 13:50:30
Changed By: majnemer
Comments: Revert "Windows: Add support for unicode command lines"

This is causing MinGW bots to fail.
This reverts commit r192069.
Properties: 
  phase_id: r192070-t20131006_135235-b12418



File: lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
On: smooshlab-project
At: Sun 06 Oct 2013 15:46:30
Changed By: ctopper
Comments: Fix some assert messages to say the correct opcode name. Looks like one assert got copy and pasted to many places.Properties: 
  phase_id: r192078-t20131006_154830-b12419



Files:
 autoconf/configure.ac
 cmake/config-ix.cmake
 cmake/modules/LLVM-Config.cmake
 cmake/modules/TableGen.cmake
 configure
 include/llvm/Config/config.h.cmake
 include/llvm/Config/config.h.in
 include/llvm/Support/Process.h
 lib/Support/Unix/Process.inc
 lib/Support/Windows/DynamicLibrary.inc
 lib/Support/Windows/Path.inc
 lib/Support/Windows/Process.inc
 lib/Support/Windows/Program.inc
 lib/Support/Windows/Signals.inc
 lib/Support/Windows/Windows.h
 projects/sample/autoconf/configure.ac
 projects/sample/configure
 utils/FileCheck/CMakeLists.txt
 utils/FileUpdate/CMakeLists.txt
 utils/not/CMakeLists.txt
On: smooshlab-project
At: Sun 06 Oct 2013 18:06:30
Changed By: majnemer
Comments: Revert "Revert "Windows: Add support for unicode command lines""

This reverts commit r192070 which reverted r192069, I forgot to
regenerate the configure scripts.
Properties: 
  phase_id: r192079-t20131006_180835-b12420



Files:
 lib/Target/X86/X86InstrArithmetic.td
 test/MC/Disassembler/X86/x86-32.txt
 test/MC/Disassembler/X86/x86-64.txt
 utils/TableGen/X86RecognizableInstr.cpp
On: smooshlab-project
At: Sun 06 Oct 2013 21:36:30
Changed By: ctopper
Comments: Add disassembler support for long encodings for INC/DEC in 32-bit mode.Properties: 
  phase_id: r192086-t20131006_213830-b12421



File: lib/Sema/SemaExpr.cpp
On: smooshlab-project
At: Sun 06 Oct 2013 22:20:30
Changed By: faisalv
Comments: Refactor tryCaptureVar using ExtractMethod.  No functionality change.

In chicago, Doug had requested that I go ahead and commit the refactor  as a separate change, if all the tests passed.  

Lets hope the buildbots stay quiet.

Thanks!Properties: 
  phase_id: r192087-t20131006_222235-b12422



Files:
 lib/Target/X86/AsmParser/X86AsmParser.cpp
 lib/Target/X86/X86InstrSSE.td
 test/MC/X86/x86_64-avx-encoding.s
On: smooshlab-project
At: Sun 06 Oct 2013 22:50:30
Changed By: ctopper
Comments: Teach X86 asm parser that VMOVAPSrr and other VEX-encoded register to register moves should be switched from using the MRMSrcReg form to the MRMDestReg form if the source register is a 64-bit extended register and the destination register is not.

This allows the instruction to be encoded using the 2-byte VEX form instead of the 3-byte VEX form. The GNU assembler has similar behavior and instruction selection already does this.

Properties: 
  phase_id: r192089-t20131006_231835-b12424



Files:
 lib/Target/X86/X86InstrInfo.cpp
 lib/Target/X86/X86InstrSSE.td
On: smooshlab-project
At: Sun 06 Oct 2013 23:16:34
Changed By: ctopper
Comments: Remove FsMOVAPSrr and friends. They have no patterns and are no longer selected anywhere.Properties: 
  phase_id: r192089-t20131006_231835-b12424



Files:
 lib/Target/X86/X86InstrSSE.td
 test/MC/Disassembler/X86/x86-32.txt
 test/MC/Disassembler/X86/x86-64.txt
 utils/TableGen/X86RecognizableInstr.cpp
On: smooshlab-project
At: Mon 07 Oct 2013 00:26:30
Changed By: ctopper
Comments: Remove some instructions that seem to only exist to trick the filtering checks in the disassembler table creation. Just fix up the filter to let the real instruction through instead.Properties: 
  phase_id: r192091-t20131007_004230-b12426



File: tools/driver/driver.cpp
On: smooshlab-project
At: Mon 07 Oct 2013 00:40:30
Changed By: majnemer
Comments: Driver: Use the canonical command line arguments.

Summary:
Use the arguments given to the OS at process creation-time instead of
the arguments passed into main() by the C runtime environment.  The ones
that main() received may not be suitable (e.g. not Unicode).

Depends on D1834

CC: cfe-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D1835Properties: 
  phase_id: r192091-t20131007_004230-b12426



Files:
 include/clang/AST/ASTContext.h
 include/clang/AST/Decl.h
 include/clang/AST/Redeclarable.h
 lib/AST/Decl.cpp
 lib/Serialization/ASTReaderDecl.cpp
 test/Modules/Inputs/templates-left.h
 test/Modules/Inputs/templates-right.h
 test/Modules/Inputs/templates-top.h
 test/Modules/templates.mm
On: smooshlab-project
At: Mon 07 Oct 2013 01:10:30
Changed By: rsmith
Comments: When merging class definitions across modules in C++, merge together fields.
This change doesn't go all the way to making fields redeclarable; instead, it
makes them 'mergeable', which means we can find the canonical declaration, but
not much else (and for a declaration that's not from a module, the canonical
declaration is always that declaration).
Properties: 
  phase_id: r192092-t20131007_011230-b12427



Files:
 test/Object/Inputs/program-headers.mips
 test/tools/llvm-readobj/program-headers.test
 tools/llvm-readobj/ELFDumper.cpp
On: smooshlab-project
At: Mon 07 Oct 2013 02:06:30
Changed By: atanasyan
Comments: [Mips] Teach llvm-readobj to print MIPS-specific ELF program headers.

The patch reviewed by Michael Spencer.
http://llvm-reviews.chandlerc.com/D1846Properties: 
  phase_id: r192096-t20131007_030230-b12431



Files:
 lib/Format/UnwrappedLineParser.cpp
 unittests/Format/FormatTest.cpp
On: smooshlab-project
At: Mon 07 Oct 2013 02:20:30
Changed By: klimek
Comments: Fix incorrect detection of class definitions with alignas specification.Properties: 
  phase_id: r192096-t20131007_030230-b12431



File: lib/Sema/SemaExpr.cpp
On: smooshlab-project
At: Mon 07 Oct 2013 02:40:30
Changed By: chapuni
Comments: Sema::tryCaptureVariable(): Prune three unused variables, HasBlocksAttr, IsBlock, and IsLambda. [-Wunused-variable]Properties: 
  phase_id: r192096-t20131007_030230-b12431



Files:
 lib/Support/Windows/Path.inc
 lib/Support/Windows/Program.inc
 lib/Support/Windows/RWMutex.inc
 lib/Support/Windows/Signals.inc
On: smooshlab-project
At: Mon 07 Oct 2013 03:00:30
Changed By: majnemer
Comments: Windows: Be more explicit with Win32 APIs

This addresses several issues in a similar vein:
 - Use the Unicode APIs when possible, running nm on clang shows that we
   only use Unicode APIs except for FormatMessage, CreateSemaphore, and
   GetModuleHandle.  AFAICT, the latter two are coming from MinGW and
   not LLVM itself.
 - Make getMainExecutable more resilient.  It previously considered
   return values of zero from ::GetModuleFileNameA to be acceptable.
Properties: 
  phase_id: r192096-t20131007_030230-b12431



Files:
 lib/Target/ARM/ARM.td
 lib/Target/ARM/ARMInstrInfo.td
 lib/Target/ARM/ARMInstrThumb.td
 lib/Target/ARM/ARMSubtarget.h
 lib/Target/ARM/AsmParser/ARMAsmParser.cpp
 test/MC/ARM/thumb-diagnostics.s
 test/MC/ARM/thumb-hints.s
 test/MC/ARM/thumb-nop.s
On: smooshlab-project
At: Mon 07 Oct 2013 04:16:30
Changed By: tnorthover
Comments: ARM: allow cortex-m0 to use hint instructions

The hint instructions ("nop", "yield", etc) are mostly Thumb2-only, but have
been ported across to the v6M architecture. Fortunately, v6M seems to sit
nicely between v6 (thumb-1 only) and v6T2, so we can add a feature for it
fairly easily.

rdar://problem/15144406Properties: 
  phase_id: r192097-t20131007_041830-b12432



Files:
 include/llvm/MC/SubtargetFeature.h
 lib/MC/SubtargetFeature.cpp
On: smooshlab-project
At: Mon 07 Oct 2013 06:40:30
Changed By: rafael
Comments: Fix the documentation of getDefaultSubtargetFeatures.

Patch by David Nadlinger.Properties: 
  phase_id: r192098-t20131007_064235-b12433



Files:
 lib/Target/ARM/ARMBaseRegisterInfo.cpp
 lib/Target/ARM/ARMBaseRegisterInfo.h
 lib/Target/Hexagon/HexagonRegisterInfo.cpp
 lib/Target/Hexagon/HexagonRegisterInfo.h
 lib/Target/Mips/MipsRegisterInfo.cpp
 lib/Target/Mips/MipsRegisterInfo.h
 lib/Target/PowerPC/PPCRegisterInfo.cpp
 lib/Target/PowerPC/PPCRegisterInfo.h
 lib/Target/Sparc/SparcRegisterInfo.cpp
 lib/Target/Sparc/SparcRegisterInfo.h
 lib/Target/X86/X86RegisterInfo.cpp
 lib/Target/X86/X86RegisterInfo.h
On: smooshlab-project
At: Mon 07 Oct 2013 06:46:30
Changed By: rafael
Comments: Remove getEHExceptionRegister and getEHHandlerRegister.

They haven't been used for a long time. Patch by MathOnNapkins.Properties: 
  phase_id: r192102-t20131007_070934-b12436



File: clang-modernize/Core/ReplacementHandling.h
On: smooshlab-project
At: Mon 07 Oct 2013 06:46:30
Changed By: revane
Comments: clang-modernize: Fixing doxygen warnings

Properties: 
  phase_id: r192102-t20131007_070934-b12436



Files:
 include/llvm/ExecutionEngine/ExecutionEngine.h
 lib/ExecutionEngine/ExecutionEngine.cpp
 lib/ExecutionEngine/JIT/JIT.cpp
On: smooshlab-project
At: Mon 07 Oct 2013 07:00:30
Changed By: rafael
Comments: Remove dead code.

Support for exception handling in the legacy JIT was removed in r181354 and
this code was dead since then.

Thanks to Yaron Keren for noticing it.Properties: 
  phase_id: r192102-t20131007_070934-b12436



File: docs/LangRef.rst
On: smooshlab-project
At: Mon 07 Oct 2013 07:06:30
Changed By: rafael
Comments: Fix typo.

Thanks to Sean Silva for noticing it.Properties: 
  phase_id: r192102-t20131007_070934-b12436



File: lib/Support/Windows/Process.inc
On: smooshlab-project
At: Mon 07 Oct 2013 08:40:30
Changed By: chapuni
Comments: Windows/Process.inc: Fix for +Asserts. &Buf[0] is not guaranteed if size is zero.Properties: 
  phase_id: r192104-t20131007_085235-b12438



File: tools/Makefile
On: smooshlab-project
At: Mon 07 Oct 2013 08:50:34
Changed By: chapuni
Comments: Revert r191088, corresponding to r191823 to re-enable llvm-lto on cygming.

r191088 is "llvm/tools/Makefile: Suppress building llvm-lto on cygming, for now, probably due to LTO.dll."Properties: 
  phase_id: r192104-t20131007_085235-b12438



Files:
 docs/ModernizerUsage.rst
 docs/clang-modernize.rst
On: smooshlab-project
At: Mon 07 Oct 2013 09:00:30
Changed By: revane
Comments: Update clang-modernizer docs

Summary: Docs updated to reflect new behaviour and new options.

Differential Revision: http://llvm-reviews.chandlerc.com/D1841

Properties: 
  phase_id: r192108-t20131007_095024-b12442



File: test/MC/Disassembler/ARM/thumb2-v8.txt
On: smooshlab-project
At: Mon 07 Oct 2013 09:20:30
Changed By: joey
Comments: [ARMv8] Add some disassembly tests for Thumb sevl/sevl.w
Properties: 
  phase_id: r192108-t20131007_095024-b12442



Files:
 lib/Target/AArch64/AArch64ISelLowering.cpp
 lib/Target/AArch64/AArch64InstrNEON.td
 test/CodeGen/AArch64/neon-scalar-mul.ll
 test/CodeGen/AArch64/neon-scalar-recip.ll
 test/MC/AArch64/neon-diagnostics.s
 test/MC/AArch64/neon-scalar-mul.s
 test/MC/AArch64/neon-scalar-recip.s
 test/MC/Disassembler/AArch64/neon-instructions.txt
On: smooshlab-project
At: Mon 07 Oct 2013 09:40:30
Changed By: mcrosier
Comments: [AArch64] Add support for NEON scalar arithmetic instructions:
SQDMULH, SQRDMULH, FMULX, FRECPS, and FRSQRTS.Properties: 
  phase_id: r192108-t20131007_095024-b12442



Files:
 bindings/python/tests/cindex/test_comment.py
 test/Index/attributes.c
On: smooshlab-project
At: Mon 07 Oct 2013 09:46:30
Changed By: akirtzidis
Comments: [libclang] Add some tests by Loïc Jaquemet that I forgot to add earlier.Properties: 
  phase_id: r192108-t20131007_095024-b12442



Files:
 lib/Target/ARM/ARM.td
 lib/Target/ARM/ARMAsmPrinter.cpp
 lib/Target/ARM/ARMBuildAttrs.h
 lib/Target/ARM/ARMSubtarget.cpp
 lib/Target/ARM/ARMSubtarget.h
 lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
 test/CodeGen/ARM/2010-09-29-mc-asm-header-test.ll
 test/CodeGen/ARM/2010-10-19-mc-elf-objheader.ll
 test/MC/ARM/xscale-attributes.ll
On: smooshlab-project
At: Mon 07 Oct 2013 10:00:34
Changed By: aemerson
Comments: [ARM] Improve build attributes emission.
Properties: 
  phase_id: r192115-t20131007_103300-b12446



Files:
 include/clang/Basic/arm_neon.td
 lib/CodeGen/CGBuiltin.cpp
 test/CodeGen/aarch64-neon-intrinsics.c
On: smooshlab-project
At: Mon 07 Oct 2013 10:16:35
Changed By: mcrosier
Comments: [AArch64] Add support for NEON scalar arithmetic instructions:
SQDMULH, SQRDMULH, FMULX, FRECPS, and FRSQRTS.Properties: 
  phase_id: r192115-t20131007_103300-b12446



Files:
 lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp
 test/Analysis/retain-release-path-notes.m
 test/Analysis/retain-release.m
On: smooshlab-project
At: Mon 07 Oct 2013 10:20:35
Changed By: jrose
Comments: [analyzer] RetainCountChecker: add support for CFAutorelease.

<rdar://problems/13710586&13710643>Properties: 
  phase_id: r192115-t20131007_103300-b12446



Files:
 include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
 lib/StaticAnalyzer/Checkers/CStringSyntaxChecker.cpp
 lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp
 lib/StaticAnalyzer/Checkers/CheckSizeofPointer.cpp
 lib/StaticAnalyzer/Checkers/MallocOverflowSecurityChecker.cpp
 lib/StaticAnalyzer/Checkers/MallocSizeofChecker.cpp
 lib/StaticAnalyzer/Checkers/ObjCContainersASTChecker.cpp
 lib/StaticAnalyzer/Checkers/VirtualCallChecker.cpp
 lib/StaticAnalyzer/Core/BugReporter.cpp
On: smooshlab-project
At: Mon 07 Oct 2013 10:26:30
Changed By: jrose
Comments: [analyzer] ArrayRef-ize BugReporter::EmitBasicReport.

No functionality change.Properties: 
  phase_id: r192115-t20131007_103300-b12446



Files:
 lib/Sema/SemaObjCProperty.cpp
 test/SemaObjC/overriding-property-in-class-extension.m
 test/SemaObjC/property-in-class-extension-1.m
 test/SemaObjC/tentative-property-decl.m
On: smooshlab-project
At: Mon 07 Oct 2013 10:26:30
Changed By: fjahanian
Comments: ObjectiveC: Warn when 'readonly' property has explicit
ownership attribute (such as 'copy', 'assign' etc.)
// rdar://15131088
Properties: 
  phase_id: r192115-t20131007_103300-b12446



LOGS:






More information about the llvm-testresults mailing list