[PATCH] D87490: [MachineInstr] return mayAlias for not mayLoadOrStore instructions.

ChenZheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 7 08:01:11 PDT 2020


shchenz added a comment.

I think to make a fundamental interface strong, it is always possible to add some unreachable path for current code base to protect some furture improper callers. This is very like the `assert` statement. There should always no code path can trigger the assertion.

If you insist, I can revert this or I can change it to a assertion.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D87490



More information about the llvm-commits mailing list