- Sep 22, 2010
-
-
Chris Lattner authored
by having X86DAGToDAGISel::SelectAddr get passed in the parent node of the operand match (the load/store/atomic op) and having it get the address space from that, instead of having special FS/GS addr mode operations that require duplicating the entire instruction set to support. This makes FS and GS relative accesses *far* more predictable and work much better. It also simplifies the X86 backend a bit, more to come. There is still a pending issue with nodes like ISD::PREFETCH and X86ISD::FLD, which really should be MemSDNode's but aren't. llvm-svn: 114491
-
John Thompson authored
llvm-svn: 114490
-
Chris Lattner authored
that complex patterns are matched after the entire pattern has a structural match, therefore the NodeStack isn't in a useful state when the actual call to the matcher happens. llvm-svn: 114489
-
- Sep 21, 2010
-
-
Bob Wilson authored
load when the type of the load is not legal, even if truncates are not free. The load is going to be legalized to an extending load anyway. llvm-svn: 114488
-
Bob Wilson authored
llvm-svn: 114487
-
Howard Hinnant authored
llvm-svn: 114486
-
Greg Clayton authored
Fixed an issue with the clang type creation code for C++ classes where we wouldn't set a CXXRecordDecl to be NOT empty if we had base classes that were not empty or had virtual functions. llvm-svn: 114484
-
Dan Gohman authored
llvm-svn: 114483
-
Devang Patel authored
llvm-svn: 114481
-
Johnny Chen authored
of 'breakpoint command add/list/remove' commands to set breakpoint callbacks, list them, and then remove one. Modified the lldbtest.TestBase.expect() method to add two additional keyword arguments: o matching (default to True), which, if set to False, reverses the semantics of 'expect' to 'expect not' o patterns (default to None), which specifies a list of regexp patterns to match against the output from running the command TestBreakpointCommand.py uses the matching=False and the patterns=[...] expect() API. llvm-svn: 114480
-
Devang Patel authored
If only user of a vreg is an copy instruction to export copy of vreg out of current basic block then insert DBG_VALUE so that debug value of the variable is also transfered to new vreg. Testcase is in r114476. This fixes radar 8412415. llvm-svn: 114478
-
Ted Kremenek authored
Correctly register the class extension as the lexical DeclContext for ObjC methods declared with @property in class extensions. This matches the behavior for setters. Also pass the class extension to ProcessPropertyDecl as the lexical DeclContext, even when not redeclaring the @property. This fixes the remaining issues in <rdar://problem/7410145>. llvm-svn: 114477
-
Devang Patel authored
llvm-svn: 114476
-
Devang Patel authored
llvm-svn: 114475
-
Chris Lattner authored
llvm-svn: 114474
-
Owen Anderson authored
the predicate to discover the number of sign bits. Enhance X86's target lowering to provide a useful response to this query. llvm-svn: 114473
-
Chris Lattner authored
matched, allow ComplexPatterns to opt into getting the parent node of the operand being matched. llvm-svn: 114472
-
Chris Lattner authored
passed the root of the match, even though only a few patterns actually needed this (one in X86, several in ARM [which should be refactored anyway], and some in CellSPU that I don't feel like detangling). Instead of requiring all ComplexPatterns to take the dead root, have targets opt into getting the root by putting SDNPWantRoot on the ComplexPattern. llvm-svn: 114471
-
Howard Hinnant authored
llvm-svn: 114470
-
Jakob Stoklund Olesen authored
llvm-svn: 114469
-
Chris Lattner authored
llvm-svn: 114468
-
Caroline Tice authored
Add a warning if no command was attached to the breakpoint. Update the help slightly. llvm-svn: 114467
-
Johnny Chen authored
@expectedFailure as of r114384. llvm-svn: 114466
-
Howard Hinnant authored
llvm-svn: 114465
-
Chris Lattner authored
I think I've audited all uses, so it should be dependable for address spaces, and the pointer+offset info should also be accurate when there. llvm-svn: 114464
-
Chris Lattner authored
llvm-svn: 114463
-
Chris Lattner authored
llvm-svn: 114461
-
Owen Anderson authored
(sbbl x, x) sets the registers to 0 or ~0. Combined with two's complement arithmetic, we can fold the intermediate AND and the ADD into a single SUB. This fixes <rdar://problem/8449754>. llvm-svn: 114460
-
Jakob Stoklund Olesen authored
llvm-svn: 114459
-
Fariborz Jahanian authored
with missing LHS. radar 8453812. Executable test is checked into llvm test suite. llvm-svn: 114457
-
Ted Kremenek authored
For ObjCPropertyDecls in class extensions, use the class extension as the lexical DeclContext for newly created ObjCMethodDecls. Further, use the location of the new property declaration as the location of new ObjCMethodDecls (if they didn't previously exist). This fixes more of the issues reported in <rdar://problem/7410145>. llvm-svn: 114456
-
Jakob Stoklund Olesen authored
llvm-svn: 114455
-
Bob Wilson authored
and store intrinsics are represented with MemIntrinsicSDNodes. llvm-svn: 114454
-
Chris Lattner authored
llvm-svn: 114453
-
Chris Lattner authored
MachinePointerInfo around more. llvm-svn: 114452
-
Howard Hinnant authored
llvm-svn: 114451
-
Chris Lattner authored
llvm-svn: 114450
-
Chris Lattner authored
with an indexed load/store that has an offset in the index. llvm-svn: 114449
-
Jakob Stoklund Olesen authored
instead of calling lower_bound or upper_bound directly. This cleans up the search logic a bit because {lower,upper}_bound compare LR->start by default, and it is usually simpler to search LR->end. Funnelling all searches through one function also makes it possible to replace the search algorithm with something faster than binary search. llvm-svn: 114448
-
Jakob Stoklund Olesen authored
llvm-svn: 114447
-