[all-commits] [llvm/llvm-project] 06dfc8: [Local] Mark Instruction argument of wouldInstruct...
serguei-katkov via All-commits
all-commits at lists.llvm.org
Mon Aug 14 01:08:10 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 06dfc8400d2b87c77f9d445be61ab85eeb293dd4
https://github.com/llvm/llvm-project/commit/06dfc8400d2b87c77f9d445be61ab85eeb293dd4
Author: Serguei Katkov <serguei.katkov at azul.com>
Date: 2023-08-14 (Mon, 14 Aug 2023)
Changed paths:
M llvm/include/llvm/Analysis/AssumeBundleQueries.h
M llvm/include/llvm/Transforms/Utils/Local.h
M llvm/lib/Analysis/AssumeBundleQueries.cpp
M llvm/lib/Transforms/Utils/Local.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list