| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
| |
No functional effect yet. This is still evolving and should
not be viewed as final.
llvm-svn: 98195
|
| |
|
|
| |
llvm-svn: 97914
|
| |
|
|
| |
llvm-svn: 97735
|
| |
|
|
|
|
|
|
|
|
| |
CSE and recursive RAUW calls delete a node from the use list,
invalidating the use list iterator. There's currently no known
way to reproduce this in an unmodified LLVM, however there's no
fundamental reason why a SelectionDAG couldn't be formed which
would trigger this case.
llvm-svn: 97665
|
| |
|
|
| |
llvm-svn: 97536
|
| |
|
|
|
|
| |
(the most general) the others are dead.
llvm-svn: 97511
|
| |
|
|
| |
llvm-svn: 97441
|
| |
|
|
|
|
| |
case of MorphNodeTo directly.
llvm-svn: 97417
|
| |
|
|
| |
llvm-svn: 97072
|
| |
|
|
|
|
| |
more elegant.
llvm-svn: 97059
|
| |
|
|
| |
llvm-svn: 97057
|
| |
|
|
| |
llvm-svn: 97056
|
| |
|
|
|
|
|
|
|
|
|
| |
necessary to swap the operands to handle NaN and negative zero properly.
Also, reintroduce logic for checking for NaN conditions when forming
SSE min and max instructions, fixed to take into consideration NaNs and
negative zeros. This allows forming min and max instructions in more
cases.
llvm-svn: 97025
|
| |
|
|
| |
llvm-svn: 97019
|
| |
|
|
|
|
| |
creating a new node then replacing uses.
llvm-svn: 97000
|
| |
|
|
| |
llvm-svn: 96971
|
| |
|
|
| |
llvm-svn: 96956
|
| |
|
|
|
|
| |
CSE'd or otherwise combined with temporal MemSDNodes.
llvm-svn: 96505
|
| |
|
|
|
|
|
| |
and T->isPointerTy(). Convert most instances of the first form to the second form.
Requested by Chris.
llvm-svn: 96344
|
| |
|
|
| |
llvm-svn: 96295
|
| |
|
|
| |
llvm-svn: 96240
|
| |
|
|
| |
llvm-svn: 95711
|
| |
|
|
|
|
|
|
|
| |
into TargetOpcodes.h. #include the new TargetOpcodes.h
into MachineInstr. Add new inline accessors (like isPHI())
to MachineInstr, and start using them throughout the
codebase.
llvm-svn: 95687
|
| |
|
|
| |
llvm-svn: 95012
|
| |
|
|
|
|
|
|
| |
type is the same as the element type of the vector. EXTRACT_VECTOR_ELT can
be used to extended the width of an integer type. This fixes a bug for
Generic/vector-casts.ll on a ppc750.
llvm-svn: 94990
|
| |
|
|
| |
llvm-svn: 94805
|
| |
|
|
|
|
|
| |
"visit*" method is called, take the newly created nodes, walk them in a DFS
fashion, and if they don't have an ordering set, then give it one.
llvm-svn: 94757
|
| |
|
|
|
|
|
|
|
| |
the '-pre-RA-sched' flag. It actually makes more sense to do it this way. Also,
keep track of the SDNode ordering by default. Eventually, we would like to make
this ordering a way to break a "tie" in the scheduler. However, doing that now
breaks the "CodeGen/X86/abi-isel.ll" test for 32-bit Linux.
llvm-svn: 94308
|
| |
|
|
|
|
|
| |
points. This will help us find future problems like the one
described in PR6019.
llvm-svn: 94019
|
| |
|
|
| |
llvm-svn: 93960
|
| |
|
|
|
|
| |
understanding CannotYTetSelect and other errors easier.
llvm-svn: 93901
|
| |
|
|
|
|
|
|
|
|
|
| |
print/dumpWithDepth allows one to dump a DAG up to N levels deep.
dump/printWithFullDepth prints the whole DAG, subject to a depth limit
on 100 in the default case (to prevent infinite recursion).
Have CannotYetSelect to a dumpWithFullDepth so it is clearer exactly
what the non-matching DAG looks like.
llvm-svn: 93538
|
| |
|
|
|
|
|
|
|
|
| |
really does need to be a vector type, because
TargetLowering::getOperationAction for SIGN_EXTEND_INREG uses that type,
and it needs to be able to distinguish between vectors and scalars.
Also, fix some more issues with legalization of vector casts.
llvm-svn: 93043
|
| |
|
|
|
|
|
|
|
|
| |
(OP (trunc x), (trunc y)) -> (trunc (OP x, y))
Unfortunately this simple change causes dag combine to infinite looping. The problem is the shrink demanded ops optimization tend to canonicalize expressions in the opposite manner. That is badness. This patch disable those optimizations in dag combine but instead it is done as a late pass in sdisel.
This also exposes some deficiencies in dag combine and x86 setcc / brcond lowering. Teach them to look pass ISD::TRUNCATE in various places.
llvm-svn: 92849
|
| |
|
|
| |
llvm-svn: 92569
|
| |
|
|
|
|
|
|
| |
return partial registers. This affected the back-end lowering code some.
Also patch up some places I missed before in the "get" functions.
llvm-svn: 91880
|
| |
|
|
|
|
| |
- Modify the "dump" method to emit the order of an SDNode.
llvm-svn: 91845
|
| |
|
|
| |
llvm-svn: 91834
|
| |
|
|
| |
llvm-svn: 91744
|
| |
|
|
|
|
|
|
|
|
|
| |
- Move DisableScheduling flag into TargetOption.h
- Move SDNodeOrdering into its own header file. Give it a minimal interface that
doesn't conflate construction with storage.
- Move assigning the ordering into the SelectionDAGBuilder.
This isn't used yet, so there should be no functional changes.
llvm-svn: 91727
|
| |
|
|
|
|
| |
having it reverted does no good.
llvm-svn: 91560
|
| |
|
|
|
|
|
| |
this", this broke llvm-gcc bootstrap for release builds on
x86_64-apple-darwin10.
llvm-svn: 91533
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
stuff isn't used just yet.
We want to model the GCC `-fno-schedule-insns' and `-fno-schedule-insns2'
flags. The hypothesis is that the people who use these flags know what they are
doing, and have hand-optimized the C code to reduce latencies and other
conflicts.
The idea behind our scheme to turn off scheduling is to create a map "on the
side" during DAG generation. It will order the nodes by how they appeared in the
code. This map is then used during scheduling to get the ordering.
llvm-svn: 91392
|
| |
|
|
| |
llvm-svn: 91362
|
| |
|
|
|
|
| |
results.
llvm-svn: 91233
|
| |
|
|
| |
llvm-svn: 91158
|
| |
|
|
|
|
| |
isl lowering code.
llvm-svn: 90925
|
| |
|
|
|
|
| |
primary used by selectdag passes.
llvm-svn: 90922
|
| |
|
|
| |
llvm-svn: 90919
|
| |
|
|
| |
llvm-svn: 90918
|