diff options
author | Alex Richardson <alexrichardson@google.com> | 2022-04-12 20:59:41 +0000 |
---|---|---|
committer | Alex Richardson <alexrichardson@google.com> | 2022-04-13 09:30:11 +0000 |
commit | ee44896cf42d3360f7e0229c360258c92262a47b (patch) | |
tree | 69d87cdf63c15490e8210c8e2d11f738780822d5 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 32a353a5e08628403422a1f71e6500bc1f68e8fb (diff) | |
download | llvm-ee44896cf42d3360f7e0229c360258c92262a47b.zip llvm-ee44896cf42d3360f7e0229c360258c92262a47b.tar.gz llvm-ee44896cf42d3360f7e0229c360258c92262a47b.tar.bz2 |
[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
21d9b33d62772c58267cc0aa725e35ac9a4661db 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
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions