[PATCH] D104043: [IR] Value: Fix OpCode checks
Nick Desaulniers via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 10 10:13:50 PDT 2021
nickdesaulniers accepted this revision.
nickdesaulniers added a comment.
This revision is now accepted and ready to land.
Based on the comments above `Value::getValueID`, this seems fine to me. ie. no such opcode == 0 and InstructionVal enumerator must be the highest valued enumerator in the ValueTy enum.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104043/new/
https://reviews.llvm.org/D104043
More information about the llvm-commits
mailing list