[PATCH] D108206: [RISCV] Fix reporting of incorrect commutable operand indices

Roger Ferrer Ibanez via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 19 00:22:30 PDT 2021


rogfer01 accepted this revision.
rogfer01 added a comment.
This revision is now accepted and ready to land.

I'm not super familiar with this mechanism. But reading the docs I think this is correct.

Also, strictly logically, that `else if` was trivially true (due to an earlier assignment) which was not probably the intent of the code.

Good catch @frasercrmck!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108206



More information about the llvm-commits mailing list