- Mar 27, 2015
-
-
Viktor Kutuzov authored
Differential Revision: http://reviews.llvm.org/D8544 llvm-svn: 233378
-
Benjamin Kramer authored
A parameter pack after a default argument is now valid. PR23029. llvm-svn: 233377
-
Benjamin Kramer authored
This is ill-formed (and cannot be used anyways). PR23028. llvm-svn: 233376
-
Yaron Keren authored
llvm-svn: 233375
-
Denis Protivensky authored
llvm-svn: 233374
-
Dmitry Vyukov authored
If user does malloc(1<<30), the write to meta shadow can cause excessive memory consumption. llvm-svn: 233373
-
Denis Protivensky authored
llvm-svn: 233372
-
Benjamin Kramer authored
The last user of this code vanished with r223368, but this function still was around being executed on every process start, allocating some memory and then never being used again. No functional change. Also avoids occasional complaints about the benign leak in this function, like PR23037. llvm-svn: 233371
-
James Molloy authored
This re-adds float2int to the tree, after fixing PR23038. It turns out the argument to APSInt() is true-if-unsigned, rather than true-if-signed :(. Added testcase and explanatory comment. llvm-svn: 233370
-
Tamas Berghammer authored
llvm-svn: 233369
-
Eric Fiselier authored
llvm-svn: 233368
-
Eric Fiselier authored
llvm-svn: 233367
-
Andrew Trick authored
"Fix the MachineScheduler's logic for updating ready times for in-order. Now the scheduler updates a node's ready time as soon as it is scheduled, before releasing dependent nodes." This fix was only made in one variant of the ScheduleDAGMI driver. Francois de Ferriere reported the issue in the other bit of code where it was also needed. I never got around to coming up with a test case, but it's an obvious fix that shouldn't be delayed any longer. I'll try to refactor this code a little better. I did verify performance on a wide variety of targets and saw no negative impact with this fix. llvm-svn: 233366
-
Sanjoy Das authored
llvm-svn: 233365
-
Eric Fiselier authored
llvm-svn: 233364
-
Sanjoy Das authored
llvm-svn: 233363
-
Philip Reames authored
The assertion here was more expensive then it needed to be. We're only inserting allocas in the entry block, so we only need to consider ones in the entry block. llvm-svn: 233362
-
Philip Reames authored
llvm-svn: 233361
-
Eric Fiselier authored
llvm-svn: 233360
-
Philip Reames authored
Minor naming, one potentially unsafe cast llvm-svn: 233359
-
Philip Reames authored
All the removed assertions are either implied locally by the assert at the top of the function or properties of the verifier. llvm-svn: 233358
-
Philip Reames authored
This was discussed a while back and I left it optional for migration. Since it's been far more than the 'week or two' that was discussed, time to actually make this manditory. llvm-svn: 233357
-
Philip Reames authored
This patch adds support for explicitly provided spill slots in the GC arguments of a gc.statepoint. This is somewhat analogous to gcroot, but leverages the STATEPOINT MI node and StackMap infrastructure. The motivation for this is: 1) The stack spilling code for gc.statepoints hasn't advanced as fast as I'd like. One major option is to give up on doing spilling in the backend and do it at the IR level instead. We'd give up the ability to have gc values in registers, but that's a minor cost in practice. We are not neccessarily moving in that direction, but having the ability to prototype such a thing cheaply is interesting. 2) I want to port the gcroot lowering to use the statepoint infastructure. Given the metadata printers for gcroot expect a fixed set of stack roots, it's easiest to just reuse the explicit stack slots and pass them directly to the underlying statepoint. I'm holding off on the documentation for the new feature until I'm reasonable sure this is going to stick around. llvm-svn: 233356
-
Andrew Trick authored
This test returns nonnative integer types which aren't supported on all targets. The real issue with the SelectionDAG scheduler is with x86 EFLAGS. llvm-svn: 233355
-
David Majnemer authored
We don't have any logic to emit those tables yet, so the SDAG lowering of this intrinsic is just a stub. We can see the intrinsic in the prepared IR, though. llvm-svn: 233354
-
Andrew Trick authored
llvm-svn: 233353
-
Karthik Bhat authored
This patch exposes LoopVectorizer's isInductionVariable function as common a functionality. http://reviews.llvm.org/D8608 llvm-svn: 233352
-
Andrew Trick authored
It can happen (by line CurSU->isPending = true; // This SU is not in AvailableQueue right now.) that a SUnit is mark as available but is not in the AvailableQueue. For SUnit being selected for scheduling both conditions must be met. This patch mainly defensively protects from invalid removing a node from a queue. Sometimes nodes are marked isAvailable but are not in the queue because they have been defered due to some hazard. Patch by Pawel Bylica! llvm-svn: 233351
-
Nick Lewycky authored
llvm-svn: 233350
-
Duncan P. N. Exon Smith authored
Fix testcases whose variables are invalid. I'm working on a patch that adds `Verifier` checks for `MDLocalVariable` (and `MDGlobalVariable`), and these failed because: - `scope:` fields need to point at `MDLocalScope` and can't be null. - `file:` fields need to point at `MDFile`. - `inlinedAt:` fields need to point at `MDLocation`. llvm-svn: 233349
-
Chandler Carruth authored
declaration name so that we mark declarations for emission in a deterministic order (and in turn give them deterministic IDs). This is the last for loop or data structure I can find by inspection of the AST writer which doesn't use a deterministic order. Found by inspection, no test case. llvm-svn: 233348
-
Kaelyn Takata authored
Previously, if the expr list parsed fine but the expr to the left of the open parenthesis was invalid (when parsing the suffix of a postfix-expression), the parsed expr list was just ignored. Fixes PR23005. llvm-svn: 233347
-
Ahmed Bougacha authored
We used to dyn_cast<Constant> in the recursive call, but cast<> in the initial one, and there can be non-Constant initial users. llvm-svn: 233346
-
Richard Smith authored
[modules] Handle defining a tag with a typedef name for linkage purposes on top of an existing imported-but-not-visible definition. llvm-svn: 233345
-
Rui Ueyama authored
llvm-svn: 233344
-
Chandler Carruth authored
order based on order of insertion. This should cause both our warnings about these and the modules serialization to be deterministic as a consequence. Found by inspection. llvm-svn: 233343
-
Chandler Carruth authored
a deterministic order. This uses a MapVector to track the insertion order of selectors. Found by inspection. llvm-svn: 233342
-
Richard Smith authored
[modules] Handle defining a class template on top of an existing imported-but-not-visible definition. llvm-svn: 233341
-
Duncan P. N. Exon Smith authored
Change `getNonCompileUnitScope()` to return `MDScope` and `getConstantAsMetadata()` to return `ConstantAsMetadata`. This will make it easier to start requiring more type safety in the debug info hierarchy. llvm-svn: 233340
-
Chandler Carruth authored
DeclIDs so that in addition to be grouped by file, the order of these groups is stable. Found by inspection, no test case. Not sure this can be observed without a randomized seed for the hash table, but we shouldn't be relying on the hash table layout under any circumstances. llvm-svn: 233339
-