"blockaddress" can not apply to an external function. All
blockaddress constant uses must belong to the same module as the
definition of the target function.
Details
Details
- Reviewers
pcc
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D18532
Preserve blockaddress use edges in the module splitter. ClosedPublic Authored by eugenis on Mar 28 2016, 4:48 PM.
Details
Summary "blockaddress" can not apply to an external function. All
Diff Detail
Event Timelineeugenis updated this object.
This revision is now accepted and ready to land.Mar 31 2016, 2:36 PM
Revision Contents
Diff 52267 lib/Transforms/Utils/SplitModule.cpp
test/tools/llvm-split/blockaddress.ll
|
I don't think you need the PreserveLocals && part here, as the RHS can only be true if the LHS is true.