[PATCH] D26045: [cfi] Fix weak functions handling.
Peter Collingbourne via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 27 16:21:10 PDT 2016
pcc added inline comments.
================
Comment at: lib/Transforms/IPO/LowerTypeTests.cpp:766
+ if (auto *GV = dyn_cast<GlobalVariable>(U))
+ Out.push_back(GV);
+ else if (auto *C2 = dyn_cast<Constant>(U))
----------------
Is this correctly handling the case where an initializer contains multiple references to a weak undef?
Repository:
rL LLVM
https://reviews.llvm.org/D26045
More information about the llvm-commits
mailing list