- Dec 15, 2011
-
-
Owen Anderson authored
Enable synthesis of FLOG2 and FEXP2 SelectionDAG nodes from libm calls. These are already marked as illegal by default. llvm-svn: 146623
-
Douglas Gregor authored
expression with an unknown result type, assume that the result type is 'id'. Fixes <rdar://problem/10400663>. llvm-svn: 146622
-
Eli Friedman authored
Make loop preheader insertion in LoopSimplify handle the case where the loop header is a landing pad correctly (by splitting the landingpad out of the loop header). Make some adjustments to the rest of LoopSimplify to make it clear that the rest of LoopSimplify isn't making bad assumptions about the presence of landing pads. PR11575. llvm-svn: 146621
-
Richard Trieu authored
diagnostic message are compared. If either is a substring of the other, then no error is given. This gives rise to an unexpected case: // expect-error{{candidate function has different number of parameters}} will match the following error messages from Clang: candidate function has different number of parameters (expected 1 but has 2) candidate function has different number of parameters It will also match these other error messages: candidate function function has different number of parameters number of parameters This patch will change so that the verification string must be a substring of the diagnostic message before accepting. Also, all the failing tests from this change have been corrected. Some stats from this cleanup: 87 - removed extra spaces around verification strings 70 - wording updates to diagnostics 40 - extra leading or trailing characters (typos, unmatched parens or quotes) 35 - diagnostic level was included (error:, warning:, or note:) 18 - flag name put in the warning (-Wprotocol) llvm-svn: 146619
-
Douglas Gregor authored
to declaresSameEntity(), as a baby step toward tracking forward declarations of Objective-C classes precisely. Part of <rdar://problem/10583531>. llvm-svn: 146618
-
Bill Wendling authored
Re-re-enable compact unwind after fixing a failure in SingleSource/Benchmarks/Shootout-C++/except.cpp and friends. It was encoding the stored registers in the wrong order. llvm-svn: 146617
-
Argyrios Kyrtzidis authored
so that we can access the attributes of an entity for a reference. llvm-svn: 146616
-
Argyrios Kyrtzidis authored
in a superclass and the protocols in a protocol list. llvm-svn: 146615
-
Kevin Enderby authored
buffer copy. Suggestion by Chris Lattner! llvm-svn: 146614
-
Douglas Gregor authored
Replace Decl::isSameEntityAs with a free function declaresSameEntity, which can cope with NULL pointer values llvm-svn: 146613
-
Bill Wendling authored
the compact unwind claiming that one register was saved before another, which isn't all that great in general. Process them in the natural order. Reverse the list only when necessary for the algorithm. llvm-svn: 146612
-
Sean Callanan authored
clients to disassemble a series of raw bytes as demonstrated by a new testcase. In the future, this API will also allow clients to provide a callback that adds comments for addresses in the disassembly. I also modified the SWIG harness to ensure that Python ByteArrays work as well as strings as sources of raw data. llvm-svn: 146611
-
Dan Gohman authored
into Analysis as a standalone function, since there's no need for it to be in VMCore. Also, update it to use isKnownNonZero and other goodies available in Analysis, making it more precise, enabling more aggressive optimization. llvm-svn: 146610
-
Jakob Stoklund Olesen authored
An aligned constant pool entry may require extra alignment padding where the new water is created. Take that into account when computing offset. Also consider the alignment of other constant pool entries when splitting a basic block. Alignment padding may make it necessary to move the split point higher. llvm-svn: 146609
-
Jim Grosbach authored
llvm-svn: 146608
-
Richard Smith authored
llvm-svn: 146607
-
Johnny Chen authored
Add more robustness - use PyString_CheckExact(pvalue) to check whether pvalue is a Python string before calling PyString_AsString(pvalue). Similar to http://llvm.org/viewvc/llvm-project?rev=146584&view=rev. llvm-svn: 146606
-
Jim Grosbach authored
llvm-svn: 146605
-
Devang Patel authored
On ARM, peephole optimization for ABS creates a trivial cfg triangle which tempts machine sink to sink instructions in code which is really straight line code. Sometimes this sinking may alter register allocator input such that use and def of a reg is divided by a branch in between, which may result in extra spills. Now mahine sink avoids sinking if final sink destination is post dominator. Radar 10266272. llvm-svn: 146604
-
- Dec 14, 2011
-
-
Evan Cheng authored
llvm-svn: 146603
-
Bill Wendling authored
with the correct iterator. <rdar://problem/10530851> llvm-svn: 146600
-
Kevin Enderby authored
getStreamer().EmitBytes. Suggestion by Benjamin Kramer! llvm-svn: 146599
-
Andrew Trick authored
llvm-svn: 146597
-
Richard Smith authored
freebsd bots happy. In the longer term, we should have a mechanism for moving constexpr recursion off the call stack, to support the default limit of 512 suggested by the standard. llvm-svn: 146596
-
Rafael Espindola authored
llvm-svn: 146595
-
Jim Grosbach authored
Add tests for w/ writeback instruction parsing and encoding. llvm-svn: 146594
-
Kevin Enderby authored
it to the streamer. rdar://10383898 llvm-svn: 146592
-
Douglas Gregor authored
their canonical Decl nodes. Not used yet, but it will be. llvm-svn: 146591
-
Jim Grosbach authored
llvm-svn: 146590
-
Evan Cheng authored
llvm-svn: 146589
-
Jim Grosbach authored
In addition to improving the representation, this adds support for assembly parsing of these instructions. llvm-svn: 146588
-
Douglas Gregor authored
going to be a pointer-to-member constant. Fixes <rdar://problem/10544564>. llvm-svn: 146587
-
Rafael Espindola authored
matches gcc's behavior. Fixes PR8186. llvm-svn: 146586
-
Jim Grosbach authored
llvm-svn: 146585
-
Johnny Chen authored
LLDBSwigPythonCallCommand crashes when a command script returns an object Add more robustness to LLDBSwigPythonCallCommand. It should check whether the returned Python object is a string, and only assign it as the error msg when the check holds. Also add a regression test. llvm-svn: 146584
-
Evan Cheng authored
r0 = mov #0 r0 = moveq #1 Then the second instruction has an implicit data dependency on the first instruction. Sadly I have yet to come up with a small test case that demonstrate the post-ra scheduler taking advantage of this. llvm-svn: 146583
-
Anna Zaks authored
I need to keep the test itself in the repository since it's the only way I can currently reproduce the issue. llvm-svn: 146582
-
DeLesley Hutchins authored
llvm-svn: 146580
-
Jim Grosbach authored
Work in progress. Parsing for non-writeback, single spaced register lists works now. The rest have the representations better factored, but still need more to be able to parse properly. llvm-svn: 146579
-
Stepan Dyatkovskiy authored
llvm-svn: 146578
-