commit | 390437fc6d6e7a244e7c81683576e7d27a425cea | [log] [tgz] |
---|---|---|
author | Reid Spencer <rspencer@reidspencer.com> | Tue Dec 19 03:15:47 2006 +0000 |
committer | Reid Spencer <rspencer@reidspencer.com> | Tue Dec 19 03:15:47 2006 +0000 |
tree | 153f959ac127f1e5bf0c448adb0e5b21e8d759b8 | |
parent | 0b985dc84a457225033f5276e53f618d815d74ae [diff] |
Rewrite ConstantFoldCastInstruction so that it doesn't use any of the ConstRules. Remove the casting rules from ConstRules and subclasses. This cleans up ConstantFolding significantly. Passes all tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32671 91177308-0d34-0410-b5e6-96231b3b80d8