diff options
author | Chris Lattner <sabre@nondot.org> | 2010-02-27 07:49:13 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-02-27 07:49:13 +0000 |
commit | 82781b938af4057df90b5fa4035781ddc4aa681a (patch) | |
tree | 7e741bb5cf98cf25ac5ffa32d1467eb16642277f /lib/Target/CBackend/CBackend.cpp | |
parent | 2c755ba12a79e0bb2899c0bde00b2f7ea2c975a0 (diff) |
Teach the grouper some simple tricks about looking contradictory
predicates. For example if we have:
Scope:
CheckType i32
ABC
CheckType f32
DEF
CheckType i32
GHI
Then we know that we can transform this into:
Scope:
CheckType i32
Scope
ABC
GHI
CheckType f32
DEF
This reorders the check for the 'GHI' predicate above
the check for the 'DEF' predidate. However it is safe to do this
in this situation because we know that a node cannot have both an
i32 and f32 type.
We're now doing more factoring that the old isel did.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97312 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CBackend/CBackend.cpp')
0 files changed, 0 insertions, 0 deletions