[PATCH] D63812: [InstCombine] Shift amount reassociation (PR42391)

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 26 10:03:18 PDT 2019


nikic added inline comments.


================
Comment at: lib/Transforms/InstCombine/InstCombineShifts.cpp:37
+  // The shift opcodes must be identical.
+  Instruction::BinaryOps ShitOpcode = OuterShift->getOpcode();
+  if (ShitOpcode != cast<Instruction>(OuterShift->getOperand(0))->getOpcode())
----------------
Nice typo ;)


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63812/new/

https://reviews.llvm.org/D63812





More information about the llvm-commits mailing list