This is an archive of the discontinued LLVM Phabricator instance.

llvm-reduce: Do not crash on operands with vector of pointer type
ClosedPublic

Authored by MatzeB on Oct 5 2022, 12:48 PM.

Details

Summary

Avoid crash in reduceOperandsOneDeltaPass function for operands with vector of pointer type.

While on it add a reduce-operands-ptr.ll test in the spirit of the existing reduce-operands-int.ll/reduce-operands-fp.ll tests.

Diff Detail

Event Timeline

MatzeB created this revision.Oct 5 2022, 12:48 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 5 2022, 12:48 PM
MatzeB requested review of this revision.Oct 5 2022, 12:48 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 5 2022, 12:48 PM
MatzeB edited the summary of this revision. (Show Details)Oct 5 2022, 12:48 PM
aeubanks accepted this revision.Oct 5 2022, 12:57 PM
This revision is now accepted and ready to land.Oct 5 2022, 12:57 PM
This revision was landed with ongoing or failed builds.Oct 5 2022, 3:13 PM
This revision was automatically updated to reflect the committed changes.