Bob Wilson
66161f5eb4
Revert new AVX intrinsic tests. They are breaking buildbots and Bruno is
...
away from a computer now.
--- Reverse-merging r109881 into '.':
D test/CodeGen/X86/avx-intrinsics-x86.ll
D test/CodeGen/X86/avx-intrinsics-x86_64.ll
llvm-svn: 109959
2010-07-31 22:36:03 +00:00
Daniel Dunbar
b6ab76b82f
build: Don't pass -avoid-version or -no-undefined on Darwin, they don't do
...
anything.
llvm-svn: 109958
2010-07-31 21:33:01 +00:00
Daniel Dunbar
40842fa2ee
build: Don't pass -avoid-version or -no-undefined on Darwin, they don't do
...
anything.
llvm-svn: 109957
2010-07-31 21:32:56 +00:00
Daniel Dunbar
727be43a3d
Silence some -Asserts uninitialized variable warnings.
...
llvm-svn: 109956
2010-07-31 21:08:54 +00:00
Michael J. Spencer
f695f8f9ed
llc: Add -mc-relax-all.
...
llvm-svn: 109954
2010-07-31 19:57:02 +00:00
Daniel Dunbar
0b636a24c7
Speculatively revert r108614, "Another attempt at getting the clang self-host to
...
like my instcombine patch.", in an attempt to fix Clang i386 bootstrap.
- Also PR7719.
llvm-svn: 109953
2010-07-31 19:51:11 +00:00
Daniel Dunbar
cb82acb884
Parser: Add support for #pragma align, which is just another spelling of #pragma
...
options align.
llvm-svn: 109952
2010-07-31 19:17:07 +00:00
Rafael Espindola
e490460fc8
Add const to some methods and change TestMergedProgram to return the merged
...
module and take a const BugDriver.
llvm-svn: 109951
2010-07-31 14:34:49 +00:00
Gabor Greif
779e4b15f1
doxygenize argument accessors
...
llvm-svn: 109950
2010-07-31 08:35:21 +00:00
Michael J. Spencer
ed80f361b3
MC: Remove HasAbsolutizedSet from WindowsX86AsmBackend.
...
llvm-svn: 109949
2010-07-31 07:21:44 +00:00
Bob Wilson
b128824b60
Move newlines before inline jumptables from the asm strings in .td files to
...
the jtblock_operand print methods. This avoids extra newlines in the
disassembler's output. PR7757.
llvm-svn: 109948
2010-07-31 06:28:10 +00:00
Michael J. Spencer
6b4925e223
Add relax all support to the COFF object streamer.
...
llvm-svn: 109947
2010-07-31 06:22:29 +00:00
Bob Wilson
cd5fc7bef1
Add support for disassembling VMVN (immediate) instructions. PR7747.
...
llvm-svn: 109946
2010-07-31 05:57:44 +00:00
Ted Kremenek
d21139a34f
After a lengthy design discussion, add support for "ownership attributes" for malloc/free checking. Patch by Andrew McGregor!
...
llvm-svn: 109939
2010-07-31 01:52:11 +00:00
Sean Callanan
5300d37aa7
Added support for rewriting objc_msgSend so we can
...
call Objective-C methods from expressions. Also added
some more logging to the function-calling thread plan
so that we can see the registers when a function
finishes.
Also documented things maybe a bit better.
llvm-svn: 109938
2010-07-31 01:32:05 +00:00
Douglas Gregor
0e11955c7a
Implement dependency analysis for the precompiled preamble. If any of
...
the files in the precompiled preamble have changed since it was build,
force the preamble to be rebuilt.
llvm-svn: 109937
2010-07-31 00:40:00 +00:00
Rafael Espindola
40f18838b7
The BlockExtractorPass() constructor was not reading the BlockFile and that was
...
exactly what bugpoint expected it to do.
There was also only one user of
BlockExtractorPass(const std::vector<BasicBlock*> &B), so just remove it and
make BlockExtractorPass read BlockFile.
This fixes bugpoint's block extraction.
Nick, please review.
llvm-svn: 109936
2010-07-31 00:32:17 +00:00
Owen Anderson
c1561b8400
Add an initial implementation of PHI translation for LazyValueInfo. This involves rolling back some
...
of my earlier data structure improvements until I can ensure that there are no iterator invalidation problems.
llvm-svn: 109935
2010-07-30 23:59:40 +00:00
Evan Cheng
59069ec784
Add -disable-shifter-op to disable isel of shifter ops. On Cortex-a9 the shifts cost extra instructions so it might be better to emit them separately to take advantage of dual-issues.
...
llvm-svn: 109934
2010-07-30 23:33:54 +00:00
Bob Wilson
eb7b21f3eb
Add a check in the ARM disassembler for NEON instructions that would
...
reference registers past the end of the NEON register file, and report them
as invalid instead of asserting when trying to print them. PR7746.
llvm-svn: 109933
2010-07-30 23:27:59 +00:00
Howard Hinnant
719ed7d058
buildit adjustment
...
llvm-svn: 109931
2010-07-30 23:15:01 +00:00
Greg Clayton
3382c2c80d
Fixed debugserver to not exit when we are able to spawn the process, yet not
...
launch it due to not being able to get the task port. A SIGHUP was killing us
and also an error string wasn't properly being passed along. Got rid of a
class error variable that can only lead to multi-threaded crashes.
llvm-svn: 109930
2010-07-30 23:14:42 +00:00
Ted Kremenek
e92d2749b8
Update checker build.
...
llvm-svn: 109907
2010-07-30 23:07:20 +00:00
Bill Wendling
9b8d586039
Add a "Compare" flag to the target instruction descriptor. This will be used
...
later to identify and possibly remove superfluous compare instructions -- those
that are testing for and setting a status flag that should already be set.
llvm-svn: 109901
2010-07-30 22:48:39 +00:00
Johnny Chen
7dc2e4784e
We can do better when reporting the status of one-liner script execution.
...
Change the prototype of ScriptInterpreter::ExecuteOneLine() to return bool
instead of void and take one additional parameter as CommandReturnObject *.
Propagate the status of one-liner execution back appropriately.
llvm-svn: 109899
2010-07-30 22:33:14 +00:00
Tom Care
fe1a4944b1
Test case for PR7763.
...
llvm-svn: 109895
2010-07-30 21:42:31 +00:00
Howard Hinnant
e7b3e177c4
Let C lib supply stdbool.h
...
llvm-svn: 109894
2010-07-30 21:28:27 +00:00
Tom Care
18f67e669f
Uncomment unfinished work bailout in IdempotentOperationsChecker.
...
llvm-svn: 109893
2010-07-30 21:14:15 +00:00
Dale Johannesen
cf0287e56d
PPC doesn't supported VLA with large alignment. This was
...
formerly rejected by the FE, so asserted in the BE; now the FE only
warns, so we treat it as a legitimate fatal error in PPC BE.
This means the test for the feature won't pass, so it's xfail'd.
llvm-svn: 109892
2010-07-30 21:09:48 +00:00
Dan Gohman
d566d2c7b5
Move MaximumAlignment to be a member of the Value class.
...
llvm-svn: 109891
2010-07-30 21:07:05 +00:00
Douglas Gregor
15ba0b34a9
Add some timers to ASTUnit that are only enabled when the LIBCLANG_TIMING environment variable is set.
...
llvm-svn: 109890
2010-07-30 20:58:08 +00:00
Owen Anderson
e4a0ab69d2
Revert my last two patches to LVI, which recent changes have exposed a miscompilation in.
...
llvm-svn: 109889
2010-07-30 20:56:07 +00:00
Greg Clayton
e637112102
Updated to llvm/clang from July 30, 2010 at 08:00.
...
llvm-svn: 109887
2010-07-30 20:30:44 +00:00
Nick Lewycky
299c6dfcbf
Add missing newline to debug statement.
...
llvm-svn: 109886
2010-07-30 20:27:01 +00:00
Nick Lewycky
916a28b16a
LibCallAliasAnalysis uses multiple inheritance, so it needs to implement
...
getAdjustedAnalysisPointer. Part of a fix to PR7760.
llvm-svn: 109883
2010-07-30 20:19:09 +00:00
Greg Clayton
48e4254989
Added "void Clear();" methods to SBDebugger, SBTarget and SBThread so they can release their shared pointers.
...
llvm-svn: 109882
2010-07-30 20:12:55 +00:00
Bruno Cardoso Lopes
92941fdb26
A *bunch* of tests for AVX intrinsics
...
llvm-svn: 109881
2010-07-30 19:57:56 +00:00
Bob Wilson
4320e2d1bb
Add the __TEXT,__StaticInit section to the list of sections emitted at the
...
beginning on ARM Darwin assembly files so that it won't be placed after
debug sections. Radar 8252813.
llvm-svn: 109879
2010-07-30 19:55:47 +00:00
Bruno Cardoso Lopes
349165b48f
Support all 128-bit AVX vector intrinsics. Most part of them I already
...
declared during the addition of the assembler support, the additional
changes are:
- Add missing intrinsics
- Move all SSE conversion instructions in X86InstInfo64.td to the SSE.td file.
- Duplicate some patterns to AVX mode.
- Step into PCMPEST/PCMPIST custom inserter and add AVX versions.
llvm-svn: 109878
2010-07-30 19:54:33 +00:00
Bruno Cardoso Lopes
405405bbfe
Fix typo!
...
llvm-svn: 109877
2010-07-30 19:41:24 +00:00
Bob Wilson
964179cb58
Attempt to fix the llvm-gcc-powerpc-darwin9 buildbot.
...
llvm-svn: 109876
2010-07-30 18:52:47 +00:00
Daniel Dunbar
5dc31317dd
MC: Initialize MCFragment::Offset, noticed by Cameron Esfahani.
...
llvm-svn: 109875
2010-07-30 18:32:09 +00:00
Daniel Dunbar
c90e82a7f1
Fix -Wmissing-field-initializers warnings.
...
llvm-svn: 109872
2010-07-30 17:49:04 +00:00
Sebastian Redl
671eee9e68
Correctly deal with using names for both functions and structs in chained PCH.
...
llvm-svn: 109871
2010-07-30 17:25:10 +00:00
Peter Collingbourne
7957c73f0b
Add specialisation iterators for {Class,Function}TemplateDecl
...
This patch introduces the ClassTemplateDecl::spec_{begin,end}()
and FunctionTemplateDecl::{,partial_}spec_{begin,end}() member
functions as a public interface for iterating over the declarations'
specialisation sets.
llvm-svn: 109870
2010-07-30 17:09:11 +00:00
Peter Collingbourne
b498ed6e0b
Refactor find*Specialization functions using SpecEntryTraits
...
This patch reimplements the find*Specialization family of member
functions of {Class,Function}TemplateDecl in terms of a common
implementation that uses SpecEntryTraits to obtain the most recent
declaration.
llvm-svn: 109869
2010-07-30 17:09:04 +00:00
Peter Collingbourne
e3de2ebe75
Introduce RedeclarableTemplateDecl::SpecEntryTraits
...
SpecEntryTraits describes how to obtain the most recent declaration
of a specialisation from an entry in a specialisation FoldingSet.
llvm-svn: 109868
2010-07-30 17:08:56 +00:00
Sebastian Redl
3df5a08b99
Safely get a data pointer for vectors that might be empty.
...
llvm-svn: 109867
2010-07-30 17:03:48 +00:00
Fariborz Jahanian
7b70eb4bb1
Tighten the rules when deciding if an ivar must be
...
auto-synthesized (nonfragile-abi2 specific).
Fixes radar 8251648.
llvm-svn: 109866
2010-07-30 16:59:05 +00:00
Abramo Bagnara
ed5b6899ab
Fixed typedef inside extern "C".
...
llvm-svn: 109865
2010-07-30 16:47:02 +00:00