nlopes added inline comments.

================
Comment at: clang/lib/CodeGen/CGClass.cpp:3080
+      if (I.getName().equals("this")) {
+        VMap[&I] = llvm::UndefValue::get(I.getType());
+      }
----------------
Please use PoisonValue instead whenever possible, as we are trying to remove 
undef from LLVM.
Thank you!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136998

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to