Mikhail Glushenkov
a44e838bcb
Correct option forwarding: initial implementation.
...
Does not work, but the infrastructure changes are in place.
llvm-svn: 96920
2010-02-23 09:04:44 +00:00
Mikhail Glushenkov
04ae7a6e01
Precompiled headers: initial support.
...
llvm-svn: 96919
2010-02-23 09:04:33 +00:00
Mikhail Glushenkov
ebf8fbbb8f
New experimental/undocumented feature: 'works_on_empty'.
...
For now, just enough support to make -filelist work.
llvm-svn: 96918
2010-02-23 09:04:28 +00:00
Mikhail Glushenkov
23cce8188b
Support '-install_name'.
...
llvm-svn: 96917
2010-02-23 09:04:18 +00:00
Mikhail Glushenkov
e499d576a9
Add a way to enable '-opt=foo' forwarding.
...
llvm-svn: 96916
2010-02-23 09:04:13 +00:00
Daniel Dunbar
40886109ce
Inline and eliminate LLVMG{CC,XX}WITHPATH.
...
llvm-svn: 96913
2010-02-23 07:56:41 +00:00
Daniel Dunbar
d6800f5ee9
Remove ancient Xcode project, replaced by CMake project.
...
llvm-svn: 96912
2010-02-23 07:56:38 +00:00
Daniel Dunbar
e63080d6cc
Remove dead LUPGRADE make variable.
...
llvm-svn: 96911
2010-02-23 07:56:36 +00:00
Daniel Dunbar
52af870692
Kill off unused LLVMGCCLIBEXEC make variable.
...
llvm-svn: 96910
2010-02-23 07:56:34 +00:00
Daniel Dunbar
e67ebdc60a
Kill off LLVMGCCARCH and LLVMGCC_VERSION make variables.
...
llvm-svn: 96909
2010-02-23 07:56:31 +00:00
Daniel Dunbar
6d914f8904
Eliminate llvmgcc_version testing variable.
...
llvm-svn: 96908
2010-02-23 07:56:28 +00:00
Daniel Dunbar
e7d4f92cfa
Kill off LLVMGCC_MAJVERS make variable.
...
llvm-svn: 96907
2010-02-23 07:56:22 +00:00
Daniel Dunbar
d6a395278b
Kill unused llvmgccmajvers testing variable.
...
llvm-svn: 96906
2010-02-23 07:56:18 +00:00
Chris Lattner
4b9225b41a
add some #if 0'd out code for checking that named values in
...
input/output patterns have the same type. It turns out that
this triggers all the time because we don't infer types
between these boundaries. Until we do, don't turn this on.
llvm-svn: 96905
2010-02-23 07:50:58 +00:00
Chris Lattner
5b0e24902b
Reject patterns that use a name multiple times in the src or result
...
of a pattern and where the uses have different types.
llvm-svn: 96904
2010-02-23 07:22:28 +00:00
Chris Lattner
89f6ec462d
disable two patterns that are using non-sensical result pattern types.
...
llvm-svn: 96903
2010-02-23 07:21:15 +00:00
Ted Kremenek
e3c26d8f7e
Add test case for <rdar://problem/7242010>, which appears to have been fixed
...
in the recent changes to RegionStore::InvalidateRegions(). Note that we
are still not yet modeling 'memcpy()' explicitly.
llvm-svn: 96902
2010-02-23 07:17:57 +00:00
Chris Lattner
7489838a89
remove a confused pattern that is trying to match an address
...
then use it as an MMX register (!?).
llvm-svn: 96901
2010-02-23 07:16:12 +00:00
Chris Lattner
a7722b6f76
reject patterns that have dead named arguments in the input pattern
...
this is tidier and can find bugs.
llvm-svn: 96900
2010-02-23 06:55:24 +00:00
Chris Lattner
d17089231a
remove a bunch of dead named arguments in input patterns,
...
though some look dubious afaict, these are all ok.
llvm-svn: 96899
2010-02-23 06:54:29 +00:00
Chris Lattner
94d3b0a77d
reject patterns that mention a name in the destination pattern
...
but not in the input. Previously, this would trigger an abort
late in the isel logic.
llvm-svn: 96898
2010-02-23 06:35:45 +00:00
Anders Carlsson
8939e400b6
Implement IsOverriderUsed. This can't be tested yet due to some other bugs :)
...
llvm-svn: 96897
2010-02-23 06:34:44 +00:00
Chris Lattner
0c0baa91a4
merge some code.
...
llvm-svn: 96896
2010-02-23 06:16:51 +00:00
Charles Davis
8e495e78a5
When comparing two calling conventions after redeclaring a function, compare
...
the canonical calling conventions instead of comparing the raw calling
conventions directly. Fixes PR6361.
llvm-svn: 96895
2010-02-23 06:13:55 +00:00
Chris Lattner
48370e14e7
fix a type mismatch in this pattern, where we were using an i64 imm in a
...
place where an i32 imm was required, the old isel just got lucky.
This fixes CodeGen/X86/x86-64-and-mask.ll
llvm-svn: 96894
2010-02-23 06:09:57 +00:00
Ted Kremenek
552eeaa93e
Move the rest of the unreachable code analysis from libSema
...
to libAnalysis (with only the error reporting in libSema).
llvm-svn: 96893
2010-02-23 05:59:20 +00:00
Ted Kremenek
9884e365dc
Simplify check for basic block with a CXXTryStmt terminator.
...
llvm-svn: 96892
2010-02-23 05:59:16 +00:00
Chris Lattner
f66b6aa232
more tidying up
...
llvm-svn: 96891
2010-02-23 05:59:10 +00:00
Bob Wilson
923261bbe9
Update memdep when load PRE inserts a new load, and add some debug output.
...
I don't have a small testcase for this.
llvm-svn: 96890
2010-02-23 05:55:00 +00:00
Chris Lattner
ee820ace06
reduce indentation by eliminating 'else after return'
...
llvm-svn: 96889
2010-02-23 05:51:07 +00:00
Chris Lattner
c51b7198a9
reapply my cellspu changes with a fix to not break the old isel.
...
llvm-svn: 96885
2010-02-23 05:30:43 +00:00
Charles Davis
3fc5107cd9
When a reference to a field of a struct/union/class is passed to the
...
__alignof__ operator, make sure to take into account the packed alignment
of the struct/union/class itself. Matches GCC's behavior and fixes PR6362.
llvm-svn: 96884
2010-02-23 04:52:00 +00:00
Anders Carlsson
a8796c692c
Stub out IsOverriderUsed.
...
llvm-svn: 96883
2010-02-23 04:26:39 +00:00
Anders Carlsson
0570f71255
More fixes. Don't try to emit a virtual base vtable if the virtual base in question is a primary virtual base of some other base.
...
llvm-svn: 96881
2010-02-23 03:48:14 +00:00
Anders Carlsson
bae46277fe
Always emit vcall offset for the primary base, not only if it's virtual. Remove a debug printf, and add the test case that now passes.
...
llvm-svn: 96880
2010-02-23 03:26:17 +00:00
Anders Carlsson
510d22d097
Simplify the vcall offset calculation and make it give the correct answers :) My test case now has the right values but in the wrong order.
...
llvm-svn: 96877
2010-02-23 03:14:49 +00:00
Ted Kremenek
49fd94d261
Add missing header file.
...
llvm-svn: 96875
2010-02-23 03:08:26 +00:00
Anders Carlsson
30f5301e54
More work on vcall offsets. We now emit the right number of vcall offsets in my local test case, but not the right values.
...
llvm-svn: 96874
2010-02-23 02:47:31 +00:00
Dan Gohman
8ad777dc75
Update LangRef to match the code; pointers default to being 64-bit.
...
llvm-svn: 96873
2010-02-23 02:44:03 +00:00
Ted Kremenek
7296de9ae3
Start moving some of the logic for the unreachable code analysis out of libSema
...
and into libAnalysis.
llvm-svn: 96872
2010-02-23 02:39:16 +00:00
Dan Gohman
7e5c4906dd
Revert 96854, 96852, and 96849, unbreaking test/CodeGen/CellSPU/i64ops.ll.
...
llvm-svn: 96871
2010-02-23 02:33:29 +00:00
Chris Lattner
a828850b4d
X86InstrInfoSSE.td declares PINSRW as having type v8i16,
...
don't alis it in the MMX .td file with a different width,
split into two X86ISD opcodes. This fixes an x86 testcase.
llvm-svn: 96859
2010-02-23 02:07:48 +00:00
Johnny Chen
21dbd6f449
Added versions of VCGE, VCGT, VCLE, and VCLT NEON instructions which compare to
...
(immediate #0 ) for disassembly only.
A8.6.283, A8.6.285, A8.6.287, A8.6.290
llvm-svn: 96856
2010-02-23 01:42:58 +00:00
Ted Kremenek
e10ba52be9
Convert use of std::queue to llvm::SmallVector and fix buildbot.
...
llvm-svn: 96855
2010-02-23 01:39:04 +00:00
Chris Lattner
22bc26e4cf
fix hte last cellspu failure.
...
llvm-svn: 96854
2010-02-23 01:37:39 +00:00
Anders Carlsson
075056a8f9
Move BaseOffset out of the FinalOverriders class.
...
llvm-svn: 96853
2010-02-23 01:34:28 +00:00
Chris Lattner
807666783c
hack around more crimes in instruction selection.
...
llvm-svn: 96852
2010-02-23 01:33:17 +00:00
Dan Gohman
e7f6feb469
Convert this test to FileCheck and add a testcase for PR3574.
...
llvm-svn: 96851
2010-02-23 01:28:09 +00:00
Fariborz Jahanian
afe1386ed9
More support for ivars in class extension.
...
llvm-svn: 96850
2010-02-23 01:26:30 +00:00
Chris Lattner
fbbe2617dc
the cell backend is making all sorts of unsafe and incorrect assumptions
...
about ownership and update policies. It isn't clear why it is doing all
this lowering at isel time instead of in legalize. This fixes fcmp64.ll
llvm-svn: 96849
2010-02-23 01:20:00 +00:00