- Aug 31, 2010
-
-
Duncan Sands authored
any more. I plan to reimplement alloca promotion using SSAUpdater later. It looks like Bill's URoR logic really always needs domtree, so the pass now always asks for domtree info. llvm-svn: 112597
-
Nick Lewycky authored
two are weak, we make them thunks to a new strong function) so don't iterate through the function list as we're modifying it. Also add back the outermost loop which got removed during the cleanups. llvm-svn: 112595
-
Owen Anderson authored
Don't perform an extra traversal of the function just to do cleanup. We can safely simplify instructions after each block has been processed without worrying about iterator invalidation. llvm-svn: 112594
-
Bill Wendling authored
- Convert {0,1} and friends into 0b01, which is identical and more consistent. llvm-svn: 112593
-
Owen Anderson authored
llvm-svn: 112592
-
Owen Anderson authored
llvm-svn: 112591
-
Owen Anderson authored
llvm-svn: 112590
-
Owen Anderson authored
More Chris-inspired JumpThreading fixes: use ConstantExpr to correctly constant-fold undef, and be more careful with its return value. This actually exposed an infinite recursion bug in ComputeValueKnownInPredecessors which theoretically already existed (in JumpThreading's handling of and/or of i1's), but never manifested before. This patch adds a tracking set to prevent this case. llvm-svn: 112589
-
John McCall authored
under the ARM ABI. llvm-svn: 112588
-
Michael J. Spencer authored
llvm-svn: 112587
-
Michael J. Spencer authored
getMagicNumber was treating the _binary_ data it read in as a null terminated string. This resulted in the std::string calculating the length, and causing an assert in other code that assumed that the length it passed was the same as the length of the string it would get back. llvm-svn: 112586
-
Michael J. Spencer authored
llvm-svn: 112585
-
Devang Patel authored
llvm-svn: 112584
-
Devang Patel authored
llvm-svn: 112583
-
Nick Lewycky authored
where we hash, compare and fold, instead of one iteration where we build up the hash buckets and a second one to fold. llvm-svn: 112582
-
Chandler Carruth authored
terrible, FIXME left to do a proper job of diagnosing this. llvm-svn: 112581
-
Douglas Gregor authored
llvm-svn: 112580
-
Douglas Gregor authored
declaration send or a variadic function call, collapse the ", ..." into the parameter before it, so that we don't get a second placeholder. llvm-svn: 112579
-
Douglas Gregor authored
Teach the CFGBuilder not do die on CXXBindTemporaryExpr, CXXOperatorCallExpr. Fixes a Boost.Graph crasher. llvm-svn: 112578
-
Sebastian Redl authored
llvm-svn: 112577
-
Owen Anderson authored
Remove r111665, which implemented store-narrowing in InstCombine. Chris discovered a miscompilation in it, and it's not easily fixable at the optimizer level. I'll investigate reimplementing it in DAGCombine. llvm-svn: 112575
-
Bruno Cardoso Lopes authored
llvm-svn: 112571
-
Bruno Cardoso Lopes authored
Use X86ISD::MOVSS and MOVSD to represent the movl mask pattern, also fix the handling of those nodes when seeking for scalars inside vector shuffles llvm-svn: 112570
-
Ted Kremenek authored
llvm-svn: 112569
-
Eric Christopher authored
llvm-svn: 112568
-
Jakob Stoklund Olesen authored
Eventually, we want to disable physreg coalescing completely, and let the register allocator do its job using hints. This option makes it possible to measure the impact of disabling physreg coalescing. llvm-svn: 112567
-
Sebastian Redl authored
llvm-svn: 112566
-
Sebastian Redl authored
Add a forgotten place where the enclosing namespace set matters, plus a big testcase for inline namespace fun. llvm-svn: 112565
-
Sebastian Redl authored
llvm-svn: 112564
-
Sebastian Redl authored
Rename DeclContext::getLookupContext to getRedeclContext and change its semantics slightly. No functionality change in the absence of inline namespaces. Also, change a few places where inline namespaces actually make a difference to be prepared for them. llvm-svn: 112563
-
Sebastian Redl authored
Decl::getEnclosingNamespaceContext has no reason to explicitly skip transparent contexts, and would be wrong to do so with inline namespaces. llvm-svn: 112562
-
Douglas Gregor authored
instantiating the parameters. In a perfect world, this wouldn't matter, and compilers are free to instantiate in any order they want. However, every other compiler seems to instantiate the return type first, and some code (in this case, Boost.Polygon) depends on this and SFINAE to avoid instantiating something that shouldn't be instantiated. We could fight this battle, and insist that Clang is allowed to do what it does, but it's not beneficial: it's more predictable to instantiate this way, in source order. When we implement late-specified return types, we'll need to instantiate the return type last when it was late-specified, hence the FIXME. We now compile Boost.Polygon properly. llvm-svn: 112561
-
Owen Anderson authored
llvm-svn: 112560
-
Eric Christopher authored
things we can't handle. llvm-svn: 112559
-
Jim Ingham authored
llvm-svn: 112558
-
Dan Gohman authored
with the descriptions of Mod and Ref. llvm-svn: 112557
-
Johnny Chen authored
process being debugged in the TestBase.tearDown() instead of letting it continue and finish. llvm-svn: 112556
-
Anton Korobeynikov authored
llvm-svn: 112555
-
Owen Anderson authored
llvm-svn: 112554
-
Owen Anderson authored
llvm-svn: 112553
-