[PATCH] D34576: [ConstantHoisting] Avoid hoisting constants in GEPs that index into a struct type.

Leo Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 29 17:40:44 PDT 2017


aoli added a comment.

> Ah...
> 
> It's supposed to check for the first two operands for insertvalue.

Thank you for clarifying. I just want to make sure those two logic are identical.

I'll bring a new patch to fix this and unify the logic.


https://reviews.llvm.org/D34576





More information about the llvm-commits mailing list