[PATCH] D52428: Unify landing pad information adding routines (NFC)
Heejin Ahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 24 10:56:18 PDT 2018
aheejin created this revision.
aheejin added reviewers: rnk, dschuff.
Herald added a subscriber: llvm-commits.
We have `llvm::addLandingPadInfo` and `MachineFunction::addLandingPad`,
both of which add landing pad information to populate `LandingPadInfo`
but are called from different locations, which was confusing. This patch
unifies them with one `MachineFunction::addLandingPad` function, which
now has functionlities of both functions.
Repository:
rL LLVM
https://reviews.llvm.org/D52428
Files:
include/llvm/CodeGen/MachineFunction.h
lib/CodeGen/GlobalISel/IRTranslator.cpp
lib/CodeGen/MachineFunction.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52428.166718.patch
Type: text/x-patch
Size: 5316 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180924/ecf28217/attachment.bin>
More information about the llvm-commits
mailing list