Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AArch64] Add missing HasNEON predicate in scalar FABD patterns
I was trying to compile with -march=+nosimd and hit the following assertion: `Attempting to emit FABD64 instruction but the Feature_HasNEON predicate(s) are not met`. This adds a HasNEON predicate to the patterns which was omitted in commit 21d9b33 for some reason. The new code generation matches GCC with -mcpu=<cpu>+nosimd: https://godbolt.org/z/n1Y7xh5jo Differential Revision: https://reviews.llvm.org/D123491
- Loading branch information
1 parent
32a353a
commit ee44896
Showing
2 changed files
with
10 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters