We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aedd9ec commit b0025b6Copy full SHA for b0025b6
llvm/lib/Transforms/IPO/IROutliner.cpp
@@ -1947,6 +1947,7 @@ void replaceConstants(OutlinableRegion &Region) {
1947
LLVM_DEBUG(dbgs() << "Replacing uses of constant " << *CST
1948
<< " in function " << *OutlinedFunction << " with "
1949
<< *Arg << "\n");
1950
+ // FIXME: This is actually relying on the constant use list
1951
CST->replaceUsesWithIf(Arg, [OutlinedFunction](Use &U) {
1952
if (Instruction *I = dyn_cast<Instruction>(U.getUser()))
1953
return I->getFunction() == OutlinedFunction;
0 commit comments