nikic added inline comments.
Comment at: llvm/lib/IR/Constants.cpp:2368-2379
+bool ConstantExpr::isDesirableBinOp(unsigned Opcode) {
+ assert(Instruction::isBinaryOp(Opcode) && "Argument must be binop opcode");
+ switch (Opcode) {
+ case Instruction::UDiv:
+ case Instruction:
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG935570b2ad80: [ConstExpr] Don't create div/rem
expressions (authored by nikic).
Herald added a project: clang.
Herald added a subscriber: cfe-commits