[PATCH] D104432: [Attributor] Introduce AAPointerInfo

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 24 13:49:18 PST 2022


RKSimon added inline comments.


================
Comment at: llvm/lib/Transforms/IPO/AttributorAttributes.cpp:1338
+      unsigned ArgNo = getIRPosition().getCallSiteArgNo();
+      ChangeStatus Changed;
+      if (ArgNo == 0) {
----------------
@jdoerfert Static analysis is warning about an uninitialised variable - should this be ChangeStatus::UNCHANGED?

https://llvm.org/reports/scan-build/report-AttributorAttributes.cpp-handleAccess-10-6bf086.html#EndPath


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104432



More information about the llvm-commits mailing list