[PATCH] D67133: [GlobalISel]: Fix some non determinism exposed in CSE due to not notifying observers about mutations + add verification for CSE

Aditya Nandakumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 4 11:53:10 PDT 2019


aditya_nandakumar marked an inline comment as done.
aditya_nandakumar added inline comments.


================
Comment at: llvm/lib/CodeGen/GlobalISel/Legalizer.cpp:298-299
   }
+  if (CSEInfo)
+    CSEInfo->verify();
 
----------------
paquette wrote:
> Should this be under `#ifndef NDEBUG?`
Definitely. Thanks for catching.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D67133





More information about the llvm-commits mailing list