This is an archive of the discontinued LLVM Phabricator instance.

[InstCombine] Explicitly check for scalable TypeSize.
ClosedPublic

Authored by craig.topper on Oct 21 2022, 5:47 PM.

Details

Diff Detail

Event Timeline

craig.topper created this revision.Oct 21 2022, 5:47 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 21 2022, 5:47 PM
craig.topper requested review of this revision.Oct 21 2022, 5:47 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 21 2022, 5:47 PM

clang-format

peterwaller-arm accepted this revision.Oct 24 2022, 4:08 AM

LGTM. (With the fix) I've tested this produces the expected output.

llvm/test/Transforms/InstCombine/gep-object-size-less-than-or-equal-typesize.ll
3

opt is missing its input.

This revision is now accepted and ready to land.Oct 24 2022, 4:08 AM
This revision was landed with ongoing or failed builds.Oct 24 2022, 12:29 PM
This revision was automatically updated to reflect the committed changes.
craig.topper added inline comments.Oct 24 2022, 12:30 PM
llvm/test/Transforms/InstCombine/gep-object-size-less-than-or-equal-typesize.ll
3

Thanks for catching that. update_test_checks.py seemed fine with it and I guess I didn't run check-llvm afterwards.