diff options
Diffstat (limited to 'llvm/lib/IR/Constants.cpp')
-rw-r--r-- | llvm/lib/IR/Constants.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/Constants.cpp b/llvm/lib/IR/Constants.cpp index 33f4dc7..9b69b1c 100644 --- a/llvm/lib/IR/Constants.cpp +++ b/llvm/lib/IR/Constants.cpp @@ -2395,10 +2395,10 @@ bool ConstantExpr::isDesirableBinOp(unsigned Opcode) { case Instruction::LShr: case Instruction::AShr: case Instruction::Shl: + case Instruction::Mul: return false; case Instruction::Add: case Instruction::Sub: - case Instruction::Mul: case Instruction::Xor: return true; default: |