diff options
author | Steve Naroff <snaroff@apple.com> | 2007-07-13 16:58:59 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2007-07-13 16:58:59 +0000 |
commit | 7a5af782707bd385c59794f107d769eb4eac6fd5 (patch) | |
tree | 60c3a78e74d1873882803b7c3554ae924e5d6e8b /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
parent | 2b4d9b684fb2d6b52ff89ded0dce5ce3440e0f6c (diff) | |
download | bcm5719-llvm-7a5af782707bd385c59794f107d769eb4eac6fd5.tar.gz bcm5719-llvm-7a5af782707bd385c59794f107d769eb4eac6fd5.zip |
Add (explicit) AST support for implicit casts. This should simplify the
code generator. Source translation tools can simply ignore this node.
- Added a new Expr node, ImplicitCastExpr.
- Changed UsualUnaryConversions/UsualArithmeticConversions to take references
to Expr *'s. This will allow these routines to instantiate the new AST node
and pass it back.
- Changed all clients of UsualUnary/UsualArithmetic (lot's of diff's).
- Changed some names in CheckConditionalOperands. Several variables where
only distinguished by their case (e.g. Cond, cond). Yuck (what was I thinking).
- Removed an old/crufty constructor in CastExpr (cleanup).
This check-in does not actually create the new AST node. I wanted to separate
the mechanical changes from the semantic changes. In addition, I need to
coordinate with Chris, since the semantic change will break the code generator.
llvm-svn: 39814
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
0 files changed, 0 insertions, 0 deletions