Inline the expression type promotion/demotion stuff out of
authorChris Lattner <sabre@nondot.org>
Sun, 10 Jan 2010 00:58:42 +0000 (00:58 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 10 Jan 2010 00:58:42 +0000 (00:58 +0000)
commit75215c9e39e72ca9ffda0078b92286d03f1f5a3f
treea0d2bd0361eec1e287002860801a458df82eea16
parent10bc755d9f06064d05c75e014203d475df2ba018
Inline the expression type promotion/demotion stuff out of
commonIntCastTransforms into the callers, eliminating a switch,
and allowing the static predicate  methods to be moved down to
live next to the corresponding function.  No functionality
change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93089 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCasts.cpp