Depends on D15139.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/CodeGen/CGCall.cpp | ||
---|---|---|
3482 ↗ | (On Diff #41781) | I guess we have a cleaner way of writing this: EHPersonality::get(*this).isMSVCXXPersonality() |
lib/CodeGen/CGException.cpp | ||
899 ↗ | (On Diff #41781) | This creates one extra basic block per catch handler. Why not insert the catchpadinst directly into Handler.Block, emit Handler.Block, and add Handler.Block to the switch? If this disturbs the test cases too much, then we can punt on it for now. |
910 ↗ | (On Diff #41781) | If we go with the suggestion above, we don't need this Br. |
lib/CodeGen/MicrosoftCXXABI.cpp | ||
896–897 ↗ | (On Diff #41781) | If we emit the catchpadinst into Handler.Block, we can drop the 'getSinglePredecessor' call. |