tschuett added a comment. I looked at the AArch64 legalizer. The use if-statements when they different features. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D150790/new/ https://reviews.llvm.org/D150790