OSDN Git Service

refactor FoldBitCast to reduce nesting and to always return a constantexpr
authorChris Lattner <sabre@nondot.org>
Sun, 25 Oct 2009 06:02:57 +0000 (06:02 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 25 Oct 2009 06:02:57 +0000 (06:02 +0000)
commitea9d57bc9a8eb6aaa07b250cc59774d1a1981221
tree549595ad3bb5c3eaac54818e07570a1951c56f60
parent4a134afaef984c403f6d6b1da4d301666d899b92
refactor FoldBitCast to reduce nesting and to always return a constantexpr
instead of returning null on failure.  No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85038 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ConstantFolding.cpp