[PATCH] D37894: [Lint] Avoid failed assertion by fetching the proper pointer type

Mikael Holmén via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 15 01:36:24 PDT 2017


uabelho added a comment.

Picked you as reviewer Matt since you added the CastInst::isNoopCast(const DataLayout *DL) method
which I stole the fix from.

I've run into two different cases where Lint crashes due to the problem this patch tries to solve,
added them both in the new testcase.


https://reviews.llvm.org/D37894





More information about the llvm-commits mailing list