diff options
author | Chris Lattner <sabre@nondot.org> | 2006-01-29 04:41:05 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-01-29 04:41:05 +0000 |
commit | 24e00a4ac1781d86c0647de7dbfa03b5a5f50373 (patch) | |
tree | 6e486d011ffd5fc2e18b59f562776daf2772da3e /lib/CodeGen/SelectionDAG/DAGCombiner.cpp | |
parent | 8bc7472a0cce53ea3047da4fc4859eb6b34f8565 (diff) |
Emit series of conditionals with &&, emitting stuff like this:
if (N1.getOpcode() == ISD::LOAD &&
N1.hasOneUse() &&
!CodeGenMap.count(N1.getValue(0)) &&
!CodeGenMap.count(N1.getValue(1))) {
instead of this:
if (N1.getOpcode() == ISD::LOAD) {
if (N1.hasOneUse()) {
if (!CodeGenMap.count(N1.getValue(0))) {
if (!CodeGenMap.count(N1.getValue(1))) {
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25763 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
0 files changed, 0 insertions, 0 deletions