- May 17, 2012
-
-
Jakob Stoklund Olesen authored
RegisterCoalescer set <undef> flags on all operands of copy instructions that are scheduled to be removed. This is so they won't affect shrinkToUses() by introducing false register reads. Make sure those <undef> flags are never cleared, or shrinkToUses() could cause live intervals to end at instructions about to be deleted. This would be a lot simpler if RegisterCoalescer could just erase joined copies immediately instead of keeping all the to-be-deleted instructions around. This fixes PR12862. Unfortunately, bugpoint can't create a sane test case for this. Like many other coalescer problems, this failure depends of a very fragile series of events. <rdar://problem/11474428> llvm-svn: 157001
-
Jakob Stoklund Olesen authored
Make sure useless (def-only) intervals also get verified. llvm-svn: 157000
-
Argyrios Kyrtzidis authored
migration error. This is more trouble that it is worth; autoreleasing a value without holding on it is a valid use-case, we should not "punish" correct code for the minority of broken/fragile programs that depend on the behavior of -autorelease. rdar://9914061 llvm-svn: 156999
-
Bill Wendling authored
bugpoint-ing, it may turn into something else. llvm-svn: 156998
-
Evandro Menezes authored
llvm-svn: 156996
-
Chris Lattner authored
separate side table, using the handy SequenceToOffsetTable class. This encodes all these weird things into another 256 bytes, allowing all intrinsics to be encoded this way. llvm-svn: 156995
-
Filipe Cabecinhas authored
TestBackticksWithoutATarget.BackticksWithNoTargetTestCase was calling GetDummyTarget() when executing for x86_64. When performing session tearDown, it would get destroyed (and everything would be invalid (arch, etc). Then the test would run for i386. The dummy target wasn't being reinitialized and was invalid. lldb complained that 'current process state is unsuitable for expression parsing'. llvm-svn: 156994
-
Chad Rosier authored
llvm-svn: 156993
-
Dmitry Vyukov authored
tsan runtime shutdown is problematic for 2 reasons: 1. others crash during shutdown 2. we have to override user exit status (don't know it and can't return from atexit handler) llvm-svn: 156991
-
Dmitry Vyukov authored
http://codereview.appspot.com/6214052 llvm-svn: 156990
-
Tim Northover authored
Patch by Meador Inge. llvm-svn: 156989
-
Abramo Bagnara authored
llvm-svn: 156988
-
Benjamin Kramer authored
llvm-svn: 156987
-
Manuel Klimek authored
llvm-svn: 156986
-
Stepan Dyatkovskiy authored
SelectionDAGBuilder: CaseBlock, CaseRanges and CaseCmp changed representation of Low and High from signed to unsigned. Since unsigned ints usually simpler, faster and allows to reduce some extra signed bit checks needed before <,>,<=,>= comparisons. llvm-svn: 156985
-
Kostya Serebryany authored
llvm-svn: 156984
-
Kostya Serebryany authored
llvm-svn: 156983
-
Dmitry Vyukov authored
llvm-svn: 156982
-
Dmitry Vyukov authored
llvm-svn: 156981
-
Chris Lattner authored
for future expansion, no functionality change yet though. llvm-svn: 156979
-
Chris Lattner authored
are only rejected because they can't be encoded into a 32-bit unit, not because they contain an unencodable feature. llvm-svn: 156978
-
Chris Lattner authored
intrinsics that use passed-in arguments. llvm-svn: 156977
-
Chris Lattner authored
compatibility with LLVM 2.x bitcode files. llvm-svn: 156976
-
Francois Pichet authored
llvm-svn: 156975
-
Greg Clayton authored
Make sure to subtract one from the PC when doing the symbolication of stack frames when it isn't the zero'th frame. llvm-svn: 156974
-
Francois Pichet authored
llvm-svn: 156973
-
Jason Molenda authored
llvm-svn: 156971
-
Matt Beaumont-Gay authored
about argument type mismatch. This gives a nicer diagnostic in cases like printf(fmt, i); where previously the snippet just pointed at 'fmt' (with a note at the definition of fmt). It's a wash for cases like printf("%f", i); where previously we snippeted the offending portion of the format string, but didn't indicate which argument was at fault. llvm-svn: 156968
-
Argyrios Kyrtzidis authored
of the DeclStmt node, otherwise libclang will not work for anything inside that class. rdar://10837710 llvm-svn: 156966
-
Chad Rosier authored
used by the preprocessor. Apple's GCC also supported a -A option for linking. The ld man page has the following: -A basefile - Obsolete incremental load format. This option is obsolete. Nick Kledzik confirms this option is no longer needed/supported. rdar://11455614 llvm-svn: 156965
-
Richard Smith authored
Disambiguate past such a potential problem, and use the absence of 'typename' to break ties in favor of a parenthesized thingy being an initializer, if nothing else in the declaration disambiguates it as declaring a function. llvm-svn: 156963
-
Filipe Cabecinhas authored
Added a testcase. llvm-svn: 156961
-
Jakob Stoklund Olesen authored
TableGen already computes register units as the basic unit of interference. We can use that to compute the set of overlapping registers. This means that we can easily compute overlap sets for one register at a time. There is no benefit to computing all registers at once. llvm-svn: 156960
-
David Blaikie authored
llvm-svn: 156959
-
Akira Hatanaka authored
llc to recognize MIPS16 as a MIPS ASE extension. -mips16 will mean the mips16 ASE for mips32 by default. As part of fixing of adding this we discovered some small changes that need to be made to MipsInstrInfo::storeRegToStackSLot and MipsInstrInfo::loadRegFromStackSlot. We were using some "==" equality tests where in fact we should have been using Mips::<regclas>.hasSubClassEQ instead, per suggestion of Jakob Stoklund Olesen. Patch by Reed Kotler. llvm-svn: 156958
-
NAKAMURA Takumi authored
FIXME: JSON doesn't like path separator '\', on Win32 hosts. llvm-svn: 156957
-
rdar://problem/11439755Greg Clayton authored
Make sure we can fail to create a compile unit without asserting. We now emit a warning. llvm-svn: 156956
-
Eric Christopher authored
llvm-svn: 156955
-
Akira Hatanaka authored
Since r156650, clang has stopped emitting byval arguments for MIPS targets. llvm-svn: 156954
-
Eric Christopher authored
llvm-svn: 156953
-