[llvm] [NFC] [DSE] Refactor DSE (PR #100956)

Jan Voung via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 16 08:06:42 PDT 2024


================
@@ -1227,7 +1268,7 @@ struct DSEState {
 
   /// Returns true if \p I is a memory terminator instruction like
   /// llvm.lifetime.end or free.
-  bool isMemTerminatorInst(Instruction *I) const {
+  bool isMemTerminatorInst(Instruction *I) {
----------------
jvoung wrote:

nit: can the "const" be kept?

https://github.com/llvm/llvm-project/pull/100956


More information about the llvm-commits mailing list