diff options
author | Vikram S. Adve <vadve@cs.uiuc.edu> | 2001-11-08 04:47:06 +0000 |
---|---|---|
committer | Vikram S. Adve <vadve@cs.uiuc.edu> | 2001-11-08 04:47:06 +0000 |
commit | c53037205b9f48dec853d992c58e57c73bf33385 (patch) | |
tree | 12eb4cda115d1dd0704fa9200d56c1bdb12d87e4 /llvm/lib/CodeGen/InstrSelection/InstrForest.cpp | |
parent | 07900bde2dba8f7727866de63d70971da4807ee2 (diff) | |
download | bcm5719-llvm-c53037205b9f48dec853d992c58e57c73bf33385.tar.gz bcm5719-llvm-c53037205b9f48dec853d992c58e57c73bf33385.zip |
Major overhaul of stack frame management.
llvm-svn: 1185
Diffstat (limited to 'llvm/lib/CodeGen/InstrSelection/InstrForest.cpp')
-rw-r--r-- | llvm/lib/CodeGen/InstrSelection/InstrForest.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/InstrSelection/InstrForest.cpp b/llvm/lib/CodeGen/InstrSelection/InstrForest.cpp index 199ed6569be..d460bb77e23 100644 --- a/llvm/lib/CodeGen/InstrSelection/InstrForest.cpp +++ b/llvm/lib/CodeGen/InstrSelection/InstrForest.cpp @@ -80,6 +80,15 @@ InstructionNode::InstructionNode(Instruction* I) { opLabel = opLabel + 100; // load/getElem with index vector } + else if (opLabel == Instruction::And || + opLabel == Instruction::Or || + opLabel == Instruction::Xor || + opLabel == Instruction::Not) + { + // Distinguish bitwise operators from logical operators! + if (I->getType() != Type::BoolTy) + opLabel = opLabel + 100; // bitwise operator + } else if (opLabel == Instruction::Cast) { const Type *ITy = I->getType(); |