This is an archive of the discontinued LLVM Phabricator instance.

[InstCombine] Fix a couple crahses with extractelement on a scalable vector.
ClosedPublic

Authored by efriedma on Sep 1 2020, 4:30 PM.

Diff Detail

Event Timeline

efriedma created this revision.Sep 1 2020, 4:30 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 1 2020, 4:30 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
efriedma requested review of this revision.Sep 1 2020, 4:30 PM
This revision is now accepted and ready to land.Sep 2 2020, 12:18 AM
sdesmalen accepted this revision.Sep 2 2020, 12:33 AM
sdesmalen added inline comments.
llvm/lib/Analysis/ValueTracking.cpp
2573

nit: is this how whitespace changes are rendered after the latest Phabricator update, or are these tabs?

llvm/test/Transforms/InstCombine/vscale_extractelement.ll
168

nit: entry: can be removed.

david-arm added inline comments.Sep 2 2020, 12:36 AM
llvm/lib/Analysis/ValueTracking.cpp
2573

I've seen these rendered on mine and other patches too where there are no tabs. I think it's the latest Phabricator update showing indentation.

sdesmalen added inline comments.Sep 2 2020, 12:40 AM
llvm/lib/Analysis/ValueTracking.cpp
2573

Good to know, that's a nice improvement to Phabricator! Thanks for confirming.

This revision was landed with ongoing or failed builds.Sep 2 2020, 6:02 PM
This revision was automatically updated to reflect the committed changes.