Files
clang-p2996/llvm/lib/Transforms/Utils/Local.cpp
Serguei Katkov 06dfc8400d [Local] Mark Instruction argument of wouldInstructionBeTriviallyDead as const. NFC.
wouldInstructionBeTriviallyDead is not expected to modify instruction,
so mark argument as const to allow its usage in other non-modifying instructions callers.

Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D157834
2023-08-14 14:49:51 +07:00

134 KiB