[PATCH] D46671: Use iteration instead of recursion in CFIInserter

Sanjoy Das via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 10 10:32:58 PDT 2018


sanjoy added a comment.

In https://reviews.llvm.org/D46671#1094451, @violetav wrote:

> Incoming offset/register values of each successor block should match outgoing offset/register values of its predecessors.


You're right, the propagation logic is wrong.  I've rewritten the code to be clearer, and added the test case you mentioned.


Repository:
  rL LLVM

https://reviews.llvm.org/D46671





More information about the llvm-commits mailing list