[PATCH] D71787: [Attributor] UB Attribute now handles all instructions that access memory through a pointer

Stefan Stipanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 21 04:41:19 PST 2019


sstefan1 accepted this revision.
sstefan1 added inline comments.


================
Comment at: llvm/lib/Transforms/IPO/Attributor.cpp:2013
 
       // A load is considered UB only if it dereferences a constant
       // null pointer.
----------------
nit: I think you should update these comments (line 2021) as well.


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

https://reviews.llvm.org/D71787





More information about the llvm-commits mailing list