commit | 878e4946700824954d7eb7f3ff660353db8e0d17 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu Oct 22 06:25:11 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu Oct 22 06:25:11 2009 +0000 |
tree | 1018bec975039f2457d2fabfb5ec56cba47c2512 | |
parent | 62d1723a9cbce2019aac862f51952a58146a6bf0 [diff] |
Move some constant folding logic for loads out of instcombine into Analysis/ConstantFolding.cpp. This doesn't change the behavior of instcombine but makes other clients of ConstantFoldInstruction able to handle loads. This was partially extracted from Eli's patch in PR3152. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84836 91177308-0d34-0410-b5e6-96231b3b80d8