commit | 8065d776a01dfb1124e7df4b9ce8d0cccf578c9b | [log] [tgz] |
---|---|---|
author | David Majnemer <david.majnemer@gmail.com> | Fri Jul 29 03:27:31 2016 +0000 |
committer | David Majnemer <david.majnemer@gmail.com> | Fri Jul 29 03:27:31 2016 +0000 |
tree | 5dbe7c9e7343eb4732eb55e29c4b4f10c6db0bf3 | |
parent | e43ff14879342fa0b49a56e8622cf05ec7119f7b [diff] |
[ConstantFolding] Use ConstantExpr::getWithOperands ConstantExpr::getWithOperands does much of the hard work that ConstantFoldInstOperandsImpl tries to do but more completely. This lets us fold ExtractValue/InsertValue expressions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@277100 91177308-0d34-0410-b5e6-96231b3b80d8