[PATCH] D117184: Fix failing assertion in SimplifyCFG.cpp as icmp gep fold to constant expression [NFC]

praveen velliengiri via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 17 01:43:21 PST 2022


pvellien added a comment.

Hi @nikic 
https://gist.github.com/pvellien/e4f519d17b25adf10fdd5978ee0b1de9 
After trying a lot, this is minimal IR i can able to find. It is reduction from 84k lines to 617 lines. 
Please compile with Opt with O3 <https://reviews.llvm.org/owners/package/3/>.

LLVM top commit.

commit 5afbfe33e7d6ce40af0ad6d99421b443c45b351b <https://reviews.llvm.org/rG5afbfe33e7d6ce40af0ad6d99421b443c45b351b> (HEAD)
Author: Nikita Popov <npopov at redhat.com>
Date:   Tue Dec 28 12:27:04 2021 +0100

  [ConstantFold] Make icmp of gep fold offset based


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D117184/new/

https://reviews.llvm.org/D117184



More information about the llvm-commits mailing list