diff options
author | Chris Lattner <sabre@nondot.org> | 2004-10-17 21:23:26 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-10-17 21:23:26 +0000 |
commit | 8143c2bc0de4f39bef0432a25d9a111be4767fa1 (patch) | |
tree | 7d2b206a7d7fead5814639ba25c8ca63e1f23f75 /lib/Transforms/Utils/PromoteMemoryToRegister.cpp | |
parent | c30bda7540de573c887e00bb76ac78d85f56acd4 (diff) |
Enhance hasConstantValue to ignore undef values in phi nodes. This allows it
to think that PHI[4, undef] == 4.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17096 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/PromoteMemoryToRegister.cpp')
0 files changed, 0 insertions, 0 deletions