This is an archive of the discontinued LLVM Phabricator instance.

[InstCombine][NFC] Tests for folding icmp(constants[x])
Needs ReviewPublic

Authored by XChy on Jul 31 2023, 2:15 AM.

Details

Summary

Tests for upcoming patch.
Issue

Diff Detail

Unit TestsFailed

Event Timeline

XChy created this revision.Jul 31 2023, 2:15 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 31 2023, 2:15 AM
Herald added a subscriber: arphaman. · View Herald Transcript
XChy requested review of this revision.Jul 31 2023, 2:15 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 31 2023, 2:15 AM
XChy set the repository for this revision to rG LLVM Github Monorepo.
XChy retitled this revision from [ValueTracking][NFC] Tests for folding icmp(constants[x]) to [InstCombine][NFC] Tests for folding icmp(constants[x]) .Jul 31 2023, 6:55 AM
XChy updated this revision to Diff 545636.Jul 31 2023, 6:58 AM

Extend foldCmpLoadFromIndexedGlobal and use load-cmp.ll as test file.

XChy updated this revision to Diff 545660.Jul 31 2023, 7:49 AM

Update tests

XChy updated this revision to Diff 545669.Jul 31 2023, 7:58 AM
XChy updated this revision to Diff 546117.Aug 1 2023, 10:12 AM