[all-commits] [llvm/llvm-project] 8bb713: [Attributor] Allow lookupAAFor to return null on i...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Fri Jun 4 09:29:45 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8bb713207d2cc6efeaa78850bbd89a3a5c65fe03
https://github.com/llvm/llvm-project/commit/8bb713207d2cc6efeaa78850bbd89a3a5c65fe03
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2021-06-04 (Fri, 04 Jun 2021)
Changed paths:
M llvm/include/llvm/Transforms/IPO/Attributor.h
Log Message:
-----------
[Attributor] Allow lookupAAFor to return null on invalid state
This patch adds an option to `lookupAAFor` that allows it to return a
nullptr if the state of the looked up attribute is invalid. This is so
future passes can use this to query other attributes with the guarantee
that they are valid.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D103556
More information about the All-commits
mailing list