[PATCH] D84220: [IPSCCP] Fix a bug that the "returned" attribute is not cleared when function is optimized to return undef
Congzhe Cao via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 27 09:22:06 PDT 2020
congzhe added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/SCCP.cpp:37
#include "llvm/Analysis/ValueLatticeUtils.h"
+#include "llvm/IR/AbstractCallSite.h"
#include "llvm/IR/BasicBlock.h"
----------------
fhahn wrote:
> Is this needed?
This header file is included since we need the CallBase class when we remove the returned attribute in call sites.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84220/new/
https://reviews.llvm.org/D84220
More information about the llvm-commits
mailing list