[PATCH] D105545: [MergedLoadStoreMotion] Conditional store elimination

Momchil Velikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 8 02:43:15 PDT 2021


chill added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/MergedLoadStoreMotion.cpp:491
+      case Instruction::Store:
+        if (AI == cast<StoreInst>(I)->getValueOperand())
+          return true;
----------------
Note to self: should be `V == cast<StoreInst>(I)->getValueOperand())`


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105545/new/

https://reviews.llvm.org/D105545



More information about the llvm-commits mailing list