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

Haopeng Liu via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 19 10:17:02 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) {
----------------
haopliu wrote:

Ah, nice catch!

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


More information about the llvm-commits mailing list