Jakob Stoklund Olesen
a1dceb0e3c
Print registers by name instead of by number.
...
llvm-svn: 134013
2011-06-28 17:24:32 +00:00
John McCall
15547bbdd1
Be more thorough about mangling unresolved types.
...
llvm-svn: 134011
2011-06-28 16:49:23 +00:00
Andrew Trick
4426f5b388
cleanup: misleading comment.
...
llvm-svn: 134010
2011-06-28 16:45:04 +00:00
Douglas Gregor
29cdc6bec0
Dynamically allocate the StringMaps used in typo correction so that we
...
don't rely on the existence of a copy constructor.
llvm-svn: 134009
2011-06-28 16:44:39 +00:00
Andrew Trick
b46fdac460
cmake: Our MSVC build does not support config-time build mode.
...
llvm-svn: 134008
2011-06-28 16:32:01 +00:00
Douglas Gregor
c2fa169d6c
Add support for C++ namespace-aware typo correction, e.g., correcting
...
vector<int>
to
std::vector<int>
Patch by Kaelyn Uhrain, with minor tweaks + PCH support from me. Fixes
PR5776/<rdar://problem/8652971>.
Thanks Kaelyn!
llvm-svn: 134007
2011-06-28 16:20:02 +00:00
Douglas Gregor
d79f9666c8
Fix test case; we may end up linking against the libprofile_rt dylib.
...
llvm-svn: 134006
2011-06-28 15:40:31 +00:00
Roman Divacky
4394e68c24
Implement ISD::VAARG lowering on PPC32.
...
llvm-svn: 134005
2011-06-28 15:30:42 +00:00
Jay Foad
2a31eb49c7
PR10210: New method ConstantArray::getAsCString(). Use it in LTO to
...
avoid getting embedded trailing null bytes in std::strings.
llvm-svn: 133999
2011-06-28 08:24:19 +00:00
Andrew Trick
9083ef1918
FileCheckify and prepare for -disable-iv-rewrite.
...
llvm-svn: 133998
2011-06-28 06:34:10 +00:00
Jakob Stoklund Olesen
74dd400410
FileCheckize a couple of tests.
...
Also and add a test for popping dead return values and avoid testing the
spill precision.
llvm-svn: 133997
2011-06-28 06:25:03 +00:00
Andrew Trick
526605d06f
Cleanup. Fix a stupid variable name.
...
llvm-svn: 133996
2011-06-28 05:44:06 +00:00
Andrew Trick
154d78a661
Cleanup. Fix a stupid variable name.
...
llvm-svn: 133995
2011-06-28 05:41:52 +00:00
Jordy Rose
7770a8c6c5
[analyzer] strnlen isn't a builtin, don't test for it
...
llvm-svn: 133994
2011-06-28 05:34:40 +00:00
Chris Lattner
ac57f21cd1
Fix PR9279 - Macro expansion stack trace seriously broken with function-style macros, by not recursively printing notes for other 'instantiated from' notes.
...
This is a one line fix here:
+ // Don't print recursive instantiation notes from an instantiation note.
+ Loc = SM.getSpellingLoc(Loc);
While here, fix the testcase to be more precise (it got filecheck'ized
brutally), and fix EmitCaretDiagnostic to be private and to not pass down
the unused 'Level' argument.
llvm-svn: 133993
2011-06-28 05:11:33 +00:00
Andrew Trick
411daa5e81
SCEVExpander: give new insts a name that identifies the reponsible pass.
...
llvm-svn: 133992
2011-06-28 05:07:32 +00:00
Andrew Trick
60ab3efb3e
whitespace
...
llvm-svn: 133991
2011-06-28 05:04:16 +00:00
Nick Lewycky
fa44dc6509
Fix typo in comment.
...
llvm-svn: 133990
2011-06-28 03:57:31 +00:00
Rafael Espindola
09932bd5b6
Fix cmake build.
...
llvm-svn: 133989
2011-06-28 03:17:03 +00:00
Andrew Trick
56b315a9cf
indvars --disable-iv-rewrite: sever ties with IVUsers.
...
llvm-svn: 133988
2011-06-28 03:01:46 +00:00
Argyrios Kyrtzidis
3ff13579f9
Introduce Declarator::CXXNewContext and remove 'AutoAllowedInTypeName' parameter
...
from Sema::GetTypeForDeclarator. No functionality change.
llvm-svn: 133987
2011-06-28 03:01:23 +00:00
Argyrios Kyrtzidis
7baa0af39b
Centralize all checks for a C++ tag definition inside a typename in
...
Sema::GetTypeForDeclarator and remove its 'OwnedDecl' out parameter.
No functionality change.
llvm-svn: 133986
2011-06-28 03:01:18 +00:00
Argyrios Kyrtzidis
ef7022f259
Centralize the check for a tag definition in a Declarator::PrototypeContext inside GetTypeForDeclarator.
...
No functionality change.
llvm-svn: 133985
2011-06-28 03:01:15 +00:00
Argyrios Kyrtzidis
8ea7e5838b
Remove the call to GetTypeForDeclarator in Sema::ActOnCXXConditionDeclaration.
...
No functionality change.
llvm-svn: 133984
2011-06-28 03:01:12 +00:00
Argyrios Kyrtzidis
31daf43c2b
Cut down a few of the excess errors in the test.
...
llvm-svn: 133983
2011-06-28 03:01:09 +00:00
Andrew Trick
8a3c39c737
indvars --disable-iv-rewrite: Defer evaluating s/zext until SCEV
...
evaluates all other IV exprs.
llvm-svn: 133982
2011-06-28 02:49:20 +00:00
Chandler Carruth
137c7ead2e
Fix CMake build by removing this now dead file.
...
llvm-svn: 133981
2011-06-28 02:03:12 +00:00
Chandler Carruth
e2a1b16963
FileCheck-ize a test that had the strangest TCL quote I've seen yet: an
...
opening single quote with no closing single quote, and with {} quotes
"inside" of it. This broke some of our tools that scrape test cases.
Also, while here, make the test actually assert what the comment says it
asserts. This was essentially authored by Nick Lewycky, and merely typed
in by myself. Let me know if this is still missing the mark, but the
previous test only succeeded due to the improper quoting preventing
*anything* from matching the grep -- it had a '4(%...)' sequence in the
output!
llvm-svn: 133980
2011-06-28 02:03:10 +00:00
Evan Cheng
45a6f21a77
Alternative name enum should go into the enum portion.
...
llvm-svn: 133979
2011-06-28 01:36:01 +00:00
Jakob Stoklund Olesen
040d659206
Fix a bad iterator dereference that Evan uncovered.
...
llvm-svn: 133978
2011-06-28 01:18:58 +00:00
Jim Grosbach
16896325a6
ARM Thumb2 asm syntax optional destination operand for binary operators.
...
When the destination operand is the same as the first source register
operand for arithmetic instructions, the destination operand may be omitted.
For example, the following two instructions are equivalent:
and r1, #ff
and r1, r1, #ff
rdar://9672867
llvm-svn: 133973
2011-06-28 00:19:13 +00:00
Johnny Chen
24c5296957
Add fuzz calls for SBInputReader.
...
llvm-svn: 133972
2011-06-28 00:12:06 +00:00
Eli Friedman
03aff72eff
Revert unintentional commit.
...
llvm-svn: 133971
2011-06-28 00:03:31 +00:00
Fariborz Jahanian
c297cd8836
Provide fix-it for '.' <-> '->' for Objective-C ivar/property access.
...
// rdar://7811841
llvm-svn: 133970
2011-06-28 00:00:52 +00:00
John McCall
63f844494d
ARC writeback isn't supposed to apply to local indirect pointers,
...
only to pointers to locals. But it should work inside blocks, too.
llvm-svn: 133969
2011-06-27 23:59:58 +00:00
Eli Friedman
5f3ab2248c
Merge some calls to FoldingSetNodeID::AddInteger; assuming my measurements aren't completely off, roughly a 1% speedup on SingleSource/UnitTests/ObjC/trivial-interface.m .
...
llvm-svn: 133968
2011-06-27 23:58:21 +00:00
Evan Cheng
21afabe73d
Remove RegClass2VRegMap from MachineRegisterInfo.
...
llvm-svn: 133967
2011-06-27 23:54:40 +00:00
Jim Grosbach
a6f7a1efcc
ARM Assembly support for Thumb mov-immediate.
...
Correctly parse the forms of the Thumb mov-immediate instruction:
1. 8-bit immediate 0-255.
2. 12-bit shifted-immediate.
The 16-bit immediate "movw" form is also legal with just a "mov" mnemonic,
but is not yet supported. More parser logic necessary there due to fixups.
llvm-svn: 133966
2011-06-27 23:54:06 +00:00
Johnny Chen
40e978f7b3
Add fuzz calls for SBFrame and SBFunction.
...
llvm-svn: 133965
2011-06-27 23:53:55 +00:00
Evan Cheng
105974d497
Remove RCBarriers from TargetInstrDesc.
...
llvm-svn: 133964
2011-06-27 23:47:21 +00:00
Evan Cheng
b7d00313dc
Remove the experimental (and unused) pre-ra splitting pass. Greedy regalloc can split live ranges.
...
llvm-svn: 133962
2011-06-27 23:40:45 +00:00
Andrew Trick
163b4a70fb
indvars -disable-iv-rewrite: run RLEV after SimplifyIVUsers for
...
a bit more control over the order SCEVs are evaluated.
llvm-svn: 133959
2011-06-27 23:17:44 +00:00
John McCall
b8c604abfd
Don't factor in visibility for templates and template arguments
...
for explicit specializations with their own explicit visibility.
llvm-svn: 133958
2011-06-27 23:06:04 +00:00
John McCall
e25bf38d94
Merge this test into another.
...
llvm-svn: 133957
2011-06-27 22:57:05 +00:00
Johnny Chen
d982f039a1
Add fuzz calls for SBFileSpec.
...
llvm-svn: 133956
2011-06-27 22:55:51 +00:00
Chad Rosier
e967eefa00
Revert r133516 "Remove some unnecessary uses of c_str()."
...
This was causing compile-time failures for some of the Objc and Obj-C++
benchmarks. The specific errors were of the form: "ld: duplicate symbol …"
rdar://9660124
llvm-svn: 133955
2011-06-27 22:54:29 +00:00
Johnny Chen
71eabde2f8
Add fuzz calls for SBEvent.
...
llvm-svn: 133954
2011-06-27 22:38:57 +00:00
Devang Patel
4dc034df1d
During bottom up fast-isel, instructions emitted to materalize registers are at top of basic block and do not have debug location. This may misguide debugger while entering the basic block and sometimes debugger provides semi useful view of current location to developer by picking up previous known location as current location. Assign a sensible location to the first instruction in a basic block, if it does not have one location derived from source file, so that debugger can provide meaningful user experience to developers in edge cases.
...
llvm-svn: 133953
2011-06-27 22:32:04 +00:00
Eric Christopher
70cc6b8a85
Fix this test to actually check something and be able to be compiled.
...
llvm-svn: 133952
2011-06-27 22:30:14 +00:00
Johnny Chen
098863c45c
Move to plevel dirs stop-hook, target, process_launch, and signal to reside under functionalities.
...
Rename target dir to target_command.
llvm-svn: 133951
2011-06-27 22:10:42 +00:00