This is an archive of the discontinued LLVM Phabricator instance.

[test][InstCombine] Add a test case for constant folding for uniformly initialized array
AbandonedPublic

Authored by khei4 on Feb 15 2023, 12:35 AM.

Details

Reviewers
spatel
nikic
Summary

To enable ConstantFolding to handle load/GEP instruction for uniformly initialized aggregate types. This patch only contains tests. Implementation patches coming later.
Goal proof: https://alive2.llvm.org/ce/z/oZtVby
motivated by https://github.com/rust-lang/rust/issues/107208
(this is my first patch and I don't have commit access )

Diff Detail

Event Timeline

khei4 created this revision.Feb 15 2023, 12:35 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 15 2023, 12:35 AM
khei4 requested review of this revision.Feb 15 2023, 12:35 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 15 2023, 12:35 AM
khei4 abandoned this revision.Feb 16 2023, 1:58 PM

Similar test cases exist already. Abandon this revision.