[llvm] r368938 - [Attributor] Try to fix "missing field 'RetInsts' initializer" warning
Johannes Doerfert via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 14 15:32:29 PDT 2019
Author: jdoerfert
Date: Wed Aug 14 15:32:29 2019
New Revision: 368938
URL: http://llvm.org/viewvc/llvm-project?rev=368938&view=rev
Log:
[Attributor] Try to fix "missing field 'RetInsts' initializer" warning
http://lab.llvm.org:8011/builders/lld-x86_64-darwin13/builds/35674/steps/build_Lld/logs/stdio
Modified:
llvm/trunk/lib/Transforms/IPO/Attributor.cpp
Modified: llvm/trunk/lib/Transforms/IPO/Attributor.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/Attributor.cpp?rev=368938&r1=368937&r2=368938&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/Attributor.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/Attributor.cpp Wed Aug 14 15:32:29 2019
@@ -735,7 +735,7 @@ ChangeStatus AAReturnedValuesImpl::updat
// Callback for all "return intructions" live in the associated function.
auto CheckReturnInst = [this, &VisitReturnedValue, &Changed](Instruction &I) {
ReturnInst &Ret = cast<ReturnInst>(I);
- RVState RVS({ReturnedValues, false});
+ RVState RVS({ReturnedValues, false, {}});
RVS.RetInsts.insert(&Ret);
Changed |= RVS.Changed;
return VisitReturnedValue(*Ret.getReturnValue(), RVS);
More information about the llvm-commits
mailing list