Commit 06dfc840 authored by Serguei Katkov's avatar Serguei Katkov
Browse files

[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
parent c23b1a0c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment