This is an archive of the discontinued LLVM Phabricator instance.

[SVE][CodeGen] At -O0 fallback to DAG ISel when translating alloca with scalable types
ClosedPublic

Authored by david-arm on Jul 28 2020, 5:38 AM.

Details

Summary

When building code at -O0 we weren't falling back to DAG ISel correctly
when encountering alloca instructions with scalable vector types. This
is because the alloca has no operands that are scalable. I've fixed this by
adding a check in AArch64ISelLowering::fallBackToDAGISel for alloca
instructions with scalable types.

Diff Detail

Unit TestsFailed

Event Timeline

david-arm created this revision.Jul 28 2020, 5:38 AM
Herald added a project: Restricted Project. · View Herald Transcript
david-arm requested review of this revision.Jul 28 2020, 6:39 AM
This revision is now accepted and ready to land.Jul 28 2020, 11:01 AM
This revision was landed with ongoing or failed builds.Jul 30 2020, 12:41 AM
This revision was automatically updated to reflect the committed changes.