diff options
author | Benjamin Maxwell <benjamin.maxwell@arm.com> | 2024-11-21 11:02:07 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-21 11:02:07 +0000 |
commit | 83c7784c35918ce037823f29d29918c5542cdf9c (patch) | |
tree | 94a4fe162260b916f61ef005e41fdb51e681d2b2 /clang/unittests/Frontend/CompilerInvocationTest.cpp | |
parent | 5bdee35544eb21762857390014598748c64ad485 (diff) | |
download | llvm-83c7784c35918ce037823f29d29918c5542cdf9c.zip llvm-83c7784c35918ce037823f29d29918c5542cdf9c.tar.gz llvm-83c7784c35918ce037823f29d29918c5542cdf9c.tar.bz2 |
[AArch64] Don't emit Neon in streaming[-compatible] functions with -fzero-call-used-regs (#116995)
Previously, with `-fzero-call-used-regs` clang/LLVM would incorrectly
emit Neon instructions in streaming functions, and streaming-compatible
functions without SVE.
With this change:
* In streaming functions, Z/p registers will be zeroed
* In streaming compatible functions w/o SVE, D registers will be zeroed
- (As Neon vector instructions are illegal including `movi v..`)
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
0 files changed, 0 insertions, 0 deletions