This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Bail out for float operands in SetCC optimization.
ClosedPublic

Authored by fhahn on Jan 31 2022, 8:32 AM.

Details

Summary

The optimization added in D118139 causes a crash on the added test case
while trying to zero extend an vector of floats.

Fix the crash by bailing out for floating point operands.

Diff Detail

Event Timeline

fhahn created this revision.Jan 31 2022, 8:32 AM
fhahn requested review of this revision.Jan 31 2022, 8:32 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 31 2022, 8:32 AM
fhahn updated this revision to Diff 404557.Jan 31 2022, 8:49 AM

Fix typo, should use Op1 instead of getVT(1).

This revision is now accepted and ready to land.Jan 31 2022, 8:53 AM
fhahn updated this revision to Diff 404568.Jan 31 2022, 9:11 AM

Add another test that crashes with the typo fixed in the latest update.

fhahn updated this revision to Diff 404590.Jan 31 2022, 10:07 AM

rebase on top of current main

This revision was landed with ongoing or failed builds.Jan 31 2022, 10:21 AM
This revision was automatically updated to reflect the committed changes.