- Jun 21, 2013
-
-
Nick Lewycky authored
given -disable-free. (Reviewed by John McCall over IRC.) llvm-svn: 184595
-
David Blaikie authored
PR16214: Debug info for types first used via pointers or qualified types & later require definitions llvm-svn: 184594
-
Michael Gottesman authored
Thanks to Bill Wendling for pointing this out! llvm-svn: 184593
-
Kevin Enderby authored
that have been run through the 'C' pre-processor. The implementation of SrcMgr.FindLineNumber() is slow but OK if it uses its cache when called multiple times with an SMLoc that is forward of the previous call. In the case of generating dwarf for assembly source files that have been run through the 'C' pre-processor we need to calculate the logical line number based on the last parsed cpp hash file line comment. And the current code calls SrcMgr.FindLineNumber() twice to do this causing its cache not to work and results in very slow compile times: % time /Volumes/SandBox/build-llvm/Debug+Asserts/bin/llvm-mc -triple thumbv7-apple-ios -filetype=obj -o /tmp/x.o mscorlib.dll.E -g 672.542u 0.299s 11:13.15 99.9% 0+0k 0+2io 2106pf+0w So we save the info from the last parsed cpp hash file line comment to avoid making the second call to SrcMgr.FindLineNumber() most times and end up with compile times like: % time /Volumes/SandBox/build-llvm/Debug+Asserts/bin/llvm-mc -triple thumbv7-apple-ios -filetype=obj -o /tmp/x.o mscorlib.dll.E -g 3.404u 0.104s 0:03.80 92.1% 0+0k 0+3io 2105pf+0w rdar://14156934 llvm-svn: 184592
-
Michael Liao authored
llvm-svn: 184591
-
Benjamin Kramer authored
Revert "BlockFrequency: Saturate at 1 instead of 0 when multiplying a frequency with a branch probability." This reverts commit r184584. Breaks PPC selfhost. llvm-svn: 184590
-
Rui Ueyama authored
llvm-svn: 184589
-
rdar://problem/13980489Han Ming Ong authored
I added scan type to ‘qGetProfileData’ previously but forgot to update the check to be a substring search. llvm-svn: 184588
-
Michael Gottesman authored
[objc-arc-opts] Now that PtrState.RRI is encapsulated in PtrState, make PtrState.RRI private and delete the TODO. llvm-svn: 184587
-
Michael Gottesman authored
[objc-arc-opts] Encapsulated PtrState.RRI.{Calls,ReverseInsertPts} into several methods on PtrState. llvm-svn: 184586
-
Rui Ueyama authored
llvm-svn: 184585
-
Benjamin Kramer authored
Zero is used by BlockFrequencyInfo as a special "don't know" value. It also causes a sink for frequencies as you can't ever get off a zero frequency with more multiplies. This recovers a 10% regression on MultiSource/Benchmarks/7zip. A zero frequency was propagated into an inner loop causing excessive spilling. PR16402. llvm-svn: 184584
-
Michael Gottesman authored
[objcarcopts] Encapsulated PtrState.RRI.IsTrackingImpreciseRelease() => PtrState.IsTrackingImpreciseRelease(). llvm-svn: 184583
-
Michael Gottesman authored
[objcarcopts] Encapsulate PtrState.RRI.CFGHazardAfflicted via methods PtrState.{IsCFGHazardAfflicted,SetCFGHazardAfflicted}. llvm-svn: 184582
-
Matt Beaumont-Gay authored
Fixes PR16292. llvm-svn: 184581
-
Enrico Granata authored
Change the SWIG wrappers to stop directly casting SB object to SWIG objects, and instead use a safer type-checked API (thanks templates) Any time a SWIG wrapper needs a PyObject for an SB object, it now should call into SBTypeToSWIGWrapper<SBType>(SBType*) If you try to use it on an SBType for which there is not an implementation yet, LLDB will fail to link - just add your specialization to python-swigsafecast.swig and rebuild This is the first step in simplifying our SWIG Wrapper layer llvm-svn: 184580
-
Justin Holewinski authored
IR for CUDA should use "nvptx[64]-nvidia-cuda", and IR for NV OpenCL should use "nvptx[64]-nvidia-nvcl" llvm-svn: 184579
-
Justin Holewinski authored
llvm-svn: 184578
-
Larisse Voufo authored
llvm-svn: 184577
-
Andrew Trick authored
llvm-svn: 184576
-
Michael Liao authored
When (srl (anyextend x), c) is folded into (anyextend (srl x, c)), the high bits are not cleared. Add 'and' to clear off them. llvm-svn: 184575
-
Andrew Trick authored
llvm-svn: 184574
-
Andrew Trick authored
llvm-svn: 184573
-
Andrew Trick authored
Live intervals for dead physregs may be created during coalescing. We need to update these in the event that their instruction goes away. crash.ll is the unit test that catches it when MI sched is enabled on X86. llvm-svn: 184572
-
Andrew Trick authored
I want to add logic to handle more cases. llvm-svn: 184571
-
Andrew Trick authored
llvm-svn: 184570
-
Andrew Trick authored
llvm-svn: 184569
-
Andrew Trick authored
Always coalesce in forward order to propagate rematerialization. I'm fixing this option so I can enable it by default soon. llvm-svn: 184568
-
Andrew Trick authored
llvm-svn: 184567
-
Andrew Trick authored
llvm-svn: 184566
-
Andrew Trick authored
llvm-svn: 184565
-
Andrew Trick authored
llvm-svn: 184564
-
Manuel Klimek authored
Make that option the default for LLVM style. llvm-svn: 184563
-
Howard Hinnant authored
I created a random mangled name generator and have thrown about 200 million random strings at the demangler. I succeeded in crashing it twice more and those crashers have been fixed and the test suite updated with the crash cases. llvm-svn: 184562
-
Jordan Rose authored
Per review from Anna, this really should have been two commits, and besides it's causing problems on our internal buildbot. Reverting until these have been worked out. This reverts r184511 / 98123284826bb4ce422775563ff1a01580ec5766. llvm-svn: 184561
-
Douglas Gregor authored
This prevents -pedantic from causing warnings in the system headers used to create modules. Fixes <rdar://problem/14201171>. llvm-svn: 184560
-
Larisse Voufo authored
llvm-svn: 184559
-
Samuel Benzaquen authored
Add support for polymorphic matchers. Use runtime type checking to determine the right polymorphic overload to use. llvm-svn: 184558
-
Sergey Matveev authored
llvm-svn: 184557
-
Sergey Matveev authored
llvm-svn: 184556
-