- Jan 14, 2013
-
-
Dmitri Gribenko authored
llvm-svn: 172474
-
Quentin Colombet authored
Complete the existing support of ARM v6m, v7m, and v7em, i.e., respectively cortex-m0, cortex-m3, and cortex-m4 on the backend side. Adds new subtype values for the MachO format and use them when the related triple are set. llvm-svn: 172472
-
David Greene authored
Fix a casting-away-const compiler warning. llvm-svn: 172471
-
David Greene authored
Do proper casting to eliminate a const-away-cast compiler warning. llvm-svn: 172470
-
David Greene authored
Properly cast some more code that triggered cast-away-const errors. llvm-svn: 172469
-
David Greene authored
Properly cast code to eliminate cast-away-const errors. llvm-svn: 172468
-
David Greene authored
Add a const version of getFpValPtr to avoid a cast-away-const warning. llvm-svn: 172467
-
David Greene authored
Fix another cast-away-const cast. llvm-svn: 172466
-
David Greene authored
Stop a gcc warning about casting away const. llvm-svn: 172465
-
David Greene authored
Use const_cast<> to avoid cast-away-const errors. llvm-svn: 172464
-
Andrew Trick authored
Note that this bug is only exposed because LTO fails to use TTI. Fixes self-LTO of clang. rdar://13007381. llvm-svn: 172462
-
Nick Lewycky authored
llvm-svn: 172460
-
Argyrios Kyrtzidis authored
initial size and an allocator. llvm-svn: 172455
-
Joe Groff authored
llvm-svn: 172454
-
Joe Groff authored
Use the existing move implementation of the internal DenseMap::InsertIntoBucket method to provide a user-facing move insert method. llvm-svn: 172453
-
Michael Gottesman authored
llvm-svn: 172452
-
Eli Bendersky authored
Now that it behaves itself in terms of streamer independence (r172450), this method can be moved to MCAsmParser to be available to all extensions, overriding, etc. -- -This line, and those below, will be ignored-- M lib/MC/MCParser/AsmParser.cpp M include/llvm/MC/MCParser/MCAsmParser.h llvm-svn: 172451
-
Eli Bendersky authored
The aim of this patch is to fix the following piece of code in the platform-independent AsmParser: void AsmParser::CheckForValidSection() { if (!ParsingInlineAsm && !getStreamer().getCurrentSection()) { TokError("expected section directive before assembly directive"); Out.SwitchSection(Ctx.getMachOSection( "__TEXT", "__text", MCSectionMachO::S_ATTR_PURE_INSTRUCTIONS, 0, SectionKind::getText())); } } This was added for the "-n" option of llvm-mc. The proposed fix adds another virtual method to MCStreamer, called InitToTextSection. Conceptually, it's similar to the existing InitSections which initializes all common sections and switches to text. The new method is implemented by each platform streamer in a way that it sees fit. So AsmParser can now do this: void AsmParser::CheckForValidSection() { if (!ParsingInlineAsm && !getStreamer().getCurrentSection()) { TokError("expected section directive before assembly directive"); Out.InitToTextSection(); } } Which is much more reasonable. llvm-svn: 172450
-
Eli Bendersky authored
Since it's used by extensions. One further step to fully decoupling GenericAsmParser from an intimate knowledge of the internals of AsmParser, pointing it to the MCASmParser interface instead (like all other parser extensions do). Since this change moves the MacroArgument type to the interface header, it's renamed to be a bit more descriptive in a general context. llvm-svn: 172449
-
Eli Bendersky authored
The methods are also exposed via the MCAsmParser interface, which allows more than one client to control them. Previously, GenericAsmParser was playing with a member var in AsmParser directly (by virtue of being its friend). llvm-svn: 172440
-
Timur Iskhodzhanov authored
llvm-svn: 172411
-
Craig Topper authored
llvm-svn: 172379
-
Craig Topper authored
Create a single multiclass for SSE and AVX version of MOVL/MOVH. Prevents needing to specify everything twice. No functional change intended llvm-svn: 172378
-
Michael Gottesman authored
llvm-svn: 172374
-
Michael Gottesman authored
Updated the documentation in ObjCARC.cpp to fit the style guide better (i.e. use doxygen). Still some work to do though. llvm-svn: 172371
-
- Jan 13, 2013
-
-
Michael Gottesman authored
llvm-svn: 172369
-
Michael Gottesman authored
Fixed an infinite loop in the block escape in analysis in ObjCARC caused by 2x blocks each assigned a value via a phi-node causing each to depend on the other. A test case is provided as well. llvm-svn: 172368
-
Nick Lewycky authored
llvm-svn: 172364
-
Nuno Lopes authored
cache result of Size/OffsetVisitor to speedup analysis of PHI nodes llvm-svn: 172363
-
Dmitri Gribenko authored
llvm-svn: 172360
-
Dmitri Gribenko authored
llvm-svn: 172359
-
Dmitri Gribenko authored
llvm-svn: 172358
-
Dmitri Gribenko authored
llvm-svn: 172356
-
Benjamin Kramer authored
Those can occur when something between the sextload and the store is on the same chain and blocks isel. Fixes PR14887. llvm-svn: 172353
-
Nadav Rotem authored
llvm-svn: 172348
-
Michael Gottesman authored
llvm-svn: 172347
-
Michael Gottesman authored
llvm-svn: 172346
-
Chandler Carruth authored
case, but looking at the diff this was an obviously unintended change. Thanks for the careful review Bill! =] llvm-svn: 172336
-
- Jan 12, 2013
-
-
Tim Northover authored
llvm-svn: 172325
-
Benjamin Kramer authored
Shifting right two times will only yield zero. Should fix SingleSource/UnitTests/SignlessTypes/factor. llvm-svn: 172322
-