[llvm-dev] SelectionDAGBuilder-may by a bug

Tim Northover via llvm-dev llvm-dev at lists.llvm.org
Thu Nov 28 00:04:07 PST 2019


Hi,

On Thu, 28 Nov 2019 at 03:32, weipingshun via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
>  I don’t known in this function how to handle LoadInst?  help!!

That code looks dodgy, but it should only cause a problem if the input
IR is malformed. findUnwindDestinations is only called on unwind
destination blocks (successors of invoke or cleanupret), and they must
start with one of those kinds of instructions.

Cheers.

Tim.


More information about the llvm-dev mailing list