Reland "[AArch64][SME] Disable GlobalISel/FastISel for SME functions."
authorSander de Smalen <sander.desmalen@arm.com>
Thu, 10 Nov 2022 09:21:59 +0000 (09:21 +0000)
committerSander de Smalen <sander.desmalen@arm.com>
Thu, 10 Nov 2022 10:44:54 +0000 (10:44 +0000)
commitc85bd250e566541742151169b098d1fc516401b7
tree1e1446a7882978956010e781115c875bafda3da1
parentd0b2f18dc1f09a91300756186a231052378c5936
Reland "[AArch64][SME] Disable GlobalISel/FastISel for SME functions."

It turns that the issue was unrelated to the code-changes, but only triggered
by one of the tests. The SMEABI pass incorrectly marked the CFG as preserved,
even though it modified the CFG.

This reverts commit 8bcf5df3043a906c7124b70b59eda925eddd7319.
llvm/lib/Target/AArch64/AArch64FastISel.cpp
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
llvm/lib/Target/AArch64/SMEABIPass.cpp
llvm/test/CodeGen/AArch64/O3-pipeline.ll
llvm/test/CodeGen/AArch64/sme-disable-gisel-fisel.ll [new file with mode: 0644]