This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Fix TypeSize->uint64_t implicit conversion in AArch64ISelLowering::hasAndNot
ClosedPublic

Authored by david-arm on Nov 16 2021, 6:27 AM.

Details

Summary

For now I've just changed the code to only return true from
AArch64ISelLowering::hasAndNot if the vector is fixed-length.
Once we have the right patterns or DAG combines to use bic/bif
we can also enable this for SVE.

Test added here:

CodeGen/AArch64/vselect-constants.ll

Diff Detail

Event Timeline

david-arm created this revision.Nov 16 2021, 6:27 AM
david-arm requested review of this revision.Nov 16 2021, 6:27 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 16 2021, 6:27 AM
This revision is now accepted and ready to land.Nov 16 2021, 6:37 AM
sdesmalen accepted this revision.Nov 16 2021, 6:51 AM