Douglas Gregor
006599011d
Generalize the module offset map to include mapping information for
...
all of the kinds of IDs that can be offset. No effectively
functionality change; this is preparation for adding remapping for
IDs.
llvm-svn: 136686
2011-08-02 10:56:51 +00:00
Tobias Grosser
bd2b2c7117
Add a vect target to the polly testsuite
...
Contributed by: Sebastian Pop <sebpop@gmail.com>
llvm-svn: 136685
2011-08-02 07:22:05 +00:00
Bill Wendling
6bc7caa334
Duncan's english is better than mine. :-)
...
llvm-svn: 136684
2011-08-02 06:39:13 +00:00
Bill Wendling
46ffaa95bd
Remove the LLVMBuildUnwind C API function.
...
The 'unwind' function is going away with the new EH rewrite. This is step 0 in
keeping front-ends from using it.
llvm-svn: 136683
2011-08-02 06:20:17 +00:00
Nick Kledzik
2dfc79b19e
make cxxabi.h safe for C code to include
...
llvm-svn: 136682
2011-08-02 05:15:26 +00:00
Nick Kledzik
1c839a945b
use LIBCXXABI_NORETURN
...
llvm-svn: 136681
2011-08-02 05:01:31 +00:00
Nick Kledzik
12a10bc046
make LIBCXXABI_NORETURN be the right attribute
...
llvm-svn: 136680
2011-08-02 05:01:17 +00:00
Benjamin Kramer
3c05b7c161
Make helper functions static.
...
llvm-svn: 136679
2011-08-02 04:50:49 +00:00
Richard Trieu
cfc491d308
Fix formatting of SemaExpr.cpp, mainly fixing lines greater than 80 characters.
...
No functional change.
llvm-svn: 136678
2011-08-02 04:35:43 +00:00
Andrew Trick
77c55428fa
Use consistent terminology for loop exit/exiting blocks. Name change only.
...
llvm-svn: 136677
2011-08-02 04:23:35 +00:00
Benjamin Kramer
c4189ff0fc
Remove empty test.
...
llvm-svn: 136675
2011-08-02 02:47:45 +00:00
Owen Anderson
bddf40e082
Revert r136503 and r136480 in an effort to fix non-determinism in the llvm-gcc buildbots on i386. Devang is looking into the root cause.
...
llvm-svn: 136674
2011-08-02 02:23:42 +00:00
John McCall
c26ea5a51a
I am the code owner for Clang's IR generation; this has been true
...
for awhile, but it's good to make this official.
Just to be clear, Doug and Ted "elected" me to this position.
Might as well add myself to the credits list while I'm at it.
llvm-svn: 136673
2011-08-02 01:38:19 +00:00
Nick Kledzik
7cb4926da1
use abort_message() for pthread errors in __cxa_get_globals
...
llvm-svn: 136672
2011-08-02 01:34:26 +00:00
Nick Kledzik
18ab5f4164
use abort_message()
...
llvm-svn: 136671
2011-08-02 01:19:07 +00:00
Nick Kledzik
49cbb02a6a
move abort_message() to its own file
...
llvm-svn: 136670
2011-08-02 01:18:14 +00:00
Nick Kledzik
d5b690d39c
add abort_message() utility function
...
llvm-svn: 136669
2011-08-02 01:16:03 +00:00
Eli Friedman
4bc9f3c174
Minor wording tweak for memory model.
...
llvm-svn: 136668
2011-08-02 01:15:34 +00:00
Nick Kledzik
476e600cd4
Added kledzik to CREDITS.TXT
...
llvm-svn: 136667
2011-08-02 01:05:24 +00:00
Johnny Chen
da0384c90e
Simple renaming: self.swatch -> self.stopwatch.
...
llvm-svn: 136666
2011-08-02 00:50:55 +00:00
Eli Friedman
8d468f88a2
Fix a couple silly typos in IRBuilder in the new atomic instructions.
...
llvm-svn: 136665
2011-08-02 00:45:35 +00:00
Johnny Chen
2352af85f9
Add a Stopwatch utility class to lldbench.py module and initialize an instance of
...
Stopwatch (self.swatch) within the BenchBase's setUp() instance method to be available
to all the child classes.
Use self.swatch to measure elapsed time in TestRepeatedExprs.py, which needs to be
modified later on to actually measure repeated expression evaluations within the
context of lldb as well as gdb.
llvm-svn: 136664
2011-08-02 00:43:09 +00:00
Nick Lewycky
a530a4d925
Bail from FastISel when we encounter a volatile memset intrinsic. Patch by Ivan
...
Krasin!
llvm-svn: 136663
2011-08-02 00:40:16 +00:00
Bob Wilson
8e2b75dbad
Revert "Re-enable byval for ARM in clang. rdar://problem/7662569"
...
This reverts commit 67d097e1232b7d66f58989c16a45b8a11721f76e.
We found a miscompile with ARM byval, which is still being investigated.
In the meantime, this works around the problem by disabling ARM byval.
Conflicts:
lib/CodeGen/TargetInfo.cpp
llvm-svn: 136662
2011-08-01 23:39:04 +00:00
Owen Anderson
3022d6711d
Make the FixedLengthDecoderEmitter smart enough to autogenerate decoders for encodings like "let Inst{11-7} = foo;", where the RHS has no bitwidth specifiers.
...
llvm-svn: 136660
2011-08-01 22:45:43 +00:00
Anna Zaks
15f496c118
Add a skeleton for the Keychain Services API Checker. Register it as OSX experimental for now. Note, the checker still does not handle tracking of escaped values, taking into account the return value of the allocator functions, nor the actual bug reporting..
...
llvm-svn: 136659
2011-08-01 22:40:01 +00:00
Fariborz Jahanian
e1506cbfda
objective-c: reverse patch for // rdar://9818354
...
llvm-svn: 136658
2011-08-01 22:39:49 +00:00
Tobias Grosser
2bd3af1e89
Fix two compiler warnings
...
One of them actually pointed to an invalid condition in an assert.
llvm-svn: 136657
2011-08-01 22:39:00 +00:00
Jim Grosbach
9f620a6883
Move imm0_255 to ARMInstrInfo.td with the other immediate predicates.
...
llvm-svn: 136656
2011-08-01 22:02:20 +00:00
Jim Grosbach
0f731b3232
Fix comments.
...
llvm-svn: 136655
2011-08-01 21:55:12 +00:00
Bruno Cardoso Lopes
a8e3673816
Add v4f64 -> v2f32 fp_round support. Also add a testcase to exercise
...
the legalizer. This commit together with the two previous ones fixes
PR10495.
llvm-svn: 136654
2011-08-01 21:54:09 +00:00
Bruno Cardoso Lopes
616fe60548
Teach PreprocessISelDAG to be aware of vector types and to not process them.
...
llvm-svn: 136653
2011-08-01 21:54:05 +00:00
Bruno Cardoso Lopes
bd30a4b584
Lower CONCAT_VECTORS to use two VINSERTF128 instructions instead of
...
using a stack store.
llvm-svn: 136652
2011-08-01 21:54:02 +00:00
Johnny Chen
c96a0476cd
Remove unittest.skip() as 'rdar://problem/9691614 Expression parser crashes' is fixed.
...
llvm-svn: 136651
2011-08-01 21:36:02 +00:00
Johnny Chen
098781b55e
Remove the @expectedFailure decorator as rdar://problem/8668674 is fixed.
...
llvm-svn: 136650
2011-08-01 21:30:30 +00:00
Johnny Chen
985e740cd9
Add an abstract base class called BenchBase to be inherited by benchmark tests.
...
Modify the example TestRepeatedExprs.py to use BenchBase, instead.
llvm-svn: 136649
2011-08-01 21:13:26 +00:00
Sean Callanan
7f3755b5ff
Fixed a problem in the expression parser that
...
caused functions that were cast as part of the
call to have that cast ignored once their
addresses were resolved.
Notably, in the case of objc_msgSend(), if
the function was cast from something returning
i8* to something returning i8, the expression
parser was discarding the cast as part of its
resolution. This caused crashes later on.
llvm-svn: 136648
2011-08-01 20:53:53 +00:00
Akira Hatanaka
fb1d9f325c
Implement MipsABIInfo::EmitVAArg. This fix enables clang to complete compilation
...
without bailing out when va_arg is an aggregate expression. However,
alignment checking needs to be added in isSafeToEliminateVarargsCast in
InstCombineCalls.cpp in order to produce correct mips code (see link below).
http://lists.cs.uiuc.edu/pipermail/llvmdev/2011-July/042047.html
llvm-svn: 136647
2011-08-01 20:48:01 +00:00
Roman Divacky
2fbb48ae20
Fix a typo.
...
llvm-svn: 136646
2011-08-01 20:38:27 +00:00
Owen Anderson
faee2cf9ff
The FixedLenDecoder needs to gracefully handle failing per-instruction decoder hooks in addition to per-operand decoder hooks.
...
llvm-svn: 136645
2011-08-01 20:06:49 +00:00
Chad Rosier
96d690ccdf
Driver: When compiling i386 -fapple-kext code, we fallback to llvmgcc.
...
Unfortunately, llvmgcc doesn't always work when writing temporary output to
/dev/null. Therefore, create a temp file that is later deleted.
rdar://9837692
llvm-svn: 136644
2011-08-01 19:58:48 +00:00
Chandler Carruth
c099a6f9ce
Actually finish switching to the new system for Target sublibrary
...
TableGen deps introduced in r136023. This completes the fixing that
dgregor started in r136621. Sorry for missing these the first time
around.
This should fix some of the random race-condition failures people are
still seeing with CMake.
llvm-svn: 136643
2011-08-01 19:55:11 +00:00
Bruno Cardoso Lopes
7513939ddd
Since vectors with all ones can't be created with a 256-bit instruction,
...
avoid returning early for v8i32 types, which would only be valid for
vector with all zeros. Also split the handling of zeros and ones into separate
checking logic since they are handled differently. This fixes PR10547
llvm-svn: 136642
2011-08-01 19:51:53 +00:00
Johnny Chen
fb4264c501
More refactorings to migrate logic from TestBase to its parent class.
...
llvm-svn: 136641
2011-08-01 19:50:58 +00:00
Evan Cheng
de4ae46607
Set endianess and pointer size for PPC Linux. Bug noticed by Roman Divacky.
...
llvm-svn: 136639
2011-08-01 19:43:05 +00:00
Jakub Staszak
8b13b59f60
Change SmallVector to SmallPtrSet in BranchProbabilityInfo. Handle cases where
...
one than one successor goes to the same block.
llvm-svn: 136638
2011-08-01 19:16:26 +00:00
Johnny Chen
a74bb0ae6f
Start refactoring lldbtest.TestBase so that it inherits from a newly created lldbtest.Base class,
...
while its API clients remain unchanged. The new lldbtest.Base class is to capture common behaviors
when working with the test driver to accomplish things. The clients of lldbtest.Base can be
lldb command line and api tests as well as other generic tests like a benchmark test.
llvm-svn: 136636
2011-08-01 18:46:13 +00:00
Owen Anderson
37ef826040
Enhance the fixed length disassembler to better handle operand decoding failures.
...
llvm-svn: 136635
2011-08-01 18:44:37 +00:00
Owen Anderson
36bc519a7f
Add a clear() operation to MCInst, to drop all of its operands. Useful for the disassembler, where we may realize fairly late into decoding that something is wrong and need to reset.
...
llvm-svn: 136634
2011-08-01 18:43:18 +00:00
Johnny Chen
f57119bc21
Remove the @expectedFailure decorator since the bug has been fixed.
...
rdar://problem/9673664
llvm-svn: 136633
2011-08-01 18:26:32 +00:00