diff options
Diffstat (limited to 'lib/Target/CBackend/CBackend.cpp')
-rw-r--r-- | lib/Target/CBackend/CBackend.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Target/CBackend/CBackend.cpp b/lib/Target/CBackend/CBackend.cpp index fdbf8bc129..9ff6f5c94b 100644 --- a/lib/Target/CBackend/CBackend.cpp +++ b/lib/Target/CBackend/CBackend.cpp @@ -493,6 +493,9 @@ void CWriter::printConstant(Constant *CPV) { case Instruction::Mul: case Instruction::Div: case Instruction::Rem: + case Instruction::And: + case Instruction::Or: + case Instruction::Xor: case Instruction::SetEQ: case Instruction::SetNE: case Instruction::SetLT: @@ -509,6 +512,9 @@ void CWriter::printConstant(Constant *CPV) { case Instruction::Mul: Out << " * "; break; case Instruction::Div: Out << " / "; break; case Instruction::Rem: Out << " % "; break; + case Instruction::And: Out << " & "; break; + case Instruction::Or: Out << " | "; break; + case Instruction::Xor: Out << " ^ "; break; case Instruction::SetEQ: Out << " == "; break; case Instruction::SetNE: Out << " != "; break; case Instruction::SetLT: Out << " < "; break; |